Bug 487979 - Enabling HDR causes entire display to have a green tint
Summary: Enabling HDR causes entire display to have a green tint
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (show other bugs)
Version: 6.0.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-03 17:49 UTC by Bart Ribbers
Modified: 2024-06-03 18:46 UTC (History)
1 user (show)

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


Attachments
Picture of a HDR-enabled TV showing a green tint (2.77 MB, image/jpeg)
2024-06-03 17:49 UTC, Bart Ribbers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Ribbers 2024-06-03 17:49:27 UTC
Created attachment 170103 [details]
Picture of a HDR-enabled TV showing a green tint

SUMMARY
My TV has HDR support so I enabled it in plasma settings, however doing that causes the complete display to show a green tint over everything.

STEPS TO REPRODUCE
1. Enable HDR

OBSERVED RESULT
The display is tinted entirely green

EXPECTED RESULT
The display to show as normal until HDR content is being shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alpine Linux edge
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.6.3
Comment 1 Bart Ribbers 2024-06-03 17:51:01 UTC
Ah forgot to enable but obviously relevant, the GPU is an AMD GPU, RX580, using Mesa 24.1.0
Comment 2 Zamundaaa 2024-06-03 18:22:35 UTC
That looks like it's reinterpreting YUV as RGB. What kernel version is that on?
Comment 3 Bart Ribbers 2024-06-03 18:23:07 UTC
6.6.32, latest LTS.
Comment 4 Zamundaaa 2024-06-03 18:46:24 UTC
hmm, should be new enough for things to work correctly with HDMI. Most testing so far has been on RDNA2 or newer though, it's possible there's a bug with the rx 500 series.
I recommend looking for a bug report about this at https://gitlab.freedesktop.org/drm/amd/-/issues and creating one if none exists, once Freedesktop Gitlab is up again