The author begins by discussing color management in relation to HDR and Wayland. They mention that KWin now supports ICC profiles for adjusting colors on each screen, but applications are still limited to sRGB. They highlight the need for a color management protocol for Wayland native applications and mention an implementation in a KWin branch. They also mention Victoria Brekenfeld’s Vulkan layer for non-sRGB colorspaces. The author discusses limitations for Xwayland apps and the possibility of introducing an “API” for arbitrary primaries + sRGB EOTF. They then move on to discuss HDR settings in Plasma 6, including SDR brightness and SDR color intensity adjustments. The author mentions additional hidden settings to override bad brightness metadata and the use of gamma 2.2 for sRGB applications. They then introduce HDR support for games through a small Wayland protocol developed by Joshua Ashton from Valve and themselves. They explain the steps to enable HDR for gamescope on the Steam Deck OLED. The author provides a list of HDR-capable games that work well with this implementation and mentions the possibility of using gamescope with SDL_VIDEODRIVER=wayland for Linux- and Wayland-native games. They also mention the ability to run other HDR-capable
https://zamundaaa.github.io/wayland/2023/12/18/update-on-hdr-and-colormanagement-in-plasma.html