You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expose EDID to allow sdr-native to work for correct DCI P3 Color (stops oversaturated displays) #547
On Gnome 50 inserting sdr-native on the line underneath in monitors.xml in .config folder allows the desktop to be displayed correctly in the P3 color space. This works on Intel Macbooks.
On Asahi Linux it does nothing. Presumably the EDID is not exposed correctly?
DCP automatically does colourspace conversion. The embedded displays have no EDIDs, so we force DCP to map the incoming framebuffers as sRGB on these displays, which should automatically DTRT. Are you noticing oversaturated colours on one of the laptops? We have tested this approach with a colourimeter and did not notice anything wrong with it.
Correct, you should not need to force any colourspace conversion or ICC profile use in userspace for sRGB framebuffers as DCP will do this for you in hardware automatically.
hi. according to a mutter dev "Since mutter produces sRGB output by default, the best [DCP colourspace conversion] could achieve is correct sRGB output, not correct display of colours outside of sRGB."
That is mostly correct. The DCP API allows us to tell it what colourspace the framebuffer to be displayed is in, which it will then map to the connected display's colourspace. Since the laptop screens do not have EDIDs, compositors (including mutter) will default to sRGB framebuffers. We tell DCP this, which makes it display the sRGB colourspace correctly on the DisplayP3 laptop screens.
Activity
chadmed commentedon Jul 22, 2026
DCP automatically does colourspace conversion. The embedded displays have no EDIDs, so we force DCP to map the incoming framebuffers as sRGB on these displays, which should automatically DTRT. Are you noticing oversaturated colours on one of the laptops? We have tested this approach with a colourimeter and did not notice anything wrong with it.
taprobane99 commentedon Jul 22, 2026
Do you mean that you already do something equivalent to this on Gnome:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/work_items/3742
So adding sdr-native into monitors.xml is unnecessary?
I think I notice oversaturation, but not completely sure.
chadmed commentedon Jul 22, 2026
Correct, you should not need to force any colourspace conversion or ICC profile use in userspace for sRGB framebuffers as DCP will do this for you in hardware automatically.
taprobane99 commentedon Jul 22, 2026
ok. i will close this then.
taprobane99 commentedon Jul 22, 2026
hi. according to a mutter dev "Since mutter produces sRGB output by default, the best [DCP colourspace conversion] could achieve is correct sRGB output, not correct display of colours outside of sRGB."
can you comment?
chadmed commentedon Jul 22, 2026
That is mostly correct. The DCP API allows us to tell it what colourspace the framebuffer to be displayed is in, which it will then map to the connected display's colourspace. Since the laptop screens do not have EDIDs, compositors (including mutter) will default to sRGB framebuffers. We tell DCP this, which makes it display the sRGB colourspace correctly on the DisplayP3 laptop screens.
chadmed commentedon Jul 31, 2026
I've closed this for now but we do plan on "faking" the EDIDs for the builtin panels eventually, as this will be required for some other features,