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

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:gpu:va-api:override_the_driver_for_va-api [2023/06/06 13:06] 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 ======
  
-<WRAP info> +The driver for VA-API can be overridden by using the **LIBVA_DRIVER_NAME** environment variable.
-**NOTE:**  You can override the driver for VA-API by using the **LIBVA_DRIVER_NAME** environment variable.+
  
   * AMD:   * AMD:
Line 13: Line 12:
     * For NVIDIA VDPAU use vdpau.     * For NVIDIA VDPAU use vdpau.
     * For NVIDIA NVDEC use nvidia.     * For NVIDIA NVDEC use nvidia.
- 
-</WRAP> 
  
 ---- ----
Line 25: Line 22:
 </code> </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.1686056768.txt.gz · Last modified: 2023/06/06 13:06 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki