color is incorrect when using wayland.
Affected version
OS: fedora 36 (but it also happens for fedora 35)
Mutter: 42.0-3.fc36.x86_64
This issue appear under Wayland.
GPU: amdgpu
Display: wide gamut display (dell up2718q)
Bug summary
Color management under wayland looks incorrect.
Steps to reproduce
Log into gnome using wayland. Observe the colors looks extremely saturated and definitely outside of sRGB range, and is definitely not the correct color. However, if I do the following:
- log out of wayland session
- log into xorg session
- log out of xorg session
- log back into wayland session The color looks correct.
Both colord and gsd-color are correctly started when first logged in under wayland.
What happened
Mutter is unable to correctly render color correctly under wayland without the above procedure.
What did you expect to happen
Show correct color when first log into wayland (at least within sRGB space for now before the CM&HDR support).
Relevant logs, screenshots, screencasts etc.
The color is also off under Xorg with fedora (color is saturated, but not nearly as saturated as wayland.). However, I think that is an issue with fedora packaging (xrandr CTM is correctly set). Fedora incorrectly packages old xorg (1.20) but new xorg amdgpu driver (22.0.0). amdgpu probably somehow claims it supports xrandr CTM to mutter but unable to do so due to old xorg.