Bug 514957

Summary: HDR Tonemapping issues on "Prefer Color Accuracy" mode in Color Accuracy settings
Product: [Plasma] kwin Reporter: spyro3309
Component: colour-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: CachyOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description spyro3309 2026-01-23 04:08:18 UTC
On launching a game using PROTON_ENABLE_WAYLAND=1 and PROTON_ENABLE_HDR=1, HDR works as intended *unless* your KDE color settings are set to "Prefer Color Accuracy." When using "Prefer Efficiency," the game produces HDR content correctly to the screen, but upon entering a menu (I.E. Elden Ring inventory screen and settings menus), the game reverts the highlights to being clamped. Disabling Tonemapping using KWIN_DISABLE_TONEMAPPING=1 in environment settings fixes the issue by disabling the tonemapper entirely.


STEPS TO REPRODUCE
1. Open Display Configuration system settings
2. Set "Color Accuracy" to "Prefer Color Accuracy"
3. Open a game that supports HDR output (Elden Ring: Nightreign was a good testing example for me due to the giant Grace in the middle of the starting room being a large highlight that pushes peak brightness)

OBSERVED RESULT:
The highlights are washed out, not pushing peak brightness, as they do when using Efficiency mode.

EXPECTED RESULT
Highlights and other peak-brightness-pushing elements push the peak brightness set by the monitor's config regardless of color accuracy mode

SOFTWARE/OS VERSIONS:
CachyOS using KDE Plasma: 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Efficiency mode incorrectly raises black levels by a noticeable amount on my OLED monitor, regardless of brightness settings. The only fix to this for me is to set Prefer Color Accuracy as the setting for color accuracy, but doing so breaks the HDR output in-game. Additionally, using Efficiency and then trying to enable HDR through gamescope results in the same brightness issues, whereas PROTON_ENABLE_WAYLAND=1 and PROTON_ENABLE_HDR=1 work fine.
Comment 1 Zamundaaa 2026-01-23 13:40:24 UTC
Pixels being clipped to the configured output luminance is the intended appearance, not the other way around.

Note that the appearance of games will change in Plasma 6.6 either way, which should fix a few things. If something still looks wrong after running the HDR calibration again in Plasma 6.6, just open another bug report about it.

*** This bug has been marked as a duplicate of bug 513895 ***
Comment 2 spyro3309 2026-01-23 15:48:37 UTC
Sorry to ask a question, I'm just curious and not understanding the intentionality of it fully. It's intentional that in a case where the game is set to 1000 nits, on a monitor calibrated to just about 1030, that if the tonemapping on Kwin is enabled and the color set to Prefer Color Accuracy, it will dim the highlights to what looks like around 200-300 nits? To me it seemed like similar behavior to bug 509114 that I had opened a while ago. I also might have worded it a bit weirdly on my part due to me still being newer to bug reporting, so I apologize there. I *will* wait till 6.6 comes out and see if that resolves anything on my end though. Y'all are doing amazing work!