Bug 505875 - ICC color profile is applied incorrectly, screen is tinted red
Summary: ICC color profile is applied incorrectly, screen is tinted red
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: colour-management (other bugs)
Version First Reported In: 6.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-20 22:50 UTC by notsomewwo
Modified: 2025-07-22 03:47 UTC (History)
1 user (show)

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


Attachments
Contains the ICC profile used and a relative comparison taken from a camera with white balance and exposure fixed. (2.35 MB, application/zip)
2025-06-20 22:54 UTC, notsomewwo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description notsomewwo 2025-06-20 22:50:20 UTC
SUMMARY

The ICC color profile I use for my laptop looks wrong on KDE Wayland when compared to KDE X11 (with xcalib) and GNOME Wayland. The screen looks to be tinted red and is most noticeable looking at black colors.

STEPS TO REPRODUCE

1. Launch a Plasma Wayland session.
2. Open Display Configuration.
3. Set Color profile to ICC profile with an user provided ICC profile.
4. Set Color accuracy to Prefer Accuracy.
5. Apply changes.

OBSERVED RESULT

The monitor is tinted red which is not very apparent on first glance but can be seen and becomes most noticeable on darker images, especially on pure black backgrounds.

EXPECTED RESULT

The monitor is calibrated fine like how it is on Plasma X11 (with xcalib) and Gnome Wayland. Pure blacks do not have a red tint.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor 1: Intel® UHD Graphics 630
Graphics Processor 2: NVIDIA GeForce GTX 1050 Ti
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Strix 17 GL703GE
System Version: 1.0

ADDITIONAL INFORMATION

1. I first noticed this issue when switching to the Plasma 6.0 release. Pre-6.0 Wayland with colord used to color manage properly.
2. Night light is disabled.
3. Red tint becomes less visible (but still exists) when lowering the color resolution to 6 bits per color.
4. Red tint becomes more noticeable when using prefer efficiency.
5. Color intensity works but doesn't remove the tint at any position.

EDID information

# card0-eDP-1 #######################
Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: CMN
    Model: 5959
    Made in: week 16 of 2016
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 8
    DisplayPort interface
    Maximum image size: 38 cm x 21 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4
    First detailed timing includes the native pixel format and preferred refresh rate
  Color Characteristics:
    Red  : 0.6777, 0.3085
    Green: 0.2636, 0.6777
    Blue : 0.1513, 0.0595
    White: 0.3134, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:  1920x1080  120.000000 Hz  16:9    135.840 kHz    305.640000 MHz (381 mm x 214 mm)
                 Hfront  100 Hsync  66 Hback  164 Hpol N
                 Vfront    6 Vsync  10 Vback   36 Vpol N
    Alphanumeric Data String: 'N173HHE-G32'
    Alphanumeric Data String: 'CMN'
    Alphanumeric Data String: 'N173HHE-G32'
Checksum: 0x5f

----------------

EDID conformity: PASS
Comment 1 notsomewwo 2025-06-20 22:54:10 UTC
Created attachment 182454 [details]
Contains the ICC profile used and a relative comparison taken from a camera with white balance and exposure fixed.
Comment 2 Zamundaaa 2025-06-21 11:30:24 UTC
Neither the X11 session nor Gnome Wayland actually apply the full ICC profile, it's up to apps to do that, and the very very vast majority just don't. The pre-6.0 state was *not* color managed, but now it is, and colors are expected to be noticeably different with a wide gamut display like yours.

Applying your ICC profile on my laptop, I see that it does cause a yellow-ish tint on my close-to-sRGB display, but looking at the VCGT in the profile, that seems to be about right.

It is odd though that you see a noticeable difference between the color accuracy settings, they should be *very* close. Do you have a colorimeter, to run a verification pass with DisplayCal and check what's actually happening? https://zamundaaa.github.io/wayland/2024/07/16/how-to-profile.html explains how to do that correctly on Wayland
Comment 3 notsomewwo 2025-06-22 02:19:27 UTC
(In reply to Zamundaaa from comment #2)
> Neither the X11 session nor Gnome Wayland actually apply the full ICC
> profile, it's up to apps to do that, and the very very vast majority just
> don't. The pre-6.0 state was *not* color managed, but now it is, and colors
> are expected to be noticeably different with a wide gamut display like yours.
> 
> Applying your ICC profile on my laptop, I see that it does cause a
> yellow-ish tint on my close-to-sRGB display, but looking at the VCGT in the
> profile, that seems to be about right.
> 
> It is odd though that you see a noticeable difference between the color
> accuracy settings, they should be *very* close. Do you have a colorimeter,
> to run a verification pass with DisplayCal and check what's actually
> happening?
> https://zamundaaa.github.io/wayland/2024/07/16/how-to-profile.html explains
> how to do that correctly on Wayland

I don't have a Colorimeter, I just used the color profile per-installed from the manufacturer, so I will understand if this can't be pursued any further and its just that there will be just differences.

As for color accuracy settings, I did try out a second monitor and swapping between color accuracies and couldn't really notice the same amount of difference as the laptop monitor. I still do notice it on my main monitor but even then its because I am staring into solid color blocks and constantly switching between them so its hard to say. I did try out some random color profiles and noticed some saturation differences but its not possible to absolutely say how *very* close they are.
Comment 4 Bug Janitor Service 2025-07-07 03:47:42 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 5 Bug Janitor Service 2025-07-22 03:47:11 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.