Screen is black with r_multithreaded = 0

These bugs are specific to the SoftPoly backend

Moderator: GZDoom Developers

emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Screen is black with r_multithreaded = 0

Post by emile_b »

The screen is rendered black when multithreading is disabled.
I have had a look but could not work out what was going on.. the blend function is just writing black pixels to the buffer. Maybe some render state is setup in a different order when only using one thread?
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Screen is black with r_multithreaded = 0

Post by drfrag »

For me it's screwed with a lot of red, it didn't happen in 4.7.1.
But in software just the weapon is black, that already happened before.
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

Re: Screen is black with r_multithreaded = 0

Post by emile_b »

drfrag wrote:For me it's screwed with a lot of red, it didn't happen in 4.7.1.
But in software just the weapon is black, that already happened before.
I was just looking at the softpoly mode in which all the 2D stuff is black, is this what you mean? The other old software mode works for me.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: Screen is black with r_multithreaded = 0

Post by drfrag »

No, for me most of the world is red without multithreading. But if i launch the engine with 'r_multithreaded 0' it's fine. Until i switch it on and off again, then it's blue.
The black weapon thing happens in Carmack only. My default is multithreading enabled.
Locked

Return to “SoftPoly2 Bugs”