User Tools

Site Tools


ubuntu:gpu:vdpau:override_the_driver_for_vdpau

Ubuntu - GPU - VDPAU - Override the driver for VDPAU

The driver for VDPAU can be overridden by using the VDPAU_DRIVER environment variable.

The correct driver name depends on your setup:

  • For Intel graphics you need to set it to va_gl.
  • For the open source AMD driver set it to the proper driver version depending on your GPU.
  • For the open source Nouveau driver set it to nouveau.
  • For NVIDIA's proprietary version set it to nvidia.

Example

unset VDPAU_DRIVER
export VDPAU_DRIVER=radeonsi

NOTE:

  • The installed drivers are often found in /usr/lib/x86_64-linux-gnu/vdpau/ or /usr/lib/vdpau/.
    • They are used as /usr/lib/x86_64-linux-gnu/vdpau/libvdpau_${VDPAU_DRIVER}.so.
  • Some drivers are installed several times under different names for compatibility reasons.
    • You can see which by running:
      sha1sum /usr/lib/x86_64-linux-gnu/vdpau/*
  • For hybrid setups (both NVIDIA and AMD), it may be necessary to set the DRI_PRIME environment variable.
    • For more information see PRIME.

References

ubuntu/gpu/vdpau/override_the_driver_for_vdpau.txt · Last modified: 2023/06/16 16:47 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki