libvdpau-va-gl-0.4.2

Introduction to libvdpau-va-gl

The libvdpau-va-gl package contains a library which implements the VDPAU library. Libvdpau_va_gl uses OpenGL under the hood to accelerate drawing and scaling and the VA-API (if available) to accelerate video decoding. For now VA-API is available on some Intel chips, and on some AMD video adapters with the help of the libvdpau driver.

libvdpau-va-gl Dependencies

Required

CMake-3.31.0, libvdpau-1.5, libva-2.22.0, and Mesa-24.2.7

Installation of libvdpau-va-gl

Install libvdpau-va-gl by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_BUILD_TYPE=Release  \
      -D CMAKE_INSTALL_PREFIX=/usr \
      .. &&

make

To test the results, issue: make check. The tests must be run from an Xorg environment.

Now, as the root user:

make install

32-bit Installation of libvdpau-va-gl

First clean the build directory:

rm -rf *

Install lib32-libvdpau-va-gl by running the following commands:

CC="gcc -m32" CXX="g++ -m32"                 \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig         \
cmake -D CMAKE_BUILD_TYPE=Release            \
      -D CMAKE_INSTALL_PREFIX=/usr           \
      .. &&

make

Now, as the root user:

make DESTDIR=$PWD/DESTDIR install                    &&
cp -vr DESTDIR/usr/lib/* /usr/lib32                  &&
rm -rf DESTDIR                                       &&
ldconfig

Configuration

To allow libvdpau to find libvdpau-va-gl, set an environment variable as the root user:

echo "export VDPAU_DRIVER=va_gl" >> /etc/profile.d/xorg.sh

Contents

Installed Programs: None
Installed Library: libvdpau_va_gl.so
Installed Directories: None

Short Descriptions

libvdpau_va_gl.so

contains functions to implement the OpenGL backend to the VDPAU (Video Decode and Presentation API for Unix) API