You are not logged in.

#1 2010-01-14 03:14:17

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

ldconfig error: libvdpau [SOLVED]

I'm getting this when ldconfig runs:

/sbin/ldconfig: libraries libvdpau.so.1.0.0 and libvdpau.so.195.30 in directory /usr/lib have same soname but different type.

It may have to do with my using the factory-provided driver installer package for nvidia rather than the Arch build.

At any rate, I'd very much like to resolve this possible conflict, even if it's not (yet) a showstopper.

At the same time, I'd sort of like to continue using the official nvidia installers, as I monitor their ftp site and try to install new drivers as soon as they appear.

Can I have my cake and eat it, too?

BTW, I did run across another thread which may be related to this problem, but I couldn't figure out how to apply that info to my problem. Maybe I'm dense. (In fact, I know I'm dense.)

Thanks.

Last edited by dhave (2010-01-14 04:07:08)


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#2 2010-01-14 03:46:23

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: ldconfig error: libvdpau [SOLVED]

Well, friends, I decided to go by the book and stop using beta drivers from nvidia, but rather go with the nvidia drivers from /extra. Now ldconfig runs nice and clean, and my conscience isn't bothering me so much, either.

Thanks.

Last edited by dhave (2010-01-14 03:51:33)


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#3 2010-01-14 13:58:03

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ldconfig error: libvdpau [SOLVED]

I have built ffmpeg and mplayer without "free" libvdpau.
1) breaks nvidia for no reason
2) it is not free as in relies on patentec codecs: mpeg-2 h264 vc-1
3) my card does nor support vdpau anyway
I do not understand why duplicate something only for the sake of duplicating as "free" libdvpau does not provide virtually anything that would not be provided by nvidia, only breaks stuff.

Offline

#4 2010-01-14 14:19:12

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ldconfig error: libvdpau [SOLVED]

broch wrote:

I have built ffmpeg and mplayer without "free" libvdpau.
I do not understand why duplicate something only for the sake of duplicating as "free" libdvpau does not provide virtually anything that would not be provided by nvidia, only breaks stuff.

i think you are not well informed. libvdpau is the library released by nvidia and can be used in the future by ati and intel as well.

@dhave the beta from aur should follow the PKGBUILD from the repos.

Last edited by wonder (2010-01-14 14:20:04)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-01-14 15:20:34

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ldconfig error: libvdpau [SOLVED]

wonder wrote:
broch wrote:

I have built ffmpeg and mplayer without "free" libvdpau.
I do not understand why duplicate something only for the sake of duplicating as "free" libdvpau does not provide virtually anything that would not be provided by nvidia, only breaks stuff.

i think you are not well informed. libvdpau is the library released by nvidia and can be used in the future by ati and intel as well.

@dhave the beta from aur should follow the PKGBUILD from the repos.

shrug: nvidia provides libdvpau, why do i need "free" extra package?
ffmpeg and mplayer requires libvpau from Arch repository ignoring the one provided by nvidia:
1)
locate libvdpau
/usr/lib/libvdpau.so
/usr/lib/libvdpau.so.1
/usr/lib/libvdpau.so.195.30
/usr/lib/libvdpau_nvidia.so
/usr/lib/libvdpau_trace.so
/usr/lib/vdpau/libvdpau_nvidia.so.1
/usr/lib/vdpau/libvdpau_nvidia.so.195.30
/usr/lib/vdpau/libvdpau_trace.so.1
/usr/lib/vdpau/libvdpau_trace.so.195.30

2) pacman -Q | grep libvdpau
none found
3) cd /var/abs/extra/ffmpeg
[/var/abs/extra/ffmpeg]$ makepkg
==> Making package: ffmpeg 20100108-2 i686 (Thu Jan 14 07:12:40 PST 2010)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
  -> libvdpau>=0.3
==> Checking Buildtime Dependencies...
==> ERROR: Could not resolve all dependencies.

same story with mplayer.

