ZDoom / Raze

Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
680 stars 59 forks source link

[BUG] X connection error Raze and GZDoom in the last version of Manjaro #354

Closed orderorder closed 3 years ago

orderorder commented 3 years ago
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 212.25 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
X connection to :0 broken (explicit kill or server shutdown).

I try other launchers and games but seems a Gzdoom and Raze error.

arrowgent commented 3 years ago

what are some details?

version of raze (latest v1.0.3) version of manjaro? (lsb_release -a) kernel version (uname -a) cpu (lscpu|grep name) gpu & driver version (nvidia-smi)

glxinfo do you have opengl? vulkaninfo do you have vulkan?

Using video driver x11
Vulkan device: GeForce GTX 1070
Vulkan device type: discrete gpu
Vulkan version: 1.2.133 (api) 450.476.192 (driver)

suggest to me the very next section after that is requesting to access OPENGL (default) or VULKAN (custom setting) output

orderorder commented 3 years ago

Raze version: last version master branch

Manjaro version:

LSB Version:    n/a
Distributor ID: ManjaroLinux
Description:    Manjaro Linux
Release:        21.0.4
Codename:       Ornara

Kernel: Linux 5.10.34-1-MANJARO CPU: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G

Glxinfo:

OpenGL vendor string: AMD
OpenGL renderer string: AMD OLAND (DRM 2.50.0, 5.10.34-1-MANJARO, LLVM 11.1.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.0.3
OpenGL core profile shading language version string: 4.50

Seems to be something about this last version of Manjaro. Before the last updates it worked fine

alexey-lysiuk commented 3 years ago

"Last version master branch" is completely meaningless description. If you’re are using development version, post its commit hash.

Does Raze 1.0.3 work fine?

sinisterseed commented 3 years ago

Plus, the fact that it worked fine before the system update seems to point to a distro issue.

Does 1.0.3 still work for you?

orderorder commented 3 years ago

i have compiled raze again (development version commint d466ec0). I have noticed that it is randomly able to run some of the supported games, but on retry it shows the same error. Version 1.0.3 does not work, same error. I have tried the following launchers:

https://github.com/yquake2/yquake2 https://github.com/svkaiser/strife-ve https://github.com/JACoders/OpenJK

They work. Updates don't seem to have affected them. I'm going to keep trying things to see if I draw any conclusions.

Cacodemon345 commented 3 years ago

Did you experience this issue with other SDL2 games? Because this looks like a SDL2 bug.

sinisterseed commented 3 years ago

The other ports you tried also do not tell us much, one of them is even a Quake 2 port and the other is engine improvements for Jedi Academy plus the Strife remaster, while those are Build engine games.

Can you run other SDL2 based ports?

orderorder commented 3 years ago

Yes other SDL2 based port work. Do you want me to try a particular SDL2 port?

Cacodemon345 commented 3 years ago

What DE do you use?

orderorder commented 3 years ago

KDE

orderorder commented 3 years ago

as the gzdoom gives me the same problem I have tried the prboom-plus. But this one does work

Cacodemon345 commented 3 years ago

Try compiling and installing SDL2 from the main repo of it (don't use CMake for compiling) and see if it helps.

orderorder commented 3 years ago

I have compiled SDL2 but still the same error

orderorder commented 3 years ago

In another pc with the lastest version of Manjaro, Mesa Drivers and a RX580, Raze works well

Cacodemon345 commented 3 years ago

Looks like a hardware bug specific to your AMD APU system.

orderorder commented 3 years ago

I have been able to verify that it may be a problem with my configuration in KDE. Raze works fine in Enlightenment. On my other pc with the RX580 I use Gnome.

orderorder commented 3 years ago

This issue may have to be closed, since I can't find the fault and it may be a matter of my configuration. Can anyone confirm that the same thing happens with KDE?

sinisterseed commented 3 years ago

Well, considering the recent developments, there probably isn't much else to be gained from leaving this open, now that you've been able to connect this to an issue with your configuration.

Cacodemon345 commented 3 years ago

https://gitlab.freedesktop.org/mesa/mesa/-/issues/4763

Turns out it's a Mesa bug.