Renewed Work Around GNOME 30-bit Deep Color Frame-Buffer Support

Written by Michael Larabel in GNOME on 9 August 2022 at 05:50 AM EDT. 33 Comments
GNOME --
Going back years has been an effort to get 30-bit deep color support on the GNOME desktop under Wayland. Ubuntu and others have been interested in getting 30-bit color support working nicely for the Linux desktop, but while that milestone hasn't yet been crossed, thankfully there is some renewed work in that direction.

Daniel Van Vugt of Canonical who is known for his work on upstream GNOME contributions the past number of years has spent some time recently revisiting the Wayland deep color frame-buffer support.

This merge request remains the center of attention on that front for not hard-coding the frame-buffer configuration to GBM's XRGB8888 but going with the first supported configuration.
In practice this means most systems should now get a 30-bit color mode set instead of 24-bit. This works on modern Intel systems (the 'iris' Mesa driver) for example. It doesn't work on Raspberry Pi FKMS though, which is one reason why we also need to check the pixel format support of the primary plane here...

Performance considerations

For most drivers we would expect no change in memory bandwidth requirements since both the old and new formats are 4 bytes per pixel. Compositing of native Wayland GL clients is made slightly more efficient using 30-bit because they already default to XR30 or AR30 formats when possible. Only legacy Xwayland clients and most SHM clients still using 24-bit color will see slightly slower compositing.

Over the past few weeks the work has been re-based and improvements like better checking around secondary GPU support. Daniel's recent work on the Xilinx GNOME support with upstream changes has also led to changes to this merge request / patches.


The merge request remains open and with the GNOME 43 feature freeze having started this past Saturday, it looks like we'll be waiting until at least GNOME 44 next year before potentially seeing this long-awaited GNOME Wayland 30-bit color support.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week