I understand there are currently unresolved, but work-in-progress fixes to issues with Wayland (Wayland color management) but at least on GNOME with Wayland, there is color management with profiling and everything. And darktable runs in XWayland anyway, right? So it’s in X in Wayland. And there are ways of manually selecting a profile in darkable too.
I’ve been running in X for a while due to darktable and color management, but there are just other issues with X that Wayland solves. (Wayland has smoother performance, supports HiDPI, supports mixed DPI with monitors, fixes some security issues in X (where every app can interact with every other), and so on…)
Anyway, back to a theoretical possible way to have Wayland and color management in darktable.
darktable-cmstest version 3.1.0+2516~gcf9a63c47-dirty this executable was built with colord support enabled darktable itself was built with colord support enabled couldn't locate primary CRTC! XWAYLAND0 the X atom and colord returned the same profile X atom: _ICC_PROFILE (0 bytes) description: (none) colord: "(none)" description: (file not found) Better check your system setup - some monitors lacked a profile You may experience inconsistent color rendition between color managed applications
But I do have a color profile applied in Wayland in GNOME.
(I did have additional profiles at some point, but removed them when I made new ones. I didn’t skip from 2018 to 2020 without profiling. Or have such big gaps between those shown. )
So then I dug around a bit and found references in the documentation of darktable @ “Lighttable” in the darktable usermanual which mentions ICC profiles in
$HOME/.config/darktable/color/out — and that directory didn’t exist locally.
As colord is on my system and working in Wayland (but apparently doesn’t pass information through XWayland, if I’m understanding the output
darktable-cmstest properly)… I had the idea of doing a symlink from the ICC directory GNOME’s color settings use via colord.
ln -s ~/.local/share/icc ~/.config/darktable/color/out — and sure enough, after starting up darktable after that, I can see the profile ICCs in the little monitor icon in the lighttable. So I set it to the same ICC as my display.
Does this work? How can I check? Things “look” “correct”, but just looking “correct” defeats the purpose of profiling.
Can someone let me know if this is a way to use color profiling on Wayland, or if any step is wrong?
Or if it’s just currently impossible to use profiled colors on Wayland (and then I guess I have to go back to X and have to put up with my laptop being halfway broken when I want to do dual-monitor setups).