Crash with software renderer

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
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Crash with software renderer

Post by _mental_ »

GZDoom crashes when software renderer is used with Vulkan backend and the game enters the level right from the start (no matter TITLEMAP it is or +map command line switch).
Spoiler: Callstack
It crashes mRenderTarget.View is nullptr because there was no call to VkRenderState::SetRenderTarget() which assigns it.
I think that a call to VkPostprocess::SetActiveRenderTarget() is missing, probably it must be here.
dpJudas
 
 
Posts: 3040
Joined: Sat May 28, 2016 1:01 pm

Re: Crash with software renderer

Post by dpJudas »

Hmm yes, adding a call there should fix it. I wonder if that error is related to the vk_debug error I mentioned in the other thread.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Crash with software renderer

Post by _mental_ »

I'm not sure that these issues are related.
This one is about missing or improperly placed setup of render target.
Other one is something more hardware and/or OS specific. IIRC there was no such bug on Windows using Radeon Vega.
dpJudas
 
 
Posts: 3040
Joined: Sat May 28, 2016 1:01 pm

Re: Crash with software renderer

Post by dpJudas »

I pushed the fix we were talking about.
Post Reply

Return to “Closed Bugs [GZDoom]”