clarify where to save configuration option and explain the option for driver name (thanks kushal)

Jagannathan Tiruvallur Eachambadi 2018-05-29 22:41:52 +02:00
parent f3168b9ce4
commit b8e7e046d0
1 changed files with 3 additions and 3 deletions

@ -5,13 +5,13 @@ With recent `mesa` and `ffmpeg`, both cards are supported by VA-API through `lib
3. `libvdpau-va-gl`
## Intel
You need to set `hwdec=vaapi` and other options can be configured according to your GPU.
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
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
LIBVA_DRIVER_NAME=r600
LIBVA_DRIVER_NAME=r600 # value depends on the driver, check /usr/lib/dri for possible options
```
In mpv, you specific `hwdec=vaapi` and `gpu-context=x11egl` for Xorg.
In mpv, you specify `hwdec=vaapi` and `gpu-context=x11egl` for Xorg.