UPBGE / upbge

UPBGE, the best integrated game engine in Blender
https://upbge.org
Other
1.44k stars 180 forks source link

UPBGE crashes Linux when launched #1910

Open MirceaKitsune opened 1 month ago

MirceaKitsune commented 1 month ago

Starting the UPBGE binary on Linux causes the OS to instantly lock up and the computer requires a forced restart. During one instance I managed to see an infinite number of Blender windows appearing as fast as possible and filling up the screen, this might mean something is causing BGE to launch itself indefinitely until the system runs out of memory.

I duplicated the test on my mother's computer also running Manjaro / KDE Plasma (Wayland): Same issue, opening UPBGE instantly crashes the machine. I downloaded the 0.4.3 Alpha and that does it too alongside the 0.36.1 release. Normal Blender (installed via system packages) does not have the issue and I'm using it just fine, whatever is happening must be BGE specific. OS information as follows:

Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.5-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
AndreaMonzini commented 4 weeks ago

In my experience ( Fedora and RX 580 gpu ) i had flickering issues with Wayland solving forcing Xwayland :

WAYLAND_DISPLAY="" blender

https://docs.blender.org/manual/en/latest/getting_started/installing/linux_windowing_environment.html

MirceaKitsune commented 4 weeks ago

Thank you: I can confirm that when launched with WAYLAND_DISPLAY="" blender the issue no longer occurs for any UPBGE version. So this is Wayland specific, possibly exclusive to the KDE Plasma session. Vanilla Blender works fine without being forced through X11 though, BGE must be doing something different like possibly using compile flags that upset the compositor.