conclusions: ffmpeg and mplayer require libvdpau that is provided by arch, ignoring library that is installed by nvidia driver already.

neither ATI nor intel provide purevideo yet (Intel's VA-API is far from any real conclusion)

PKGBUILD for nvidia is flawed (for me at least) as it is qute inflexible (e.g. installing driver for multiple kernels at a time),, so Arch nvidia package is not an option for me.

Last edited by broch (2010-01-14 15:25:31)

Offline

#6 2010-01-14 16:39:13

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: ldconfig error: libvdpau [SOLVED]

wonder wrote:

@dhave the beta from aur should follow the PKGBUILD from the repos.

Thanks, wonder. When I decide I want to go with the beta driver again, I'll definitely use the AUR rather than going with the "official" installer.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#7 2010-01-14 16:45:12

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ldconfig error: libvdpau [SOLVED]

@broch the think is you are doing wrong.
1) first of all nvida-utils doesn't have to do anything with the kernel.
2)

/usr/lib/libvdpau.so
/usr/lib/libvdpau.so.1
/usr/lib/libvdpau.so.195.30
/usr/lib/libvdpau_nvidia.so
/usr/lib/libvdpau_trace.so

are leftovers or you are not using the package from extra for nvidia-utils(better sync your personal builds with extra).

3) use makepkg -s to get libvdpau (i suggest to read makepkg --help or the wiki about building packages)
4) nvidia doesn't provide the library anymore. http://www.nvnews.net/vbulletin/showthread.php?t=138880

5) proper should be:

pacman -Ql nvidia-utils | grep vdpau
nvidia-utils /usr/lib/vdpau/
nvidia-utils /usr/lib/vdpau/libvdpau_nvidia.so.1
nvidia-utils /usr/lib/vdpau/libvdpau_nvidia.so.190.53

pacman -Ql libvdpau
libvdpau /usr/
libvdpau /usr/include/
libvdpau /usr/include/vdpau/
libvdpau /usr/include/vdpau/vdpau.h
libvdpau /usr/include/vdpau/vdpau_x11.h
libvdpau /usr/lib/
libvdpau /usr/lib/libvdpau.so
libvdpau /usr/lib/libvdpau.so.1
libvdpau /usr/lib/libvdpau.so.1.0.0

libvdpau /usr/lib/pkgconfig/
libvdpau /usr/lib/pkgconfig/vdpau.pc
libvdpau /usr/lib/vdpau/
libvdpau /usr/lib/vdpau/libvdpau_trace.so
libvdpau /usr/lib/vdpau/libvdpau_trace.so.1
libvdpau /usr/lib/vdpau/libvdpau_trace.so.1.0.0

Last edited by wonder (2010-01-14 16:49:07)


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2010-01-14 17:39:59

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ldconfig error: libvdpau [SOLVED]

this is evidently some sort of miscommunication:
1) why would I install Arch nvidia-utils if I am not using arch nvidia package at all? Reasons stated above (multiple kernel nvidia installation are not handled by Arch package: so instead of crippled PKGBUILD I use binary that provide all (including "utils"))
2) why whould I install libvdpau from Arch repositories if I have nvidia binary installed? as /usr/lib/libvdpau.so.195.30 shows this is latest beta 195.30 driver
3) see ad 1 and ad2. I did install latest ffmpeg and mplayer from abs after removing libvdpau dependency from PKGBUILDs
4) you are wrong:
your link clearly states:

For users currently using VDPAU-based applications, we will continue to ship libvdpau and libvdpau_trace as part of the .run installer...

pacman is synced
ffmpeg and mplayer PKGBUILDs (abs) check for packages not actual libraries installed (in my case alongside binary nvidia).

Last edited by broch (2010-01-14 17:40:39)

Offline

#9 2010-01-14 18:03:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ldconfig error: libvdpau [SOLVED]

@bronch then you are on own. we are not supporting your way.
now they are a part of .run installer but its a matter of time when they drop it. you are reading only what you want. from the same link:

