Created attachment 196090 [details] kscreen-doctor outpu DESCRIPTION HDR + Wide Color Gamut cause a black screen on cold boot and resume from sleep, but apply and persist correctly when enabled in a running session STEPS TO REPRODUCE 1. In System Settings → Display Configuration, enable HDR on the internal display. 2. Either reboot, or suspend and resume. OBSERVED RESULT Screen stays black. No automatic recovery observed on cold boot. Recovery requires a TTY and manually clearing highDynamicRange / wideColorGamut in ~/.config/kwinoutputconfig.json EXPECTED RESULT HDR/WCG apply the same way they do when toggled live SOFTWARE/OS VERSIONS Operating System (available in the Info Center app, or by running `kinfo` in a terminal window): Fedora Linux 44 (Kinoite) KDE Plasma Version: 6.7.5 KDE Frameworks Version: 6.30.0 Qt Version: 6.11.12 ADDITIONAL INFORMATION kwin: 6.7.5-1 plasma-workspace: 6.7.5-1 Graphics platform: Wayland GPU: Intel Lunar Lake integrated, xe driver Display: internal panel, EDID identifier SDC 16903, 2880×1800 @ 120Hz, OLED, HDR-capable Enabling HDR + WCG live, in an already-running session, applies immediately with no issue, and survives multiple subsequent logout/login cycles without failing — the problem is specific to a fresh initialization (cold boot, resume), not to KWin restarting. ICC profile assignment was tested independently and ruled out — the same failure occurs with iccProfilePath/hdrIccProfilePath blank. On multiple occasions, applying HDR live triggered an immediate black screen that self-reverted after KScreen's own confirm/revert timeout. That safety net does not appear to engage on the cold-boot or resume path. A recurring line appears on every boot, ~20s after driver init, possibly unrelated: xe 0000:00:02.0: [drm] *ERROR* Tile0: GT1: GSC proxy component not bound!
I'm experiencing a very similar issue on a ThinkPad X9-14 Gen 1 running Bazzite. It has a Lunar Lake SoC and a 2880x1800 @ 120Hz OLED HDR display, exactly the same as the hardware described in the above comment. However, in my case, HDR doesn't even apply correctly when enabled in a running session. Also, if I specify any ICC profile with the "ICC profile" Color profile option, I don't get a black screen, even though it unsurprisingly uses the wrong color gamut. If I *then* change Color profile to "Built-in", everything works fine the way it did until it broke recently. After a reboot though, it's back to the black screen again. Additionally, if I log in with HDR and "Built-in" Color profile already enabled (so I only see a black screen after logging in), let the screen turn off after 5 minutes (as per the Power Management setting), then use the keyboard or touchpad to turn it on again, the screen turns on just fine with the correct HDR output. Software versions are exactly the same as the above comment, aside from me using Bazzite. I do see one "GSC proxy component not bound" error in journalctl, but I too am not sure if it's related.
Please get a drm debug log of the problem: https://invent.kde.org/plasma/kwin/-/wikis/Debugging/Debugging-DRM-issues
Okay, here's a log from when I turned on HDR from Display Configuration until just after I let it automatically revert: https://gist.github.com/daigennki/6af921bd77d081d16ea2c2ba2d822ee8 The original log was way too big at over 5 MiB, so I removed repetitive and likely irrelevant messages by doing the following in order: - Only include lines containing the string "xe 0000:00:02.0" - Exclude lines containing the string "drm_ioctl" - Exclude lines containing the string "drm_atomic"
> I removed repetitive and likely irrelevant messages They're not irrelevant. Please attach the full log.
Created attachment 196329 [details] dmesg DRM debug log when turning on HDR (In reply to Zamundaaa from comment #4) > > I removed repetitive and likely irrelevant messages > They're not irrelevant. Please attach the full log. My apologies. Does this work then?
Created attachment 196334 [details] dmesg logs from cold boot
Created attachment 196335 [details] kwin logs from cold boot
Also having this issue on a Lenovo Yoga Lunar Lake system, interestingly if I log in or resume to a blank screen, simply changing display outputs by connecting and disconnecting an alternative screen fixes it, presumably by effectively disabling and re-enabling HDR
Correction, not *quite* the same, although seemingly related since turning off HDR does mitigate the problem. In my case trying to re-enable HDR immediately black screens again until the timeout ticks over and the change is reverted automatically. I hadn't tried playing with TTY switching properly before now, but for what it's worth merely switching to a TTY and switching straight back seems to bring the display back up without even needing to override the configuration. It seems to be an issue with initialisation that only applies in some circumstances.