Introduction to libvdpau

The libvdpau package contains a library which implements the VDPAU library.

VDPAU (Video Decode and Presentation API for Unix) is an open source library (libvdpau) and API originally designed by Nvidia for its GeForce 8 series and later GPU hardware targeted at the X Window System. This VDPAU API allows video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware.

Currently, the portions capable of being offloaded by VDPAU onto the GPU are motion compensation (mo comp), inverse discrete cosine transform (iDCT), VLD (variable-length decoding) and deblocking for MPEG-1, MPEG-2, MPEG-4 ASP (MPEG-4 Part 2), H.264/MPEG-4 AVC and VC-1, WMV3/WMV9 encoded videos. Which specific codecs of these that can be offloaded to the GPU depends on the version of the GPU hardware; specifically, to also decode MPEG-4 ASP (MPEG-4 Part 2), Xvid/OpenDivX (DivX 4), and DivX 5 formats, a GeForce 200M (2xxM) Series (the eleventh generation of Nvidia's GeForce graphics processing units) or newer GPU hardware is required.



Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

libvdpau Dependencies


Xorg Libraries

Recommended (Runtime)

The VDPAU driver suitable for the hardware in your system: libvdpau-va-gl-0.4.0 (for Intel GPUs) and Mesa-23.1.8 (providing the r600, radeonsi, and nouveau VDPAU drivers, for the ATI/AMD Radeon HD 2xxx GPUs and later, and supported NVIDIA GPUs; Mesa must be built after this package for these drivers)


Doxygen-1.9.8, Graphviz-9.0.0, and texlive-20230313 or install-tl-unx

Installation of libvdpau

Install libvdpau by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=$XORG_PREFIX .. &&

To test the results, issue: ninja test. There is only one test for this package, dlclose, and it is known to fail on some systems.

Now, as the root user:

ninja install

If doxygen is present at build time place the documentation in a versioned directory as the root user:

[ -e $XORG_PREFIX/share/doc/libvdpau ] && mv -v $XORG_PREFIX/share/doc/libvdpau{,1.5}


Installed Programs: None
Installed Library:
Installed Directories: $XORG_PREFIX/{include,lib}/vdpau

Short Descriptions

contains functions to offload portions of the video decoding process and video post-processing to the GPU video-hardware