Bug 525650 - HDR + Wide Color Gamut cause a black screen on cold boot and resume from sleep
Summary: HDR + Wide Color Gamut cause a black screen on cold boot and resume from sleep
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (other bugs)
Version First Reported In: 6.7.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-09-13 16:43 UTC by joshuagawarecki
Modified: 2026-09-22 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
kscreen-doctor outpu (1.40 KB, application/octet-stream)
2026-09-13 16:43 UTC, joshuagawarecki
Details
dmesg DRM debug log when turning on HDR (424.09 KB, application/gzip)
2026-09-18 16:30 UTC, daigennki
Details
dmesg logs from cold boot (686.43 KB, text/plain)
2026-09-18 21:47 UTC, joshuagawarecki
Details
kwin logs from cold boot (1.07 KB, text/plain)
2026-09-18 21:47 UTC, joshuagawarecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joshuagawarecki 2026-09-13 16:43:37 UTC
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!
Comment 1 daigennki 2026-09-15 03:34:10 UTC
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.
Comment 2 Zamundaaa 2026-09-17 22:35:08 UTC
Please get a drm debug log of the problem: https://invent.kde.org/plasma/kwin/-/wikis/Debugging/Debugging-DRM-issues
Comment 3 daigennki 2026-09-18 04:18:30 UTC
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"
Comment 4 Zamundaaa 2026-09-18 14:31:22 UTC
> I removed repetitive and likely irrelevant messages
They're not irrelevant. Please attach the full log.
Comment 5 daigennki 2026-09-18 16:30:45 UTC
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?
Comment 6 joshuagawarecki 2026-09-18 21:47:18 UTC
Created attachment 196334 [details]
dmesg logs from cold boot
Comment 7 joshuagawarecki 2026-09-18 21:47:40 UTC
Created attachment 196335 [details]
kwin logs from cold boot
Comment 8 Clancy 2026-09-22 03:40:34 UTC
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
Comment 9 Clancy 2026-09-22 03:47:31 UTC
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.