#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  libvdpau-1.5

- Next

  libvorbis-1.3.7

- Up
- Home

# 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.

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- 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)

### libvdpau-va-gl Dependencies

#### Required

CMake-3.31.5, libvdpau-1.5, libva-2.22.0, and Mesa-24.3.4

#### Optional

Doxygen-1.13.2, Graphviz-12.2.1, and texlive-20240312 or install-tl-unx

## 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

## 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

- Prev

  libvdpau-1.5

- Next

  libvorbis-1.3.7

- Up
- Home