From b8e7e046d0ce2801a5c45095520032e0bff795fe Mon Sep 17 00:00:00 2001 From: Jagannathan Tiruvallur Eachambadi Date: Tue, 29 May 2018 22:41:52 +0200 Subject: [PATCH] clarify where to save configuration option and explain the option for driver name (thanks kushal) --- Hardware-decoding-on-Linux.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Hardware-decoding-on-Linux.md b/Hardware-decoding-on-Linux.md index 55b7016..7f4a589 100644 --- a/Hardware-decoding-on-Linux.md +++ b/Hardware-decoding-on-Linux.md @@ -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.