GNOME Mutter Lands Support To Transform sRGB To HDR Outputs
([GNOME] 3 Hours Ago
Color State Transform)
- Reference: 0001476784
- News link: https://www.phoronix.com/news/Mutter-Color-State-Transform
- Source link:
Adding to the growing list of changes that is making September's [1]GNOME 47 desktop release quite a delight, the Mutter compositor has merged another great feature.
The work by Jonas Ådahl to implement color state transforms has now been merged for Mutter 47. This work is abot supporting the transforming of SDR/sRGB content to an HDR enabled output.
Ådahl explains in the seven month old [2]merge request :
"This branch implements support for transforming SDR (sRGB) to a HDR enabled output, while allowing HDR content to stay intact.
Roughly what it does is, when HDR mode is enabled via the experimental property, all the stage views that represents outputs where HDR actually managed to be enabled starts to composite in a linear variant of the target color space (which will be BT.2020) via an intermediate framebuffer. Each thing being painted should then transform its pixels to fit in this color space, using an EOTF, a color space mapping matrix and luminance adaptation."
That Mutter code was merged today along with [3]this merge to GNOME Shell for the color state plumbing on the shell side.
GNOME 47 is due out 18 September with many HDR/display and Wayland improvements among other enhancements that we have been covering on Phoronix the past several months. GNOME 47 in turn will be found in the likes of Ubuntu 24.10 and Fedora Workstation 41.
[1] https://www.phoronix.com/search/GNOME+47
[2] https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3433
[3] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3363
The work by Jonas Ådahl to implement color state transforms has now been merged for Mutter 47. This work is abot supporting the transforming of SDR/sRGB content to an HDR enabled output.
Ådahl explains in the seven month old [2]merge request :
"This branch implements support for transforming SDR (sRGB) to a HDR enabled output, while allowing HDR content to stay intact.
Roughly what it does is, when HDR mode is enabled via the experimental property, all the stage views that represents outputs where HDR actually managed to be enabled starts to composite in a linear variant of the target color space (which will be BT.2020) via an intermediate framebuffer. Each thing being painted should then transform its pixels to fit in this color space, using an EOTF, a color space mapping matrix and luminance adaptation."
That Mutter code was merged today along with [3]this merge to GNOME Shell for the color state plumbing on the shell side.
GNOME 47 is due out 18 September with many HDR/display and Wayland improvements among other enhancements that we have been covering on Phoronix the past several months. GNOME 47 in turn will be found in the likes of Ubuntu 24.10 and Fedora Workstation 41.
[1] https://www.phoronix.com/search/GNOME+47
[2] https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3433
[3] https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3363
Danny3