Table of Contents

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:


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

https://wiki.archlinux.org/title/Hardware_video_acceleration#Configuring_VDPAU