NVIDIA Contributes linux_dmabuf v4 Feedback Support To XWayland

Written by Michael Larabel in X.Org on 21 January 2023 at 09:00 AM EST. 57 Comments
NVIDIA engineer Austin Shafer has contributed linux_dmabuf v4 feedback protocol support for upstream XWayland. This is working towards allowing scan-out modifiers that a compositor advertises to be delivered to X11 applications under (X)Wayland.

At the end of 2021 the Wayland DMA-BUF feedback extension was introduced and now thanks to the work of NVIDIA this is wired up for XWayland. The "feedback" addition to the Linux DMA-BUF protocol is particularly useful for modern multi-GPU setups where needing to know about the GPU device in use by the compositor and the semantics around it such as if using the secondary GPU that DMA-BUF can still exchange buffers with the main GPU and in a compatible format.

In the time since this DMA-BUF feedback extension was added to Mesa and wired up elsewhere. The X.Org code meanwhile over the course of last year saw updates by Austin Shafer for DRI3 additions to let a client tell the server what DRM device is being used, so that the X.Org Server can make more informed decisions for what modifiers to return to the client. With those prerequisites out of the way, the XWayland support for linux_dmabuf v4 feedback was finally merged on Friday.

More details for those interested via this X.Org Server MR that will now be found in the next release of XWayland.
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