[vulkan-g4a33f4f85] vid_enablevulkan 1 start assertion error

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
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[vulkan-g4a33f4f85] vid_enablevulkan 1 start assertion error

Post by Edward-san »

I got this assertion failure when starting up gzdoom with vid_enablevulkan turned on and the GPU doesn't support Vulkan:

Code: Select all

gzdoom: /home/edward-san/zdoom/gzdoom/trunk/src/posix/sdl/sdlglvideo.cpp:120: void Priv::CreateWindow(uint32_t): Assertion `Priv::window == nullptr' failed.
My GPU is Intel Sandybridge Mobile Graphics (2nd Generation era). I'm not sure it's due to Vulkan backend. It seems as if the backend tries to rebuild the SDL_Window instance, when it was already done during the I_InitGraphics call in v_video.cpp line 686, while the crash happens in a subfunction of Video->SetResolution() in v_video.cpp line 688, two lines after I_InitGraphics. Backtrace is below:
Spoiler: Backtrace
[Edit] If the assertions are disabled (Release mode), two windows are created. The first one is empty, the second one shows the actual game.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [vulkan-g4a33f4f85] vid_enablevulkan 1 start assertion e

Post by _mental_ »

Should be fixed with 6b5f7b4. I don't have hardware to test it properly though.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [vulkan-g4a33f4f85] vid_enablevulkan 1 start assertion e

Post by Edward-san »

Confirmed the fix.
Post Reply

Return to “Closed Bugs [GZDoom]”