Table of Contents

Ubuntu - GPU - VA-API - Override the driver for VA-API

The driver for VA-API can be overridden by using the LIBVA_DRIVER_NAME environment variable.


Example

unset LIBVA_DRIVER_NAME
export LIBVA_DRIVER_NAME=radeonsi

This next step is optional, and only needed if the vainfo command still does not work.

unset LIBVA_DRIVERS_PATH
export LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/

NOTE: If that path does not allow this to work, then often the following path will:

unset LIBVA_DRIVERS_PATH
export LIBVA_DRIVERS_PATH=/usr/lib/dri/

Still not working

Try,

export LIBVA_DRI3_DISABLE=1