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.

  • darcmage@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    23 hours 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.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      21 hours 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
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        17 hours 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.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          16 hours 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
            link
            fedilink
            arrow-up
            2
            ·
            14 hours 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.