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.
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.
Libvdpau-va-gl Driver Download (HTTP): https://github.com/i-rinat/libvdpau-va-gl/archive/v0.4.0/libvdpau-va-gl-0.4.0.tar.gz
Libvdpau-va-gl Driver Download MD5 sum: 638244652a702d0262039890904f37ce
Libvdpau-va-gl Driver Download size: 120 KB
Estimated disk space required: 3.4 MB
Estimated build time: less than 0.1 SBU
CMake-3.27.8, libvdpau-1.5, and libva-2.20.0
Doxygen-1.9.8, Graphviz-9.0.0, and texlive-20230313 or install-tl-unx
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
sed -e '/#include <stdlib.h>/a #include <string>' ...: fix the build for the C++ Standard Library header changes in gcc-13.
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