Summary: | SDR color intensity / color profiles don't work on plasma 6.4 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | lojcsgit |
Component: | colour-management | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 6.4.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/cd4f1ebd3d316de965bdb303121639b3a90a4fdb | Version Fixed In: | 6.4.2 |
Sentry Crash Report: |
Description
lojcsgit
2025-06-22 14:20:03 UTC
Update on this, tried this on a samsung monitor and the settings do work there. The monitor where it doesn't work (but used to work) is a cooler master gp27q. Unfixed in 6.4.1 Please attach the output of > drm_info > kscreen-doctor -o and > cat /sys/class/drm/card1-HDMI-A-1/edid > edid.bin (connector name may need adjusting) while the monitor is connected https://files.catbox.moe/8rwwbe.txt https://files.catbox.moe/kjondr.txt https://files.catbox.moe/cq0zdd.bin I'm not sure how to upload files here directly Alright, it looks like KWin can't parse the display primaries:
> │ │ │ │ ├───Red: (0.6400, 0.3300)
> │ │ │ │ ├───Green: (0.3000, 0.6000)
> │ │ │ │ └───Blue: (0.1500, 0.0600)
that's exactly sRGB, which is the fallback for when no color info is present.
I put your EDID into an autotest, and it also gets sRGB as the result. It seems that it's just what we get from libdisplay-info
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7857 Git commit fb085d39eacb78b2bfc61bcc9e2976091f692c75 by Xaver Hugl. Committed on 02/07/2025 at 16:49. Pushed by zamundaaa into branch 'master'. utils/edid: also read edid colorimetry The libdisplay-info default colorimetry may be sRGB if the EDID indicates that the display is in sRGB mode by default. The EDID one might still be sRGB in that case too, but it seems like they differ in practice. M +2 -2 src/backends/drm/drm_output.cpp M +1 -1 src/backends/drm/drm_pipeline.cpp M +30 -5 src/utils/edid.cpp M +4 -2 src/utils/edid.h https://invent.kde.org/plasma/kwin/-/commit/fb085d39eacb78b2bfc61bcc9e2976091f692c75 Git commit cd4f1ebd3d316de965bdb303121639b3a90a4fdb by Xaver Hugl, on behalf of Xaver Hugl. Committed on 02/07/2025 at 23:44. Pushed by zamundaaa into branch 'Plasma/6.4'. utils/edid: also read edid colorimetry The libdisplay-info default colorimetry may be sRGB if the EDID indicates that the display is in sRGB mode by default. The EDID one might still be sRGB in that case too, but it seems like they differ in practice. (cherry picked from commit fb085d39eacb78b2bfc61bcc9e2976091f692c75) Co-authored-by: Xaver Hugl <xaver.hugl@kde.org> M +2 -2 src/backends/drm/drm_output.cpp M +1 -1 src/backends/drm/drm_pipeline.cpp M +30 -5 src/utils/edid.cpp M +4 -2 src/utils/edid.h https://invent.kde.org/plasma/kwin/-/commit/cd4f1ebd3d316de965bdb303121639b3a90a4fdb |