I have a Primus laptop, and I cannot use VDPAU on Nvidia. I have installed Nvidia's proprietary driver from "Additional Drivers", but if I run "vainfo" in a terminal I get the error message:
imran@imran-PC:/usr/lib/x86_64-linux-gnu/dri$ vainfo
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
If I run this on Intel HD Graphics then the output is fine. I cannot play 4K videos in VLC media player or MPlayer using VDPAU.
Any suggestions?
prime-select query
terminal command.