I am trying to enable Hardware Acceleration. My goal is to set VDPAU driver set “nvidia”. I am following the Arch Wiki.
When I run
$ grep -iE 'vdpau | dri driver' /var/log/Xorg.0.log I can see that My VDPAU driver is set to va_gl. Which is for intel.
[ 9.047] (II) intel(0): [DRI2] DRI driver: i965 [ 9.047] (II) intel(0): [DRI2] VDPAU driver: va_gl
How ever I want to set VDPAU driver to nvidia. According to Arch Wiki to do that I have to add
VDPAU_DRIVER=nvidia in Environment variable. But I have no idea How to do that.
Also I have Hybrid system. So, NVIDIA PRIME is set to default. But Arch Wiki says I have to set Environment variable for Hybrid system to DRI_PRIME=1. Which I have no idea.
Can anyone help me?