Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

HDR support for KDE Plasma 6 seems to be shaping up nicely

By - | Views: 50,059

While it's far from finished, and still needs some manual effort to get properly working, HDR support for KDE Plasma 6 has made great progress. While HDR is already available in SteamOS on Steam Deck, getting it hooked up on traditional Linux desktops is still in-progress.

Developer Xaver Hugl wrote up a fresh blog post going over the current status for those interested. You're now able to enable HDR in Plasma settings that gives you new options, and it even includes a "SDR Color Intensity" slider inspired by the colour slider on Steam Deck that was introduced in SteamOS 3.5. The blog post goes over their work, along with all the Gamescope additions done by Joshua Ashton from Valve, to get it into a state where it's reasonably simple to actually get HDR working for games and other media now.

Plasma 6 Beta already has the work in KWin, and after a few additional steps noted in the blog post (like using Gamescope) you can "play most HDR capable games in the Wayland session" as long as you use Proton 8 or newer, with Hugl noting games they've tested working fine include Ori and the Will of the Wisps, Cyberpunk 2077, God of War, Doom Eternal, Jedi: Fallen Order and Quake II RTX. Spider-Man: Remastered and Spider-Man: Miles Morales also work, but don't look particularly good with HDR, which might not actually be a Linux problem specifically.

Ending the blog post to round it up:

Obviously there is still a lot to do. Color management is limited to either sRGB or full-blown rec.2020, you shouldn’t have to install stuff from Github yourself, and certainly shouldn’t have to mess around with the command line to play games and watch videos in HDR, HDR screenshots and HDR screen recording aren’t a thing yet, and many other small and big things need implementing or fixing. There’s a lot of work needed to make these things just work™ as they should outside of special cases like the gamescope embedded session.

Things are moving fast though, and I’m pretty happy with the progress we made so far.

Xaver Hugl
Article taken from GamingOnLinux.com.
23 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
10 comments

Calinou Dec 18, 2023
QuoteSpider-Man: Remastered and Spider-Man: Miles Morales also work, but don't look particularly good with HDR, which might not actually be a Linux problem specifically.

Spider-Man Remastered looks pretty good on my LG C2 42" in HDR on Windows 11 (after setting paperwhite to 200 nits in the in-game settings menu, and disabling dynamic tonemapping in the TV's settings to use HGIG instead).

I've also used the Windows 11 HDR calibration tool to further improve results (it's kind of a must-have for most displays, not sure if Linux has an equivalent yet). In general, if you want to do HDR on Windows, you really need Windows 11 to get good results – and an OLED or miniLED display, not edge-lit LCD.


Last edited by Calinou on 18 December 2023 at 1:16 pm UTC
Schattenspiegel Dec 18, 2023
Still funny that HDR is pushed by multiple parties without agreeing to one standard to make it a hassle free plug an play solution for the end-user first. But nice to see some advancement being made on Linux nonetheless. Keep up the good work!
Jarmer Dec 18, 2023
depending on the implementation, this might force me to finally upgrade to the ultrawide oled I've been eyeing for a while.
Shmerl Dec 18, 2023
Quoteplay most HDR capable games in the Wayland session

I think that still assumes using Gamescope. Hopefully once Wine Wayland gets in shape, it will be possible directly.
Calinou Dec 18, 2023
Quoting: SchattenspiegelStill funny that HDR is pushed by multiple parties without agreeing to one standard to make it a hassle free plug an play solution for the end-user first. But nice to see some advancement being made on Linux nonetheless. Keep up the good work!

A lot of the implementation mess is due to inconsistent settings in monitors/TVs, and the battle between Dolby Vision and HDR10+ on the movie side (with Dolby Vision largely dominating, despite not being royalty-free like HDR10+).

On the desktop side, it's not really about having parties agree to one standard, but games having HDR implementations that wildly in quality (with issues like raised/crushed blacks, lack of paperwhite setting, etc). There's also the issue with the Windows desktop looking bad on most displays with HDR enabled, but maybe Linux desktops will figure out a way around this like macOS does. In general, macOS probably has the best (i.e. most reliable) HDR implementation right now.

I expect this will even out over time (HDR debuted in 2016), but better start now so it's not delayed even further :)


Last edited by Calinou on 18 December 2023 at 8:46 pm UTC
Shmerl Dec 18, 2023
Quoting: CalinouThere's also the issue with the Windows desktop looking bad on most displays with HDR enabled, but maybe Linux desktops will figure out a way around this like macOS does. In general, macOS probably has the best (i.e. most reliable) HDR implementation right now.

Is it about fonts? It's a pretty messed up situation.
fenglengshun Dec 19, 2023
There is also an xwaylandvideobridge update, which makes it not start when already running in x11.
Calinou Dec 19, 2023
Quoting: ShmerlIs it about fonts? It's a pretty messed up situation.

I don't remember specific font rendering issues when using HDR on any OS (although ClearType/LCD subpixel optimization is undesired on many displays that excel at HDR, such as OLED panels). Thankfully, these are easy to turn off, though I wish this was done automatically when such a display is detected.


Last edited by Calinou on 19 December 2023 at 5:18 pm UTC
Shmerl Dec 19, 2023
Quoting: CalinouI don't remember specific font rendering issues when using HDR on any OS (although ClearType/LCD subpixel optimization is undesired on many displays that excel at HDR, such as OLED panels). Thankfully, these are easy to turn off, though I wish this was done automatically when such a display is detected.

That's what I meant. Subpixel layout algorithms for fonts aren't handling all these more weird layoyts of OLEDs, they were made for LCD. Other than that, not sure what you mean by desktops looking bad.


Last edited by Shmerl on 19 December 2023 at 5:51 pm UTC
Valve's people know what's good, LCD calibration, sRGB mapping, ultra customizable input, etc..

Cool.

Waiting Plasma 6 to arrive at my desktop.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.