LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-21-2012, 03:04 AM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Fresh installation of Slackware 14 RC2: libvdpau_nvidia.so not built...


I have made a fresh install of Slackware 14 RC2 and also installed libvdpau (0.4.1), nvidia-kernel (302.17) and nvidia-driver (302.17) from SBo, in that sequence. All goes well but MPlayer cannot use -vo vdpau with the message that:

Code:
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: 
No such file or directory
and in fact libvdpau_nvidia.so is not built and is not present on my system. Has anybody else had this problem? Could be as usual that I am doing something wrong .
 
Old 08-21-2012, 03:19 AM   #2
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
How do you mean "not built"? If it created a package, it should have built something. Are you sure you remembered to install the generated libvdpau package?

Try it again, and post the configure and compile output (on via email). As soon as I restore my -current VMs, I'll check it out.

Edit: Almost forgot - does your mplayer have vdpau support? ffmpeg? IIRC the stosck install doesn't. I run newer mplayer/ffmpeg etc that has vdpau added.

Last edited by kingbeowulf; 08-21-2012 at 03:55 AM. Reason: more information
 
Old 08-21-2012, 04:36 AM   #3
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by kingbeowulf View Post
How do you mean "not built"? If it created a package, it should have built something. Are you sure you remembered to install the generated libvdpau package?
I mean the file libvdpau_nvidia.so was not built and installed. As I was in a rush I will admit that uninstalled the SBo nvidia-* and installed the 304.37 drivers using the NVidia installer. Built fine with libvdpau and I now have acceleration with MPlayer again. The errant file was installed by NVidia's installer:

Code:
root@skamandros/home/andrew# find /usr -iname  libvdpau_nvidia.so
/usr/lib64/libvdpau_nvidia.so
Quote:
Edit: Almost forgot - does your mplayer have vdpau support? ffmpeg? IIRC the stosck install doesn't. I run newer mplayer/ffmpeg etc that has vdpau added.
I compile my own from svn and git respectively. I will be interested to see if anybody can replicate my problem, but I am flying happy atm using the NVidia installer...
 
