What are the current plans for Gnome's color management for Wayland?

Hello everyone!

Recently, I’ve come across this Mastodon page(Niels De Graef: "Continuing discussion on color management in Wayl…" - Mastodon) about Wayland color management. As someone who is not very well versed in tech, but is interested in creative content work, color managment has always been tricky on Linux.

I don’t fully understand the context, nor do I think I will ever fully understand. Still, from what little I know, know currently color management and clalibration isn’t really a thing in Gnome Wayland, and only somewhat works on X11. The included system color calibrator never worked, so I currently use a third-party program called DisplayCal on X11 for the calibration of my displays.

That said, I am very envious of my Wayland brothers… On my laptop, at least, Wayland has been a much better user experience I’ve been barred from it due to its inability to manage accurate colors.

With this recent mention popping up, does this mean color management tools will be implemented into Wayland Gnome?

Thank you for any help or answers you guys provide.

Best regards
Paul Kim

Yes.

I don’t know too much about color management, but there’s a huge amount of documentation here that might interest you.

1 Like

Thank you! I will be munching on that document to understand this better.

GNOME Shell does actually have everything needed to do colour calibration available on Wayland - the missing pieces are unfortunately in the calibration applications (tho there is some Wayland-specific trickiness). Many of the current issues are limitations of the ArgyllCMS tools, and because that’s mostly a single-person project and doesn’t have any public source code repository, it’s not really welcoming towards new contributors.

Some of the specific issues that I know of:

  • ArgyllCMS does not support reading or writing the VideoLUT (gamma ramps) on GNOME Wayland. It currently uses an X11 (Xrandr) interface for this, but Xwayland doesn’t pass that through to the Wayland compositor. Reading and writing the video LUT on GNOME Wayland requires using a DBus interface to talk to Mutter. This issue is also being tracked for DisplayCal-py3 but there’s no way for them to fix it.
  • Wayland windows can’t be positioned by applications. Monitor calibration software relies on being able to display a square of a colour being measured at a specific location on a specific monitor where the colour sensor will be placed. Either a special new (wayland or dbus) protocol is needed to display monitor calibration swatches, or the calibration software will have to fullscreen itself onto the monitor being measured.

Once those details are sorted out, everything else should “just work”; the colord interface to install the colour profiles works the same on Wayland as it did on X11, and GNOME Shell already handles loading calibration data from the configured profiles on Wayland.

For the time being, I’ve been temporarily switching to X11 to run DisplayCal, and then switching back to Wayland and manually re-adding/associating the icc profiles.

1 Like

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.