Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problems with vdpau & mplayer [SOLVED]

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
ufster
Posts: 12
Joined: 2005-09-22 11:38

problems with vdpau & mplayer [SOLVED]

#1 Post by ufster »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: problems with vdpau & mplayer

#2 Post by stevepusser »

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.
MX Linux packager and developer

ufster
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

#3 Post by ufster »

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 ?

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: problems with vdpau & mplayer

#4 Post by craigevil »

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
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

ufster
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

#5 Post by ufster »

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 ?

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: problems with vdpau & mplayer

#6 Post by milomak »

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
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

ufster
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

#7 Post by ufster »

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)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: problems with vdpau & mplayer

#8 Post by stevepusser »

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.
MX Linux packager and developer

ufster
Posts: 12
Joined: 2005-09-22 11:38

Re: problems with vdpau & mplayer

#9 Post by ufster »

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.

pendrachken
Posts: 1394
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: problems with vdpau & mplayer

#10 Post by pendrachken »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: problems with vdpau & mplayer [SOLVED]

#11 Post by stevepusser »

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.
MX Linux packager and developer

Post Reply