Hello,
I encountered this bug with 3 differents machines running ArchLinux, with Urho3D packaged for it or not («or not» => i’ve used the pre-compilated 64 binaries).
Since my first try with Urho3D ,some years ago, i see this bug.
How to see the bug ? Simple, just run an example (Lua or AngelScript) in fullscreen mode.
~/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/Urho3DPlayer 01_HelloWorld.lua
Results: the screen goes black (just see the mouse pointer, nothing else). Obviously, the sample covers the whole screen, as a high priority window. I cannot see other windows previously opened, and cannot open new windows on top of the UrhoPlayer one.
I have to switch to a virtual term for killing the player (
pkill -9 Urho3DPlayer
).
Results in the term, after Urho3DPlayer process has been killed:
[Sat Sep 30 16:30:59 2017] INFO: Opened log file /home/zakk/.local/share/urho3d/logs/01_HelloWorld.lua.log
[Sat Sep 30 16:30:59 2017] INFO: Created 1 worker thread
[Sat Sep 30 16:30:59 2017] INFO: Added resource path /home/zakk/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/…/share/Urho3D/Resources/Data/
[Sat Sep 30 16:30:59 2017] INFO: Added resource path /home/jzakk/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/…/share/Urho3D/Resources/CoreData/
[Sat Sep 30 16:30:59 2017] INFO: Added resource path /home/zakk/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/…/share/Urho3D/Resources/Autoload/LargeData/
[Sat Sep 30 16:30:59 2017] INFO: Set screen mode 1920x1080 fullscreen monitor 0
Killed
By the way, the resolution of my screen is 1920x1080, so it should be ok.
~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
1920x1080 60.05*+
1400x1050 59.98
(etc…)
In windowed mode, there is no problems.
~/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/Urho3DPlayer 01_HelloWorld.lua -w
Results: the sample runs fine, and i’ve got this in the term:
[Sat Sep 30 16:26:56 2017] INFO: Opened log file /home/zakk/.local/share/urho3d/logs/01_HelloWorld.lua.log
[Sat Sep 30 16:26:56 2017] INFO: Created 1 worker thread
[Sat Sep 30 16:26:56 2017] INFO: Added resource path /home/zakk/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/…/share/Urho3D/Resources/Data/
[Sat Sep 30 16:26:56 2017] INFO: Added resource path /home/zakk/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/…/share/Urho3D/Resources/CoreData/
[Sat Sep 30 16:26:56 2017] INFO: Added resource path /home/zakk/sources/Urho3D-1.7-Linux-64bit-SHARED/usr/local/bin/…/share/Urho3D/Resources/Autoload/LargeData/
[Sat Sep 30 16:26:56 2017] INFO: Set screen mode 1024x768 windowed monitor 0
[Sat Sep 30 16:26:56 2017] INFO: Initialized input
[Sat Sep 30 16:26:56 2017] INFO: Initialized user interface
[Sat Sep 30 16:26:56 2017] INFO: Initialized renderer
[Sat Sep 30 16:26:56 2017] ERROR: Could not initialize audio output
[Sat Sep 30 16:26:56 2017] INFO: Initialized engine
[Sat Sep 30 16:26:56 2017] INFO: Loaded Lua script 01_HelloWorld.lua
[Sat Sep 30 16:26:56 2017] INFO: Loaded Lua script LuaScripts/Utilities/Sample.lua
[Sat Sep 30 16:26:56 2017] INFO: Executed Lua script 01_HelloWorld.lua
Thank you for reading,
Zakk.