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.

[Note]

Note

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

libvdpau-va-gl Dependencies

Required

CMake-3.30.3, libvdpau-1.5, libva-2.22.0, and Mesa-24.2.2

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=$XORG_PREFIX .. &&
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=$XORG_PREFIX/lib32/pkgconfig \
cmake -D CMAKE_BUILD_TYPE=Release            \
      -D CMAKE_INSTALL_PREFIX=$XORG_PREFIX   \
      -D CMAKE_INSTALL_LIBDIR=lib32          \
      .. &&

make

Now, as the root user:

make DESTDIR=$PWD/DESTDIR install
cp -vr DESTDIR/$XORG_PREFIX/lib32/* $XORG_PREFIX/lib32
rm -rf DESTDIR
ldconfig

Configuration

To allow libvdpau to find libvdpau-va-gl, set an environment variable:

echo "export VDPAU_DRIVER=va_gl" >> ~/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