Old 08-21-2012, 04:48 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Code:
bash-4.1$ locate libvdpau_nvidia.so
/usr/lib/vdpau/libvdpau_nvidia.so.304.37
/usr/lib/vdpau/libvdpau_nvidia.so.1
/usr/lib/vdpau/libvdpau_nvidia.so
bash-4.1$ grep libvdpau_nvidia.so /var/log/{packages,scripts}/*
/var/log/packages/nvidia-driver-304.37-x86-1_SBo:usr/lib/vdpau/libvdpau_nvidia.so.304.37
/var/log/scripts/nvidia-driver-304.37-x86-1_SBo:( cd usr/lib/vdpau ; rm -rf libvdpau_nvidia.so.1 )
/var/log/scripts/nvidia-driver-304.37-x86-1_SBo:( cd usr/lib/vdpau ; ln -sf libvdpau_nvidia.so.304.37 libvdpau_nvidia.so.1 )
/var/log/scripts/nvidia-driver-304.37-x86-1_SBo:( cd usr/lib/vdpau ; rm -rf libvdpau_nvidia.so )
/var/log/scripts/nvidia-driver-304.37-x86-1_SBo:( cd usr/lib/vdpau ; ln -sf libvdpau_nvidia.so.304.37 libvdpau_nvidia.so )
bash-4.1$
This is on Slackware 13.37.
 
Old 08-21-2012, 05:20 AM   #5
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
True too after the NVidia installer had done its work:

Code:
root@skamandros/home/andrew# find /usr -iname libvdpau_nvidia.so*
/usr/lib64/libvdpau_nvidia.so
/usr/lib64/vdpau/libvdpau_nvidia.so.304.37
/usr/lib64/vdpau/libvdpau_nvidia.so.1
But this was not present when I used the SBo script. I am not that keen to dig deeper if it was perhaps a simple glitch on my own computer that nobody else can reproduce, in which my apologies to kingbeowulf for the noise. Mind you it was a fresh rc2 installation and I have installed SBo NVidia drivers often before...

So now I add the NVidia installer to the VirtualBox installer that I also guiltily use .
 
Old 08-21-2012, 05:47 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by andrew.46 View Post
So now I add the NVidia installer to the VirtualBox installer that I also guiltily use .
I have done that too in the past and do not feel guilty at all

Nevertheless I will use SBo slackbuild in Slakware 14 RC2, as that could help kingbeowulf to find out what's wrong if I can reproduce the issue.
 
Old 08-21-2012, 06:18 AM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Didier Spaier View Post
Nevertheless I will use SBo slackbuild in Slakware 14 RC2, as that could help kingbeowulf to find out what's wrong if I can reproduce the issue.
I have posted the entire slackbuild process for the nvidia-driver here:

http://pastebin.com/9grGQxzb

Perhaps this will be helpful...

Last edited by andrew.46; 08-21-2012 at 06:20 AM.
 
Old 08-21-2012, 06:35 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Do you need this if you use the SlackBuilds for the NVidia driver and kernel?

http://slackbuilds.org/repository/13...ries/libvdpau/

I use the NVIDIA-Linux-*.run, but I use plenty of other SlackBuilds and my conscience is clear.
 
Old 08-21-2012, 06:45 AM   #9
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Yes, and this (libvdpau 0.4.1) is installed on my system....

Code:
andrew@skamandros~$ ls /var/log/packages | grep libvdpau
libvdpau-0.4.1-x86_64-1_SBo
 
Old 08-21-2012, 06:47 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Well, I forgot that I already installed it in 14 RC2. No problem there, the shared library and the links are in /urr/lib/libvdpau as well.

I first installed iibvdpau-04.1 then nvidia-{kernel, drivers}-304.37
 
Old 08-21-2012, 06:56 AM   #11
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Is it a 64bit problem? I note mine is a 64bit install while yours is 32... no idea why this would make a difference
 
Old 08-21-2012, 09:24 AM   #12
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Taking a quick look at the SlackBuild, libvdpau is omitted from being installed. The directories are created, but the library is not installed.

Somewhere in the SlackBuild, something like this needs to be added
Code:
install -D -m755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/vdpau/libvdpau_nvidia.so.$VERSION
And of course, you need to create the shared link towards the bottom of the SlackBuild like the others.

IIRC, there was a discussion about libvdpau on the SBo mailing list, about it being included in one version, but not the other, or something with multilib .... not sure. For us (meaning myself, and those that work/use the PCs here), it's far too simple to just download the binary installer from Nvidia, and execute. The installer also has a built in update function which will fetch the newest version, will create the needed blacklist file for nouveau, and has a clean uninstall function.
 
1 members found this post helpful.
Old 08-21-2012, 02:17 PM   #13
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by disturbed1 View Post
The installer also has a built in update function which will fetch the newest version, will create the needed blacklist file for nouveau, and has a clean uninstall function.
extra/xf86-video-nouveau-blacklist-noarch-1 is not needed?

Edit: I see it will blacklist nouveau if detected:

ftp://download.nvidia.com/XFree86/Li...nproblems.html

Last edited by andrew.46; 08-21-2012 at 02:31 PM.
 
Old 08-21-2012, 02:55 PM   #14
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Nvidia devs recommend packagers to separate libvdpau from the proprietary nvidia kernel and driver installers as vdpau will we removed "real soon now" The nvidia-*.run installer installs the one that is precompiled. Hence the separate package. This is also the reason the nvdia-driver.slackbuild requires several other source packages (e.g. nvidia-settings) instead of using the precompiled versions in the installer.

Six of one, half dozen of the other, as they say.

I tested everything on current-beta, but not yet on RC1 or RC2: My -current VM doesn't have a Nvidia GPU! So, if you run the scripts and files end up missing or misplaced, let me know. The newer nvidia-*.run versions have moved a bunch files around.
 
Old 08-22-2012, 01:26 AM   #15
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Thanks for posting a fix to SBo beowulf . I will admit that I am staying with the nVidia installer for the moment but thanks again for looking at this issue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware: Replace MySQL with MariaDB on fresh installation. astanton Slackware 4 03-03-2012 02:37 AM
Fresh installation of Slackware 13 -64 and Slackbuilds/sbopkg arubin Slackware 6 11-09-2009 01:31 PM
Problem running HAL on fresh Slackware 12.1 installation on P1510 olefiver Slackware 3 08-19-2008 04:04 PM
How to add Hebrew support in fresh Slackware 10.0 installation? yonatan1 Slackware 8 10-04-2005 03:36 PM
Slackware 9.1 Fresh Installation «X» problems linux-back Linux - Newbie 1 11-07-2003 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration