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.

KDE KWin may gain early HDR support for gaming

By -

While HDR support is still not really there yet on Linux, there's a lot of movement on it now (and plenty of it thanks to Valve and work on Gamescope) but it seems KDE KWin may gain early initial support for it.

Developer Xaver Hugl put in a Merge Request titled "Add support for playing HDR games" that notes "This uses a protocol that's cut down from the upstream proposal, so that we can merge it quickly and use it for more extensive testing, and for playing games, until the upstream protocol is merged".

Seems like a good idea to get an initial implementation in, so people can actually do some proper testing and gradually build up the support for it on Wayland. Since it's an open Merge Request, it's not yet officially part of KWin and likely needs more eyes on it to check it over but it does include instructions on how to test it for those of you who really want to get in early copied below:

To test this, install https://github.com/Zamundaaa/VK_hdr_layer/tree/work/frog-protocol and a git master build of gamescope. Then enable HDR on your monitor if you haven't already, for example like this

kscreen-doctor output.1.wcg.enable output.1.hdr.enable output.1.sdr-brightness.500

and then run gamescope with

ENABLE_HDR_WSI=1 gamescope --hdr-enabled --hdr-debug-force-output --steam -- env ENABLE_GAMESCOPE_WSI=1 DXVK_HDR=1 DISABLE_HDR_WSI=1 steam -bigpicture

Note that a bunch of games, like Doom Eternal, require an EDID to parse for HDR to work. That's not implemented yet outside of gamescope's embedded mode, so HDR will not work in these games yet until that's done. Cyberpunk 2077 for example does not need that though, so it can be played without issues:

Xaver Hugl
Article taken from GamingOnLinux.com.
Tags: KDE, Misc, Open Source
26 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.
See more from me
14 comments
Page: 1/2»
  Go to:

Termy Nov 1, 2023
Nice :D
Gamescope still doesn't work properly with flatpak'ed steam though, does it?
Purple Library Guy Nov 1, 2023
Great!!!

. . . What's HDR?
tmtvl Nov 1, 2023
Quoting: Purple Library GuyGreat!!!

. . . What's HDR?

The random graphical gimmick du jour. I believe it's meant to make things contrastier, which admittedly is a nice change from the brown-and-grey palette of yesteryear.
Shmerl Nov 1, 2023
I'm confused, this needs gamescope to be used? What about non geamescope use cases?


Last edited by Shmerl on 1 November 2023 at 5:30 pm UTC
F.Ultra Nov 1, 2023
View PC info
  • Supporter
Quoting: Purple Library GuyGreat!!!

. . . What's HDR?

Depending on display and the software used (since there are multiple standards) it raised the maximum luminance level from 100 nits up to 10,000 nits (with most HDR displays currently in the 1000 nits category). It also raised the bit depth of the colour values from 8-bits per channel to 10-bits per channel (some up to 16-bits per channel).

Quoting: ShmerlI'm confused, this needs gamescope to be used? What about non geamescope use cases?

I think the patch is in such early stage that it needs Gamescope right now for early adapters since the display server part of KWin isn't patched yet. So it is a way to do early tests of the protocol.


Last edited by F.Ultra on 1 November 2023 at 6:08 pm UTC
usrtrv Nov 1, 2023
Quoting: Purple Library GuyGreat!!!

. . . What's HDR?
In somewhat simplified terms and glossing over a lot of details:

SDR (Standard Dynamic Range), you can display a pixel on a screen but not how bright that pixel should be. You could increase the RGB values to make it brighter, but you would be modifying the color. You could increase the monitor's brightness, but now you're making every pixel brighter.

HDR (High Dynamic Range), you can display a pixel on a screen and decide how bright it should be independent of the color. There's metadata the monitor can communicate with software to tell it how bright individual pixels can be.
Purple Library Guy Nov 1, 2023
Quoting: usrtrv
Quoting: Purple Library GuyGreat!!!

. . . What's HDR?
In somewhat simplified terms and glossing over a lot of details:

SDR (Standard Dynamic Range), you can display a pixel on a screen but not how bright that pixel should be. You could increase the RGB values to make it brighter, but you would be modifying the color. You could increase the monitor's brightness, but now you're making every pixel brighter.

HDR (High Dynamic Range), you can display a pixel on a screen and decide how bright it should be independent of the color. There's metadata the monitor can communicate with software to tell it how bright individual pixels can be.
I think I understood that one!
Thanks for simplifying and glossing over the details!
Shmerl Nov 1, 2023
About HDR, see also: https://www.youtube.com/watch?v=nDnbWaIMJJA

In short it's not about making things brighter selectively, it means larger color space.


Last edited by Shmerl on 1 November 2023 at 8:57 pm UTC
Purple Library Guy Nov 1, 2023
Quoting: ShmerlAbout HDR, see also: https://www.youtube.com/watch?v=nDnbWaIMJJA

In short it's not about making things brighter selectively, it means larger color space.
That presentation looks like it's going to gloss over far too few details!
F.Ultra Nov 1, 2023
View PC info
  • Supporter
Quoting: ShmerlAbout HDR, see also: https://www.youtube.com/watch?v=nDnbWaIMJJA

In short it's not about making things brighter selectively, it means larger color space.

Larger color space is just one of the extra, allowing a larger dynamic range between the darkest and brightest items on the screen is the major one.
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.

Buy Games
Buy games with our affiliate / partner links: