mirror of https://github.com/mpv-player/mpv
clarify where to save configuration option and explain the option for driver name (thanks kushal)
parent
f3168b9ce4
commit
b8e7e046d0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue