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.
This package is known to build and work properly using an LFS 12.2 platform.
Libvdpau-va-gl Driver Download (HTTP): https://github.com/i-rinat/libvdpau-va-gl/archive/v0.4.2/libvdpau-va-gl-0.4.2.tar.gz
Libvdpau-va-gl Driver Download MD5 sum: 8db21dcfd5cd14c6ec51b992e20369dc
Libvdpau-va-gl Driver Download size: 120 KB
Estimated disk space required: 4.9 MB
Estimated build time: less than 0.1 SBU (add 1.1 SBU for tests)
CMake-3.30.2, libvdpau-1.5, libva-2.22.0, and Mesa-24.1.5
Doxygen-1.12.0, Graphviz-12.1.0, and texlive-20240312 or install-tl-unx
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
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