GTK4 Continues Improving Graphics Offload & DMA-BUF Integration

Written by Michael Larabel in GNOME on 18 April 2024 at 06:49 AM EDT. 7 Comments
GNOME
There is a new post on the GTK blog outlining some of the recent enhancements to this open-source toolkit for benefiting the graphics/GPU offloading capabilities.

There's been a lot of work on enhancing the graphics stack with GTK 4.14 and more work coming with GTK 4.16. The GStreamer media backend within GTK has been updated to request DMA-BUFs from the GStreamer multimedia framework. GTK 4.14 has the latest GStreamer integration bits to enhance the DMA-BUF handling.

GTK 4.14 also has the new GSK renderers that support DMA-BUF and GTK's new Vulkan renderer also produces DMA-BUFs when rendering to a texture. GTK 4.16 will allow the GtkGLArea widget to provide DMA-BUF textures too.

GTK logo


GTK has also enhanced its compositor interaction and expanded the means by which GTK is hopefully successful in the used application being able to benefit from direct scanout support, such as for media players. These direct scanout improvements will be part of GTK 4.16.

Clasen concluded the GTK.org blog post with:
GTK 4 continues to improve for efficient video playback and drives improvements in this area up and down the stack.
Related News
About The Author
Michael Larabel

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