For users currently using VDPAU-based applications, we will continue to ship libvdpau and libvdpau_trace as part of the .run installer while distributions start to build their own packages for VDPAU. Once it is established in the distributions, we will stop including them in the .run package and users will need to start using the distro packages or building the library from source.

Last edited by wonder (2010-01-14 18:05:04)


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2010-01-14 18:52:22

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ldconfig error: libvdpau [SOLVED]

that is whatever undefined future.
Currently:
1) ATI users have to install libvdpau even though ATI does not support it
2) intel users see above
3) nvidia users with anything less than 8x series will also have no use of this library (nvidia video cards below 8x are not able to use VDPAU)
4) curiously, installation of nvidia binary seems to break system (see first post). This would be first distro with such problem.

I don't want to antagonize anyone, I don't require extra support. I am just pointing out that something is not working properly: when libraries are in fact installed, they should be used particularly if arch provided libs aren't newer. Instead package is blindly looking for another package.

Offline

#11 2010-01-14 18:58:20

attila
Member
Registered: 2006-11-14
Posts: 293

Re: ldconfig error: libvdpau [SOLVED]

I use the nvdia installer too and go another way. Instead of compiling ffmpeg and mplayer from abs i create a dummy package of libvdpau from abs (build() {/bin/true}). So if nvidia will remove vdpau from the installer than vdpau support is only a "pacman -S extra/libvdpau" away.

Offline

#12 2010-01-16 14:06:12

karenslfs
Member
Registered: 2008-06-27
Posts: 19

Re: ldconfig error: libvdpau [SOLVED]

Probably just don't know enough, but updated system now I get a msg when using gnome mplayer saying;

"Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory"

Any suggestions appreciated.

Offline

#13 2010-01-16 14:07:31

karenslfs
Member
Registered: 2008-06-27
Posts: 19

Re: ldconfig error: libvdpau [SOLVED]

Oops should have also said the file does exist;

[tpg@myhost ~]$ locate libvdpau
/usr/lib/libvdpau.so
/usr/lib/libvdpau.so.1
/usr/lib/libvdpau.so.1.0.0
/usr/lib/vdpau/libvdpau_trace.so
/usr/lib/vdpau/libvdpau_trace.so.1
/usr/lib/vdpau/libvdpau_trace.so.1.0.0
/usr/share/licenses/libvdpau
/usr/share/licenses/libvdpau/COPYING
/var/lib/pacman/local/libvdpau-0.3-2
/var/lib/pacman/local/libvdpau-0.3-2/depends
/var/lib/pacman/local/libvdpau-0.3-2/desc
/var/lib/pacman/local/libvdpau-0.3-2/files
/var/lib/pacman/sync/extra/libvdpau-0.3-2
/var/lib/pacman/sync/extra/libvdpau-0.3-2/depends
/var/lib/pacman/sync/extra/libvdpau-0.3-2/desc

Offline

#14 2010-01-18 01:04:35

karenslfs
Member
Registered: 2008-06-27
Posts: 19

Re: ldconfig error: libvdpau [SOLVED]

My apologies for no reading your clear instructions carefully:-( & of course for being so stupid:-)

I installed nvidia-utils & problem solved

Karen

Offline

#15 2010-01-18 01:09:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ldconfig error: libvdpau [SOLVED]

karenslfs wrote:

My apologies for no reading your clear instructions carefully:-( & of course for being so stupid:-)

I installed nvidia-utils & problem solved

Karen

you don't have too if you don't have an nvidia card.


Give what you have. To someone, it may be better than you dare to think.

Offline

#16 2010-02-06 21:12:46

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: ldconfig error: libvdpau [SOLVED]

Hello guys,

I noticed the sample problem when I'm using mplayer. The exact output:

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1

But libvdpau is definitely installed. Reinstalling didn't help. What else should I try?

Offline

#17 2010-02-06 21:18:56

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ldconfig error: libvdpau [SOLVED]

just ignore it


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB