From 9128300643b219f518b2757e7f03f301bc5a763e Mon Sep 17 00:00:00 2001 From: Jagannathan Tiruvallur Eachambadi Date: Sun, 5 Aug 2018 16:49:19 +0200 Subject: [PATCH] update article for the desktop case --- Hardware-decoding-on-Linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.