Page 1 of 2

[GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 3:21
by William
Not sure if QZDoom is yet synced with the latest GZDoom, but the GZDoom renderer has a broken palette tonemap resulting in a black screen.
Running QZDoom q1.1pre-260. Latest GZDoom build works perfectly.

My graphics card is a Geforce GTX 1080 with driver 375.95

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 3:23
by Rachael
Works fine for me. What mods are you running?

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 4:27
by dpJudas
I'm a bit confused - The post says GZDoom, the forum you posted in is QZDoom. Then you both state that GZDoom is broken and working at the same time. :)

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 4:44
by Rachael
He's referring to the GZDoom renderer that is included in QZDoom - not GZDoom, itself.

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 5:05
by dpJudas
Ah, I see. :) Not able to reproduce it on my computer either.

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 8:36
by Nash
Can confirm OP's problem:

I am using QZDoom q1.1pre-260-gc37ce1f, OpenGL renderer, -noautoload, running stock Doom 2.

Intel i7 950
Windows 8.1
NVidia GTX 960 with driver v372.70

The PALETTE tonemap setting shows a black screen. All other tonemap settings are working as normal.

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 8:50
by Rachael
Can you post your config, please?

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 9:12
by dpJudas
Hmm, when did this start happening? I haven't made any changes to the GL part since the SSAO branch, which hasn't been touched for quite a while now. And afaik Graf hasn't been doing anything either as he's been busy with ZScript.

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 9:23
by Rachael
And I wonder why it works fine for 2 people and is bugged for 2 others. (Fun fact: Like most computer problems, the problem goes away when there's someone who can fix it. :P)

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 9:24
by dpJudas
Okay, partly found the cause. You were both using a newer driver than me. After upgrading to the latest WHQL driver the palette tonemap produces a black screen on my computer as well.

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 9:28
by Rachael
That doesn't explain why it works fine in GZDoom, though - shared code base, shared problems, no?

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 9:42
by dpJudas
It doesn't work in GZDoom. At least not the version I tried on my computer. :)

The bad news is that we can expect more complaining about this as more people upgrade their drivers.

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 9:43
by dpJudas
Okay, actually, it does work in GZDoom. I forgot my local version of GZDoom had the SSAO thing compiled in. That means it is triggered by the SSAO branch, somehow.

Edit: now I'm really puzzled. Switched to my GZDoom SSAO branch and here it doesn't do it! So it is only in QZDoom it creates a black screen!!

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 10:01
by Rachael
I'm willing to bet this is a simple shader error. Is it possible to debug the shaders themselves, directly? (I've never done that before, btw)

(Also - because compatibility profiles are goofy as fuck on some systems - try renaming qzdoom.exe to gzdoom.exe and see if you still get the error. :P)

Re: [GZDOOM renderer q1.1pre-260] Palette tonemap black screen

Posted: Sun Nov 27, 2016 10:07
by dpJudas
You can, but the tools are all quite terrible. There's Renderdoc, which allows you to capture a rendered frame. It is what I usually use, but for some reason GZDoom does something that makes it run extremely slow and there's glitches in the rendering itself (really reassuring!). Then there's Nvidia's tool, can't remember its name. Behind a registration wall and blue screened my computer the last time I tried to see if it was of any use.