News: 0001576120

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Mesa Drops VDPAU Video Acceleration In Favor Of VA-API

([Mesa] 6 Minutes Ago Removes VDPAU)


Mesa's Gallium3D video acceleration code has long supported both the [1]VA-API and [2]VDPAU interfaces for video acceleration. VA-API has enjoyed more widespread support among Linux applications and typically more robust while the Video Decode and Presentation API for Unix (VDPAU) was the interface originally started by NVIDIA for their official Linux driver. As of today, Mesa has now removed support for VDPAU acceleration.

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

An Hacker there was, one of the finest sort
Who controlled the system; graphics was his sport.
A manly man, to be a wizard able;
Many a protected file he had sitting on his table.
His console, when he typed, a man might hear
Clicking and feeping wind as clear,
Aye, and as loud as does the machine room bell
Where my lord Hacker was Prior of the cell.
The Rule of good St Savage or St Doeppnor
As old and strict he tended to ignore;
He let go by the things of yesterday
And took the modern world's more spacious way.
He did not rate that text as a plucked hen
Which says that Hackers are not holy men.
And that a hacker underworked is a mere
Fish out of water, flapping on the pier.
That is to say, a hacker out of his cloister.
That was a text he held not worth an oyster.
And I agreed and said his views were sound;
Was he to study till his head wend round
Poring over books in the cloisters? Must he toil
As Andy bade and till the very soil?
Was he to leave the world upon the shelf?
Let Andy have his labor to himself!
-- Chaucer
[well, almost. Ed.]