Bug 499901 - Enabling HDR causes washed out colors, especially in low brightness
Summary: Enabling HDR causes washed out colors, especially in low brightness
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-12 17:42 UTC by Bogomil Vasilev
Modified: 2025-04-03 03:46 UTC (History)
1 user (show)

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


Attachments
1-HDR-off (2.68 MB, image/jpeg)
2025-02-12 17:42 UTC, Bogomil Vasilev
Details
1-HDR-on (2.53 MB, image/jpeg)
2025-02-12 17:42 UTC, Bogomil Vasilev
Details
2-HDR-off (1.04 MB, image/jpeg)
2025-02-12 17:44 UTC, Bogomil Vasilev
Details
2-HDR-off (1.04 MB, image/jpeg)
2025-02-12 17:45 UTC, Bogomil Vasilev
Details
2-HDR-on (1.13 MB, image/jpeg)
2025-02-12 17:47 UTC, Bogomil Vasilev
Details
3-HDR-on (941.26 KB, image/jpeg)
2025-02-12 17:47 UTC, Bogomil Vasilev
Details
3-HDR-off (1013.62 KB, image/jpeg)
2025-02-12 17:48 UTC, Bogomil Vasilev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bogomil Vasilev 2025-02-12 17:42:27 UTC
Created attachment 178201 [details]
1-HDR-off

SUMMARY
Enabling HDR causes washed out colors, especially in low brightness

STEPS TO REPRODUCE
1. Enable HDR in Display Configuration

OBSERVED RESULT
Washed out (gray) colors, especially in low brightness.

EXPECTED RESULT
Normal colors.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 ร— AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 61.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E16
System Version: 1.0

ADDITIONAL INFORMATION
Monitor: Acer 277K

Output from `kscreen-doctor -o`
Output: 1 HDMI-A-1
        disabled
        connected
        priority 0
        HDMI
        Modes:  1:1920x1080@60*!  2:1920x1080@60  3:1920x1080@60  4:1920x1080@50  5:1920x1080@50  6:1920x1080@30  7:1920x1080@30  8:1920x1080@24  9:1920x1080@24  10:1680x1050@60  11:1600x900@60  12:1280x1024@60  13:1440x900@60  14:1280x800@60  15:1280x720@60  16:1280x720@60  17:1280x720@60  18:1280x720@50  19:1280x720@50  20:1280x720@30  21:1280x720@30  22:1280x720@24  23:1280x720@24  24:1024x768@60  25:800x600@60  26:720x576@50  27:720x576@50  28:720x480@60  29:720x480@60  30:720x480@60  31:720x480@60  32:640x480@60  33:640x480@60  34:640x480@60  35:1280x1024@60  36:1024x768@60  37:1280x800@60  38:1920x1080@60  39:1600x900@60  40:1368x768@60  41:1280x720@60 
        Geometry: 0,0 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: unknown
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: ICC
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
Output: 2 DP-1
        enabled
        connected
        priority 1
        DisplayPort
        Modes:  42:3840x2160@60!  43:3840x2160@60*  44:3840x2160@60  45:3840x2160@50  46:3840x2160@30  47:3840x2160@30  48:3840x2160@30  49:3840x2160@25  50:3840x2160@24  51:3840x2160@24  52:2560x1440@60  53:1920x1200@60  54:1920x1080@75  55:1920x1080@60  56:1920x1080@60  57:1920x1080@60  58:1920x1080@50  59:1600x1200@60  60:1680x1050@60  61:1280x1024@60  62:1440x900@60  63:1280x960@60  64:1280x800@60  65:1280x720@60  66:1280x720@60  67:1280x720@60  68:1280x720@50  69:1024x768@60  70:800x600@60  71:800x600@56  72:720x576@50  73:720x480@60  74:720x480@60  75:720x480@60  76:720x480@60  77:640x480@60  78:640x480@60  79:640x480@60  80:1600x1200@60  81:1280x1024@60  82:1024x768@60  83:2560x1600@60  84:1920x1200@60  85:3840x2160@60  86:3200x1800@60  87:2880x1620@60  88:2560x1440@60  89:1920x1080@60  90:1600x900@60  91:1368x768@60  92:1280x720@60 
        Geometry: 0,0 2560x1440
        Scale: 1.5
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: enabled
                SDR brightness: 400 nits
                SDR gamut wideness: 100%
                Peak brightness: 400 nits
                Max average brightness: 400 nits
                Min brightness: 0.2929 nits
        Wide Color Gamut: enabled
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 38% and dimming to 100%
Comment 1 Bogomil Vasilev 2025-02-12 17:42:56 UTC
Created attachment 178202 [details]
1-HDR-on
Comment 2 Bogomil Vasilev 2025-02-12 17:44:31 UTC
Created attachment 178204 [details]
2-HDR-off
Comment 3 Bogomil Vasilev 2025-02-12 17:45:04 UTC
Created attachment 178205 [details]
2-HDR-off
Comment 4 Bogomil Vasilev 2025-02-12 17:47:16 UTC
Created attachment 178206 [details]
2-HDR-on
Comment 5 Bogomil Vasilev 2025-02-12 17:47:52 UTC
Created attachment 178207 [details]
3-HDR-on
Comment 6 Bogomil Vasilev 2025-02-12 17:48:05 UTC
Created attachment 178208 [details]
3-HDR-off
Comment 7 Zamundaaa 2025-02-14 16:23:02 UTC
Is this problem new, or did you experience it in 6.2 as well?

