update article for the desktop case

Jagannathan Tiruvallur Eachambadi 2018-08-05 16:49:19 +02:00
parent 19dd4479b2
commit 9128300643
1 changed files with 2 additions and 2 deletions

@ -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.