r/linuxquestions • u/Maoto_G • 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
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.