If you set the color profile to "built-in" with HDR disabled, is the result similar to when HDR is enabled?

Does your monitor have any color profile settings itself? Some "helpfully" change the settings when in HDR mode.

Do you have a Windows or MacOS system to compare the image to? Sometimes displays just have a terrible HDR mode.

The black levels on your images look quite bad, could that just be the monitor driving the backlight at 100%? If you set the brightness to 100% in SDR mode, do the black levels look similar?
Comment 8 Bogomil Vasilev 2025-02-16 08:09:26 UTC
(In reply to Zamundaaa from comment #7)
> Is this problem new, or did you experience it in 6.2 as well?
No.  I've seen this since ever. I don't recall it being better in the past, but I don't have an exact starting point (Plasma version) to say when I started using HDR.

(In reply to Zamundaaa from comment #7)
> If you set the color profile to "built-in" with HDR disabled, is the result
> similar to when HDR is enabled?
Checkout these videos I made: https://cloud.smirky.net/s/LwpRjr4eCLRzrie
Unfortunately, you might have to download them, because Nextcloud's video player lacks proper browser playback in certain browsers.
First video is with locked exposure on my camera, second is with Auto. Let me know if you want to try something else, I'm open to suggestions.

(In reply to Zamundaaa from comment #7)
> Does your monitor have any color profile settings itself? Some "helpfully"
> change the settings when in HDR mode.
The monitor has HDR and non-HDR modes in its settings (called OSD menu). HDR is currently enabled and also set to Auto (as per a video I checked, it should be set to Auto to avoid problems). The brightness and contrast settings become grayed-out when HDR is on Auto.
In the OSD menu, Color section, there's an option "Color space", which is currently in HDR. If I change that to something else (for example sRGB), it becomes unbearable and way worse. It also disables HDR.

(In reply to Zamundaaa from comment #7)
> Do you have a Windows or MacOS system to compare the image to? Sometimes
> displays just have a terrible HDR mode.
Unfortunately, I don't have an available Windows PC/Laptop with a Display Port.
Comment 9 Bogomil Vasilev 2025-02-28 06:54:19 UTC
Reopening.
Comment 10 Zamundaaa 2025-03-04 14:01:58 UTC
While not as good as checking another OS entirely, we can at least test if it's KWin's fault or if either monitor or GPU driver are messing things up. If you start gamescope in embedded mode from a tty, like so:
> gamescope --hdr-enabled -W 3840 -H 2160 -e -- steam
if that looks the same as on the desktop, then there's likely nothing we can do to fix this.
Comment 11 Bug Janitor Service 2025-03-19 03:47:09 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2025-04-03 03:46:53 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.