User Tools

Site Tools


ubuntu:gpu:va-api:override_the_driver_for_va-api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:gpu:va-api:override_the_driver_for_va-api [2023/06/06 13:04] – created peterubuntu: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
 +</code>
 +
 +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=/usr/lib/x86_64-linux-gnu/dri/
 +</code>
 +
 +<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=/usr/lib/dri/
 +</code>
 +
 +</WRAP>
 +
 +----
 +
 +===== Still not working =====
 +
 +Try, 
 +
 +<code bash>
 +export LIBVA_DRI3_DISABLE=1
 +</code>
  
ubuntu/gpu/va-api/override_the_driver_for_va-api.1686056691.txt.gz · Last modified: 2023/06/06 13:04 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki