mirror of https://github.com/mpv-player/mpv
update article for the desktop case
parent
19dd4479b2
commit
9128300643
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue