Mesa Drops VDPAU Video Acceleration In Favor Of VA-API
- Reference: 0001576120
- News link: https://www.phoronix.com/news/Mesa-Drops-VDPAU
- Source link:
AMD engineer David Rosca landed the video acceleration changes to Gallium3D today for removing VDPAU from the Mesa source tree. His reasonings for removing VDPAU are explained in [3]the commit :
"VDPAU only supports X11 and GL interop. There is no Wayland or Vulkan interop support. The API has limitations that makes it impossible to correctly decode certain streams. Application support is also very limited, and VAAPI is always a better choice over VDPAU."
[4]The merge lightens the Mesa codebase by nearly nine thousand lines of code in removing the VDPAU support.
Again, most Linux apps already support VA-API with VDPAU support being less widespread due to traditionally just being NVIDIA's video decode interface. NVIDIA for their part with their official Linux driver is also more focused these days on the NVENC/NVDEC APIs rather than VDPAU. Plus hopefully the future is with Vulkan Video anyhow, which is already supported by the Mesa Vulkan drivers too.
[1] https://www.phoronix.com/search/VA-API
[2] https://www.phoronix.com/search/VDPAU
[3] https://cgit.freedesktop.org/mesa/mesa/commit/?id=4b54277d2e9420e37cdce98b3a09e6cecf87300d
[4] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36632
phoronix