Patches Posted For Supporting DRI3 With VA-API & VDPAU
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:
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.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.
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.
10 Comments