Git latest crashes on startup in Linux

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
JPL
 
 
Posts: 523
Joined: Mon Apr 09, 2012 12:27 pm
Contact:

Git latest crashes on startup in Linux

Post by JPL »

Totally clean config, compiled from source I get this error on launch:

Code: Select all

"Requested invalid render buffer sizes: screen = -2147483648x-2147483648"
Launch seems to get to the point of creating a window (I see a titlebar and empty frame) and hear a split second of intro MIDI before the crash happens.

This happens on both my Linux systems, one is Arch the other is ElementaryOS (Ubuntu 16.04 LTS basically). On the latter I get this error:

Code: Select all

gzdoom/src/v_video.cpp:1309: void V_UpdateModeSize(int, int): Assertion `CleanWidth >= 320` failed
As best as I can tell, the commit that introduced this crash happened in the last few days.
User avatar
JPL
 
 
Posts: 523
Joined: Mon Apr 09, 2012 12:27 pm
Contact:

Re: Git latest crashes on startup in Linux

Post by JPL »

Doing a little binary search, looks like it was introduced in this commit:

https://github.com/coelckers/gzdoom/com ... 8487657d2e
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Git latest crashes on startup in Linux

Post by Rachael »

First thing I need to know is what OpenGL version your system normally reports. I need to know this because I need to know if GZDoom is taking the legacy renderer path when you get this error.
User avatar
JPL
 
 
Posts: 523
Joined: Mon Apr 09, 2012 12:27 pm
Contact:

Re: Git latest crashes on startup in Linux

Post by JPL »

Rachael wrote:First thing I need to know is what OpenGL version your system normally reports. I need to know this because I need to know if GZDoom is taking the legacy renderer path when you get this error.
Desktop:

Code: Select all

Using video driver x11
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 660/PCIe/SSE2
GL_VERSION: 4.5.0 NVIDIA 381.22 (Compatibility profile)
GL_SHADING_LANGUAGE_VERSION: 4.50 NVIDIA
Max. texture size: 16384
Max. texture units: 32
Max. varying: 124
Max. combined shader storage blocks: 96
Max. vertex shader storage blocks: 16
Resolution: 1600 x 900
Laptop:

Code: Select all

Using video driver x11
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) Haswell Mobile 
GL_VERSION: 3.0 Mesa 12.0.6 (Compatibility profile)
GL_SHADING_LANGUAGE_VERSION: 1.30

Max. texture size: 8192
Max. texture units: 32
Max. varying: 128
Resolution: 1920 x 1080
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Git latest crashes on startup in Linux

Post by Rachael »

Okay, so it happens in both paths.
Talon1024
 
 
Posts: 374
Joined: Mon Jun 27, 2016 7:26 pm
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support
Contact:

Re: Git latest crashes on startup in Linux

Post by Talon1024 »

Same here, except I get screen = 0x0 instead. I can fix this problem by setting vid_scalemode to something other than 0 with a command line parameter, but then I have to set it back to 0 ingame.
dpJudas
 
 
Posts: 3037
Joined: Sat May 28, 2016 1:01 pm

Re: Git latest crashes on startup in Linux

Post by dpJudas »

Committed a fix for this.
Post Reply

Return to “Closed Bugs [GZDoom]”