I set gfx.wayland.hdr to true and tried opening this video. It says HDR around the cogwheel, but the colors are washed out. With this option disabled the video looks great.
I tried enabling other options, like native_srgb and compositor as suggested online, but no difference.


Damn, those environment variables worked. I have the game in GOG and use heroic. Previously, I just checked the boxes to enable wayland and hdr to get the hdr option to show up in game. After unchecking the boxes and adding those variables, HDR in cyberpunk works as it should and looks great. Thanks!
I also tried a new profile in FF145. Enabled gfx.wayland.hdr, restarted it and tested the linked video. It worked normally, so something in my profile is messing with the hdr setting in firefox. I’ll troubleshoot further.
I’m glad it worked :)
As for Firefox, a new profile was the first thing I tried, but I always get the same result… What did you change in the new profile to make it work?
Nothing other than enabling hdr. When I get a little more time, I’ll follow up with what the fix is for my existing profile in case someone comes across this thread in the future.
Does it work in chromium for you? I didn’t have to change any settings for it to work.
Edit: Turns out I enabled media.prefer-non-ffvpx while experimenting with some settings and forgot to change it back. Can confirm that is what was causing the colours to be washed out.
Strange that enabling hdr on a clean profile doesn’t work for me 🤔
Maybe it’s because I use Nvidia. I regret this choice every day.
Yep, it works in Chromium. And I checked
media.prefer-non-ffvpxjust in case.Ah yes nvidia. I’m sure it’ll get better with time. Only other thing I can suggest is trying a nightly version of firefox to see if it makes a difference.
Same problem 😢 Will play in MPV in the meantime. Luckily, there aren’t many HDR videos on YouTube.
BTW, if you aren’t on Nvidia, you can remove
ENABLE_HDR_WSI=1. It’s for https://github.com/Zamundaaa/VK_hdr_layer which is not needed if you have recent Mesa drivers.Thanks for the help!
Will do, I’m all AMD. I’m sure you won’t need the mpv workaround for too long.