19
submitted 4 weeks 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.

all 15 comments
sorted by: hot top controversial new old
[-] darcmage@lemmy.dbzer0.com 4 points 4 weeks ago* (last edited 4 weeks ago)

I use it with Arch & KDE. Just enabled HDR in display settings and did the calibration. Only issue I had was with cyberpunk, couldn't get hdr to work properly (seems to be a known issue). Works with other games I've tried, youtube hdr videos, and mpv hdr movies.

Edit: I tested your link (as well as other hdr youtube videos ) and it was washed out. I remember watching that exact video before to test my monitor. I downloaded firefox 144 and it worked properly so I think something in 145 broke youtube hdr in linux.

[-] Shatur@lemmy.ml 7 points 4 weeks 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 4 weeks 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 4 weeks 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 4 weeks ago* (last edited 4 weeks 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 4 weeks 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 3 weeks 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 3 weeks 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 3 weeks 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

21467 readers
236 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