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
    4
    ·
    edit-2
    1 day 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.mlOP
      link
      fedilink
      arrow-up
      6
      ·
      1 day 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
        link
        fedilink
        arrow-up
        2
        ·
        19 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
          ·
          18 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
            14 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
              ·
              13 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
                ·
                11 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.

                • Shatur@lemmy.mlOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  37 minutes 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!

  • bad_news
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    It works on Fedora 42 with KDE just out of the box with the GUI display setting for me, but I frequently need to rebalance the brightness with the wizard KDE provides for HDR brightness, it fucks up and gets very dark until I redo that every N times I turn the TV off and on again.

    • Shatur@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      I’m also on Plasma 6.5 and I set HDR to enabled… So you didn’t enable the toggle in about:config? In my case it shows the video on SDR.

      • bad_news
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Oh, I meant overall, not specifically in Firefox, I’ve only used video players directly for HDR, not web players (idk where I’d even find HDR webplayer content tbh)

        • Shatur@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          2 days ago

          Ah, got it! Yes, HDR works fine for me in MPV. Maybe I should install an extension to open videos in it 🤔