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.

[注記]

注記

LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。

Package Information

libvdpau-va-gl Dependencies

Required

CMake-3.28.1, libvdpau-1.5, libva-2.20.0, and Mesa-23.3.1

Optional

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

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