The NVIDIA-VA-API-Driver package provides a VA-API driver for NVIDIA-580.105.08, using NVDEC under the hood without requiring the CUDA nvcc compiler. It doesn't provide encoding support, but provides decoding support for various codecs. If you are not using NVIDIA-580.105.08, skip this package.
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
Install lib32-NVIDIA-VA-API-Driver by running the following commands:
rm -rf * &&
CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
meson setup --prefix=/usr \
--libdir=/usr/lib32 \
--buildtype=release \
.. &&
ninja
Now, as the root user:
DESTDIR=$PWD/DESTDIR ninja install && cp -Rv DESTDIR/usr/lib32/* /usr/lib32 && rm -rf DESTDIR && ldconfig
Inspect meson_options.txt or
meson.options for a full list of
options.