problems with vdpau & mplayer [SOLVED]

Everything about X, Gnome, KDE, ... and everything running on it

problems with vdpau & mplayer [SOLVED]

Postby ufster » 2010-07-30 13:08

i get this error when i try to play videos with gnome mplayer using vdpau as the video output.
"Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory"

my mplayer was compiled using the latest snapshot from mplayer hq website with vdpau support. i used the nvidia way to install 256.35 drivers. libvdpau1 and libvdpau-dev (for mplayer compile purposes) packages are installed but since nvidia-vdpau-driver version for debian testing is at 195.36.24-4 and i presume it's version specific, i chose not to install this package.

does anybody have any suggestions as to what i should try and do to get vdapu working with gnome mplayer. my graphics card is a 8800gt with a quadro fx 3700 bios, vdpau with mplayer worked well with my previous testing installation.

note - it doesn't work with mplayer from console either, same error.
Last edited by ufster on 2010-07-31 01:25, edited 1 time in total.
ufster
 
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

Postby stevepusser » 2010-07-30 18:37

Looking inside that nvidia-vdpau-driver package, it appears it sets up the 'libvdpau_nvidia.so" symbolic link to the actual shared library provided by the Nvidia driver. Since there is no symlink, the vdpau output driver fails. I guess you installed the Nvidia driver in another manner...can you locate the actual driver file anywhere on your system? Maybe you can manually create the symlink.
Last edited by stevepusser on 2010-07-31 21:17, edited 1 time in total.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8223
Joined: 2009-10-06 05:53

Re: problems with vdpau & mplayer

Postby ufster » 2010-07-30 19:47

locate libdvdpau returns

Code: Select all
/usr/lib/libvdpau.so -> libvdpau.so.1.0.0
/usr/lib/libvdpau.so.1 -> libvdpau.so.256.35
/usr/lib/libvdpau.so.1.0.0
/usr/lib/libvdpau.so.256.35
/usr/lib/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.256.35
/usr/lib/vdpau/libvdpau_nvidia.so.256.35
/usr/lib/vdpau/libvdpau_trace.so.1 -> libvdpau_trace.so.1.0.0
/usr/lib/vdpau/libvdpau_trace.so.1.0.0
/usr/lib/vdpau/libvdpau_trace.so.256.35
/usr/lib32/libvdpau.so -> vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/libvdpau.so.1 -> vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/libvdpau.so.256.35
/usr/lib32/libvdpau_nvidia.so -> vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/libvdpau_trace.so -> vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/vdpau/libvdpau_nvidia.so.1 -> vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/vdpau/libvdpau_trace.so.1 -> vdpau/libvdpau_nvidia.so.256.35
/usr/lib32/vdpau/libvdpau_trace.so.256.35


i presume the actual shared library is /usr/lib/vdpau/libvdpau_nvidia.so.256.35, on the above list i marked the symlinks with a -> to their link targets
is this helpful ?
ufster
 
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

Postby craigevil » 2010-07-30 21:26

I have vdpau set in Mplayer and it works just fine.

apt-cache policy mplayer
mplayer:
Installed: 2:1.0~rc3+svn20100726-0.0
Candidate: 2:1.0~rc3+svn20100726-0.0

Graphics: Card nVidia G96 [GeForce 9400 GT] X.Org 1.7.7 Res: 1280x1024@50.0hz
GLX Renderer GeForce 9400 GT/PCI/SSE2 GLX Version 3.3.0 NVIDIA 256.35

locate vdpau
/usr/include/vdpau
/usr/include/vdpau/vdpau.h
/usr/include/vdpau/vdpau_x11.h
/usr/lib/libvdpau.so
/usr/lib/libvdpau.so.1
/usr/lib/libvdpau.so.256.35
/usr/lib/libvdpau_nvidia.so
/usr/lib/libvdpau_trace.so
/usr/lib/vdpau
/usr/lib/gstreamer-0.10/libgstvdpau.so
/usr/lib/vdpau/libvdpau_nvidia.so.1
/usr/lib/vdpau/libvdpau_nvidia.so.256.35
/usr/lib/vdpau/libvdpau_trace.so.1
/usr/lib/vdpau/libvdpau_trace.so.256.35
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: problems with vdpau & mplayer

Postby ufster » 2010-07-30 22:11

i realize my "libvdpau_nvidia.so" is for some reason placed in /usr/lib32 and not in /usr/lib ... do you have a suggestion as to why that might have happened or how i should go about tackling my vdpau issues based on that bit of information ?
ufster
 
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

Postby milomak » 2010-07-30 22:29

i found that my mplayer (sid) had issues some time back. I haven't tried to sort the issue out. There may be a conflict between packages. Maybe list

dpkg -l | grep nvidia
dpkg -l | grep vdpau
iMac - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop (64-bit) - Debian Sid, Win10,
Kodi Box - Debian Sid
milomak
 
Posts: 1639
Joined: 2009-06-09 22:20

Re: problems with vdpau & mplayer

Postby ufster » 2010-07-30 22:42

nothing for the nvidia... since i installed the drivers the "nvidia way" using the installer.

for vdpau
libvdpau-dev 0.4-5 Video Decode and Presentation API for Unix (development
libvdpau1 0.4-5 Video Decode and Presentation API for Unix (libraries)
ufster
 
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

Postby stevepusser » 2010-07-30 23:36

There's another libvdpau1 library available in Squeeze and Sid (backportable to Lenny with a bit of change to the build-depends), but I can't say if it's compatible with the way the nvidia driver was installed.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8223
Joined: 2009-10-06 05:53

Re: problems with vdpau & mplayer

Postby ufster » 2010-07-31 01:24

cd /usr/lib
sudo ln -s vdpau/libvdpau_nvidia.so.256.35 libvdpau_nvidia.so

solved my problem. simple solution that i overlooked for some reason...
now how do i prevent this post from wasting anybody else's time ?


edit: fixed the title, thanks for the help.
ufster
 
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

Postby pendrachken » 2010-07-31 19:37

ufster wrote:cd /usr/lib
sudo ln -s vdpau/libvdpau_nvidia.so.256.35 libvdpau_nvidia.so

solved my problem. simple solution that i overlooked for some reason...
now how do i prevent this post from wasting anybody else's time ?


edit: fixed the title, thanks for the help.


Just a heads up, you should really disable compositing in your xorg.conf ( or create a sparse one that just disables compositing ) if you use the vdpau output driver a lot. It will stop the flickery tearing on HD content for one thing and it will use less CPU for the other.
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P
pendrachken
 
Posts: 1250
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: problems with vdpau & mplayer [SOLVED]

Postby stevepusser » 2010-08-02 03:07

Has anyone else had trouble replaying some file extensions a second time in SMPlayer with the newest mplayers? Seems they switched to a new all-in one demuxer that causes this, so far I've fixed these extensions by editing ~/.mplayer/config and adding:


[extension.mkv]
demuxer=mkv

[extension.mov]
demuxer=mov

[extension.mp4]
demuxer=mov

[extension.ogv]
demuxer=ogg

to use the older demuxers.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.4, Pale Moon 27.3.0, Liquorix kernel 4.11-4, mpv 0.25.0, Kodi 17.1, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8223
Joined: 2009-10-06 05:53


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable