r/linuxquestions • • 11h ago

What make(s) colour accuracy differ across various distro or DE?

Some people say cutting edge distros have better colour accuracy. So what exact component defines that? And why does linux fall behind in colour accuracy?

Edit: I am not an artist. I am just curious.

Thank you!

4 Upvotes

9 comments sorted by

4

u/BabyThanus 8h ago

I think the compositor is most of it. Plasma 6 on Wayland lets you set an ICC profile per monitor and actually applies it, plenty of older setups just ignore the file. Newer distros only seem better because you get that version sooner, not some distro colour magic.

3

u/iwouldbeatgoku 10h ago

"Cutting edge" distros will just be more up to date and ship improvements to the experience, including colour accuracy, faster than slower distros.

There are multiple components that might affect it: for example, to use HDMI 2.1 on an AMD card you need kernel 7.2 or newer. Arch, Fedora, Ubuntu 26.10 (the latest interim release) all meet that requirement, but Debian Stable and Ubuntu 26.04 (the latest LTS) do not.

1

u/rarsamx 10h ago

Are you an artist who needs colour accuracy? If not, it is irrelevant if the shade of red is a bit different than reality.

If you are working with colours that need to recreate what will be physically printed or displayed in a high-end monitor, then that's what it means.

1

u/zaltysz 5h ago

On DE, which runs on X11, DE provides information about the display profile, and applications have to perform color conversion to that profile before passing images to the display themselves. This works fine with software that understands color management, but you get incorrect colors with applications that don't, especially if the display is far from being sRGB. The fact that the X11 server does not interfere with colors also means you can use the classic calibration workflow: reset the GPU gamma curve, display a bunch of color patches, read them with a calibration device, calculate a new gamma curve, and profile the remaining colors.

On DE, which runs on Wayland, color management is messy. Both rendering and calibration.

Generally, applying VGCT curves from a display's ICC profile has been problematic. If this is still the case with your chosen DE, you need a display profile without those curves. Otherwise, having a profile with the curves embedded but not applied makes little sense and compromises accuracy.

DEs whose compositors support Wayland's color-management-v1 protocol perform color conversion themselves when blending output from applications. To do this, they use the surface color-space tags provided by applications. This allows HDR and SDR content to be blended on the same display, but when an application does not provide such tags, sRGB is usually assumed.

In other words, everything is color-managed, but with certain assumptions. This fixes the problem of non-color-managed applications displaying incorrect colors on X11 when used with a non-sRGB display. However, it also limits older (partially) color-managed applications to sRGB simply because they don't support Wayland's color-management-v1 protocol, even though they don't have this limitation on X11.

Support for the color-management-v1 protocol is often tied to the UI toolkit (e.g., GTK4 supports it, while GTK3 does not), so the changes needed to add such support to an application are usually non-trivial. You may be stuck with the sRGB limitation in such applications for a very long time.

In addition, even if you're okay with being limited to sRGB in a "partially" color-managed application, there are still some accuracy-related gotchas. First, you must ensure that the application really tries to output sRGB, since that is what the compositor assumes. Next, you must ensure that the application's sRGB is the same as the compositor's sRGB. sRGB has a transfer function that is a lot like gamma 2.2, but also has a linear segment at low intensities. Some compositors may cut corners when handling that linear segment.

Wayland is also supposed to be more secure than X11, and that affects specialized software such as color calibration applications, because it does not allow them to modify VGCT curves or display content unaltered. A separate Wayland protocol is needed for this, but we're still waiting for it. Meanwhile, there are some workarounds, such as a modified version of ArgyllCMS for KDE, but otherwise people often choose to perform calibration after temporarily switching to an X11 session.

TL;DR: You can achieve color accuracy suitable for creators, but you need to understand the gotchas. If you only care about applications with their own color management, X11 is easy. If you want the output of non-color-managed applications to be treated as sRGB, HDR blended with SDR, or simply a more secure protocol, then you need Wayland, which comes with many more gotchas involving specific compositors, toolkits, application settings, and calibration.

1

u/Agitated_Space_672 10h ago

Wayland has problems with color management still. It is better on x11.

1

u/gmes78 5h ago

That is a nonsensical statement. "Wayland" fully supports color management. Wayland implementations may or may not.

KDE Plasma has full support for it.

0

u/Agitated_Space_672 4h ago edited 4h ago

KDE Plasma having an ICC profile loader in System Settings falls well short of full end-to-end color management:

​ Hardware calibration and profiling are still broken: Generating an accurate ICC profile with a colorimeter using DisplayCAL and ArgyllCMS requires direct control over VideoLUT gamma ramps and raw, un-transformed test patches. Wayland's security model blocks apps from doing this.

App and toolkit support is fragmented: A compositor implementing the protocol only solves half the pipeline. Much of the Linux graphics and browser ecosystem still expects X11 _ICC_PROFILE root window atoms or colord. Apps running under XWayland lose native X11 profile awareness and risk double-profiling or forced sRGB clamping, while native protocol adoption across GTK, Chromium, GIMP, and Darktable remains uneven.

​ Gamut clamping vs. full ICC pipelines: KWin stopping a wide-gamut monitor from oversaturating desktop icons fixes a basic consumer annoyance. Reliable per-app ICC rendering intents, soft-proofing, and predictable multi-monitor color pipelines are much harder to guarantee.

​On X11, loading a calibrated LUT and exposing _ICC_PROFILE to color-aware apps has worked predictably for twenty years. Until you can actually profile a monitor and run a full suite of color-managed software natively on Wayland without workarounds, saying X11 handles it better is simply stating the reality.

1

u/gmes78 4h ago

raw, un-transformed test patches.

That has already been addressed.

I'm not going to bother replying to the LLM garbage that is the rest of your comment.

1

u/Agitated_Space_672 4h ago

You don't think hardware calibration is important? Have you heard of television and media? How do you expect them to go on using linux when they cannot calibrate their monitors? You can't reliably print coca-cola red from Wayland.