Patches Posted For Supporting DRI3 With VA-API & VDPAU

Written by Michael Larabel in Mesa on 11 May 2016 at 11:25 AM EDT. 10 Comments
MESA
With perfect timing now that the Radeon DDX enables DRI3 by default, Leo Liu of AMD has posted patches for implementing DRI3 support within the VA-API and VDPAU Gallium3D components.

Up to now VA-API / VDPAU video playback has meant DRI2 even when DRI3 is turned on by your DDX driver, but now with these patches there is Direct Rendering Infrastructure 3 wired up for this video code in Gallium3D. Leo Liu explained:
This series implement DRI3 supports for VA-API and VDPAU. It implements supports for DRI3 Open, PixmapFromBuffer, BufferFromPixmap, and for PRESENT including PresentPixmap, PresentNotifyMSC, PresentIdleNotify, PresentConfigureNotify and PresentCompleteNotify.

It has been tested with player mpv and vlc with various clips from 480p to 4K with framerate from 24 to 60. Also includes window mode and fullscreen w/wo compositing manager. The test also includes VA-API glx extension.

There's still some future work like DRI_PRIME different GPU support to be added.
The patches for now are floating on the Mesa-dev list but hopefully these 14 patches will land in time for the Mesa 11.3/12.0 release due out in June.
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