Mesa Lands DMA-BUF Feedback Support For Vulkan On Wayland

Written by Michael Larabel in Mesa on 22 October 2022 at 09:00 AM EDT. 6 Comments
MESA
After being worked on the past year, Mesa 22.3 has landed support for Wayland's DMA-BUF Feedback extension for use by the Mesa Vulkan drivers with the Vulkan windowing system integration (WSI) code.

The DMA-BUF Feedback support was added to the Wayland Protocols set last year as an improvement particularly for multi-GPU systems. This Wayland protocol is for communicating information about the GPU device in use by the Wayland compositor and semantics around it such as for use by the secondary GPU with DMA-BUF for efficiently exchanging buffers with the main GPU in a compatible format. The DMA-BUF feedback object introduces the notion of the "main device" and "tranches" as a list of format/modifier pairs that are compatible with the target device. With a tranche it is also indicated whether the buffers allocated with that format/modifier pair can be used for direct scan-out purposes.

The GNOME 42 compositor added DMA-BUF feedback support, Swap / wlroots supports it, and so have other compositors.


Since Mesa 22.0 early this year there has been DMA-BUF feedback support within Mesa's EGL code. Now for Mesa 22.3 coming days ahead of that feature freeze, the year-old merge request adding DMA-BUF feedback support to Mesa's Vulkan windowing system integration (WSI) has been merged.
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