x11 Prevents GZDoom From Launching

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Posts: 1
Joined: Thu Jun 16, 2022 3:39 pm
Graphics Processor: Intel with Vulkan/Metal Support

x11 Prevents GZDoom From Launching

Post by kaispishock »

I Am Running KDE Neon 5.25, With
Kernel Version: 5.13.0-51-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-3210M CPU @ 2.50GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Manufacturer: LENOVO
Product Name: 2325J67
System Version: ThinkPad X230

i tried everything i could, i updated, tried selecting a different IWAD, and no matter what it didn't work :(

I Ran it in a terminal and this is the output:

Code: Select all

GZDoom g4.8.0 - 2022-06-06 17:14:47 +0200 - SDL version
Compiled on Jun  7 2022

OS: KDE neon User - 5.25, Linux 5.13.0-51-generic on x86_64
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /opt/gzdoom/gzdoom.pk3, 668 lumps
 adding /opt/gzdoom/game_support.pk3, 2514 lumps
 adding ./DOOM.WAD, 2306 lumps
 adding /opt/gzdoom/game_widescreen_gfx.pk3, 214 lumps
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
  Opened device Built-in Audio Analog Stereo
  EFX enabled
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
  Family 6, Model 58, Stepping 9
  Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX F16C HyperThreading
V_Init: allocate screen.
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 201.39 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).==============================================================================.........]
AL lib: (EE) alc_cleanup: 1 device not closed
Posts: 3092
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: x11 Prevents GZDoom From Launching

Post by Blzut3 »

It's dying right at the point where it would initialize OpenGL or Vulkan. Try changing vid_preferbackend (try all values 0 through 3). For example:

Code: Select all

gzdoom +vid_preferbackend 0
If none of them work perhaps see if SDL's software render driver works with softpoly (backend 2).

Code: Select all

SDL_RENDER_DRIVER=software gzdoom +vid_preferbackend 2

Return to “Technical Issues”