libvdpau-va-gl-0.4.0

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 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-va-gl Dependencies

Required

CMake-3.27.8, libvdpau-1.5, and libva-2.20.0

Optional

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

Runtime Dependency

Mesa-23.1.8

Installation of libvdpau-va-gl

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

sed -e '/#include <stdlib.h>/a #include <string>' -i src/api-device.cc &&

mkdir build &&
cd    build &&

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_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

Command Explanations

sed -e '/#include <stdlib.h>/a #include <string>' ...: fix the build for the C++ Standard Library header changes in gcc-13.

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