NVIDIA / Q2RTX

NVIDIA’s implementation of RTX ray-tracing in Quake II
Other
1.21k stars 180 forks source link

"Pitch black" rendering #348

Open pppbb opened 8 months ago

pppbb commented 8 months ago

In the latest git the scenery is so dark that only hud is visible. Can not change contrast (0%).

res2k commented 8 months ago

Works for me!

That said, you need to provide more information. For example, if you say this happens with latest git, what is the last commit that worked? If you can't change the contrast in the UI, did you try changing it in the console?

pppbb commented 8 months ago

update: problems only with SDL_VIDEODRIVER=wayland

res2k commented 8 months ago

Trying with wayland, I can see the image is noticeably darker (looks like a color space issue - color values are not interpreted as sRGB, as they should), but I wouldn't call it "pitch black". I'm not sure entirely what's going on; I believe the framebuffer setup used to work (see other wayland-related discussions here), but otoh, some suspicious validation issues relating to the framebuffer format are reported. Maybe fixing them would also fix the color space issues.

For the time being, if you can use an SDL video driver other than wayland, this may work better.

pppbb commented 8 months ago

Trying with wayland, I can see the image is noticeably darker (looks like a color space issue - color values are not interpreted as sRGB, as they should), but I wouldn't call it "pitch black".

For me it is best observed running demo demo1

res2k commented 8 months ago

The issues I could reproduce went away after a software update (essentially, Fedora 38 to 39), so this may actually be something that doesn't need fixing in Q2RTX (or may not even be fixable there).