diff --git a/Hardware-decoding-on-Linux.md b/Hardware-decoding-on-Linux.md index 3b704e8..ee8f286 100644 --- a/Hardware-decoding-on-Linux.md +++ b/Hardware-decoding-on-Linux.md @@ -7,11 +7,11 @@ With recent `mesa` and `ffmpeg`, both cards are supported by VA-API through `lib ## Intel You need to use `hwdec=vaapi` and other options can be configured according to your GPU. To make it permanent, add it to `~/.config/mpv/mpv.conf`. -## AMD with PRIME +## AMD Since dedicated graphics are going to be used, some environment variables are specified to instruct the driver to load specific modules. ```sh -DRI_PRIME=1 +DRI_PRIME=1 # for laptops with switchable graphics LIBVA_DRIVER_NAME=r600 # value depends on the driver, check /usr/lib/dri for possible options ``` In mpv, you specify `hwdec=vaapi` and `gpu-context=x11egl` for Xorg.