NVIDIA-VA-API-Driver-0.0.14

Introduction to NVIDIA-VA-API-Driver

The NVIDIA-VA-API-Driver package provides a VA-API driver for NVIDIA, using NVDEC under the hood without requiring the CUDA nvcc compiler. It doesn't provide encoding support, but provides decoding support for various codecs.

Important

For the lib32 installation instructions, they require new Meson cross files from MLFS, as --libdir=/usr/lib32 has been moved to the cross files and no longer appear in the instructions. Install the new cross files so that 32-bit libraries don't get installed in /usr/lib.

NVIDIA-VA-API-Driver Dependencies

Required
libdrm-2.4.131, libva-2.23.0, nv-codec-headers-13.0.19.0 (ffnvcodec), and libglvnd-1.7.0

Recommended
GStreamer-Suite-1.28.1 (Required for VP9 codec support, often used for streaming sites like YouTube and Twitch)

Optional
NVIDIA (NVIDIA-590.48.01 or NVIDIA-580.126.09) (the runfile's open kernel module files for header regeneration)

Installation of NVIDIA-VA-API-Driver

Install NVIDIA-VA-API-Driver by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release .. &&
ninja

Now, as the root user:

ninja install

Installation of lib32-NVIDIA-VA-API-Driver

Install lib32-NVIDIA-VA-API-Driver by running the following commands:

rm -rf * &&
meson setup --prefix=/usr            \
            --buildtype=release      \
            --cross-file=lib32       \
            .. &&

ninja

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install    &&
cp -Rv DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

Note

Inspect meson_options.txt or meson.options for a full list of options.

Contents

Installed Programs: None
Installed VA-API drivers: nvidia_drv_video (in /usr/lib/dri)
Installed Directories: None

Short Descriptions

nvidia_drv_video

is the NVIDIA VA-API driver using NVDEC under the hood