LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Can't play video with Nvidia/vdpau (https://www.linuxquestions.org/questions/slackware-14/cant-play-video-with-nvidia-vdpau-4175584901/)

coralfang 07-17-2016 03:23 PM

Can't play video with Nvidia/vdpau
 
Nvidia driver installed using their own installer, version 367.35.

When i try to play a video file or dvd, vlc will spam this in the terminal many times:
Code:

<snip>  ....

libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_38
Maximum number of clients reachedFloating point exception

Opening nvidia-settings, i notice this:
Code:

Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
So i install the package from slackbuilds, but after installing it, i cannot even run nvidia-settings as it spams the first error about floating point exception without starting up.

I have these relevant packages installed:
Code:

$ slackpkg search vdpau
  installed              alienbob                    libva-vdpau-driver-0.7.4-x86_64-2alien   
  installed              multilib                    libvdpau-compat32-1.1.1-x86_64-1compat32 
  installed              slackware64                  libvdpau-1.1.1-x86_64-1

Any ideas?

coralfang 07-17-2016 03:46 PM

I think i seem to have solve the problem, at least video is now playing properly, and vlc shows:
Code:

[00007fa52004def8] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  367.35  Mon Jul 11 22:43:02 PDT 2016 for hardware decoding.
I removed libva-vdpau-driver-0.7.4-x86_64-2alien and any slackbuilds related to vdpau.
Then had to uncomment in /etc/profile.d/vdpau.sh
Code:

# Use the vdpau backend of the nvidia binary driver
export VDPAU_DRIVER="nvidia"

So there's a fix for anyone else with the same issue.


All times are GMT -5. The time now is 02:59 AM.