ubuntu:gpu:va-api:override_the_driver_for_va-api
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:gpu:va-api:override_the_driver_for_va-api [2023/06/06 13:04] – created peter | ubuntu:gpu:va-api:override_the_driver_for_va-api [2023/06/07 18:40] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - GPU - VA-API - Override the driver for VA-API ====== | ====== 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. | ||
+ | |||
+ | * AMD: | ||
+ | * For AMDGPU driver use radeonsi. | ||
+ | * Intel graphics: | ||
+ | * For libva-intel-driver use i965. | ||
+ | * For intel-media-driver use iHD. | ||
+ | * NVIDIA: | ||
+ | * For Nouveau use nouveau. | ||
+ | * For NVIDIA VDPAU use vdpau. | ||
+ | * For NVIDIA NVDEC use nvidia. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | <code bash> | ||
+ | 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. | ||
+ | |||
+ | <code bash> | ||
+ | unset LIBVA_DRIVERS_PATH | ||
+ | export LIBVA_DRIVERS_PATH=/ | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE:** If that path does not allow this to work, then often the following path will: | ||
+ | |||
+ | <code bash> | ||
+ | unset LIBVA_DRIVERS_PATH | ||
+ | export LIBVA_DRIVERS_PATH=/ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Still not working ===== | ||
+ | |||
+ | Try, | ||
+ | |||
+ | <code bash> | ||
+ | export LIBVA_DRI3_DISABLE=1 | ||
+ | </ | ||
ubuntu/gpu/va-api/override_the_driver_for_va-api.1686056691.txt.gz · Last modified: 2023/06/06 13:04 by peter