Bug 482759

Summary: HDR checkbox is not visible in display configuration
Product: [Plasma] KScreen Reporter: v.mladenov
Component: commonAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate, xaver.hugl
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description v.mladenov 2024-03-07 18:39:58 UTC
SUMMARY
HDR check box is not visible for my monitor. During the development of Plasma 6 I tried it few times using live USB dongles and the HDR checkbox was visible in the display configuration. Now decided to upgrade my system  to Fedora 40 and the HDR checkbox is not visible. 
If I use the CLI `kscreen-doctor output.DP-1.hdr.enable`  it works and I can enable and disable the HDR. 


STEPS TO REPRODUCE
1. Open display configuration
2. Click on HDR enabled monitor
3. HDR checkbox should be visible 

OBSERVED RESULT
HDR check box is not visible

EXPECTED RESULT
HDR check box should be visible for the HDR enabled monitors.

SOFTWARE/OS VERSIONS
Linux: Fedora 40 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Display: Wayland
Graphics: Intel
Monitor: Benq PD3205UA
Comment 1 Nate Graham 2024-03-07 22:31:09 UTC
Unfortunately HDR is intentionally disabled on Intel right now due to driver bugs.

Maybe we should make this clean in the UI so people don't get confused and submit bug reports... what do you think, Xaver?
Comment 2 Zamundaaa 2024-03-08 01:54:57 UTC
I don't know any (good) way to detect this in KScreen, wide color gamut is disabled in KWin (because that's what's broken for external displays) and there's no outward communication about it - it was only meant be a quick hack until Intel fixes their driver.
If it's still broken when 6.1 comes around, we could maybe show the option with a warning about it potentially not showing correct colors instead.

We could also (in 6.0.2) show the HDR checkbox even when wide color gamut isn't available, and only toggle HDR when that's the case. I chose to hide the option in that case because of broken displays that only enable "HDR mode" when both HDR and WCG are active though, so it could introduce other issues... but it should at least affect fewer people.