Introduction to libva

The libva package contains a library which provides access to hardware accelerated video processing, using hardware to accelerate video processing in order to offload the central processing unit (CPU) to decode and encode compressed digital video. The VA API video decode/encode interface is platform and window system independent targeted at Direct Rendering Infrastructure (DRI) in the X Window System however it can potentially also be used with direct framebuffer and graphics sub-systems for video output. Accelerated processing includes support for video decoding, video encoding, subpicture blending, and rendering.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

libva Dependencies


Xorg build environment and libdrm-2.4.120


Recommended (Runtime)

The VA API driver suitable for the hardware in your system: intel-vaapi-driver-2.4.1 (for Intel GPUs provided with Haswell CPUs or earlier), intel-media-23.4.3 (for Intel GPUs provided with Broadwell CPUs or later), and Mesa-24.0.1 (providing the r600, radeonsi, and nouveau VA API drivers, for the ATI/AMD Radeon HD 2xxx GPUs and later, and supported NVIDIA GPUs; there is a circular dependency, read the Mesa page for information on how to break it)


Doxygen-1.10.0, Wayland-1.22.0, and intel-gpu-tools

Installation of libva

Install libva by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=$XORG_PREFIX --buildtype=release &&

This package does not come with a test suite.

Now, as the root user:

ninja install


Installed Programs: None
Installed Libraries:,,,, and
Installed Directory: $XORG_PREFIX/include/va

Short Descriptions

contains API functions which provide access to hardware accelerated video processing