19
submitted 2 months ago by Shatur@lemmy.ml to c/firefox@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] Shatur@lemmy.ml 7 points 2 months ago

I just managed to get Cyberpunk with HDR working. I downloaded Protonup-Qt, installed GE-Proton10-25, selected it in Steam and added PROTON_ENABLE_WAYLAND=1 PROTON_ENABLE_HDR=1 ENABLE_HDR_WSI=1

I downloaded firefox 144

Hmm... It's still washed out for me If I downgrade it.

[-] darcmage@lemmy.dbzer0.com 2 points 2 months ago

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.

[-] Shatur@lemmy.ml 2 points 2 months ago

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?

[-] darcmage@lemmy.dbzer0.com 2 points 2 months ago* (last edited 2 months ago)

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.

[-] Shatur@lemmy.ml 2 points 2 months ago

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-ffvpx just in case.

[-] darcmage@lemmy.dbzer0.com 2 points 2 months ago

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.

[-] Shatur@lemmy.ml 2 points 2 months ago

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!

[-] darcmage@lemmy.dbzer0.com 2 points 2 months ago

Will do, I'm all AMD. I'm sure you won't need the mpv workaround for too long.

this post was submitted on 18 Nov 2025
19 points (100.0% liked)

Firefox

22360 readers
26 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 6 years ago
MODERATORS