LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 08-22-2012, 01:01 PM   #1
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 498

Rep: Reputation: 136Reputation: 136
Exclamation Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer)


With work, the excitment of the upcoming new release, I got all in a tither. Here and the SBo mailing list, some of you had issues with the SBo Nvidia-driver.SlackBuild and had to revert to running nvidia *.run installer. Most of those were sillyb mistakes. My apologies.

Correct versions, and updated to include the big securty fix are here:
http://www.koenigcomputers.com/sbo-testing/

These are unofficial, of course, but will be merged into SBo when things settle down.

The current Nvidia-driver.SlackBuild on Sbo is still missing one symlink that, under some conditions, will result in a "libvdpau_nvpau.so missing" error. The fix is:
Code:
cd /usr/lib64
ln -sf libvdpau_nvidia.so.3042.17 libvdpau_nvidia.so
or you can edit the Nvidia-driver.SlackBuild to put
Code:
  ln -sf libvdpau_nvidia.so.$VERSION libvdpau_nvidia.so
under "#symlinks" and "# symlinks for optional 32-bit support"
Also note, that the current SBo version still copies the various glx.h files from the nvidia package. This will cause errors with some compiles (Firefox
ESR). You can update to the new version (see above), manually revert the glx.h-xorg files, or stop X, login as root and:
Code:
# nvidia-switch --remove
...compile stuff....
# nvidia-switch --install
Thanks to Niki Kovacs for that one.

That should do it. If anyone still has issues, post on LQ, the SBo mailing list or pop (or IMAP if you prefer ) me an email.
 
Old 08-22-2012, 04:50 PM   #2
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 639

Rep: Reputation: 90
Quote:
Originally Posted by kingbeowulf View Post
With work, the excitment of the upcoming new release, I got all in a tither. Here and the SBo mailing list, some of you had issues with the SBo Nvidia-driver.SlackBuild and had to revert to running nvidia *.run installer. Most of those were sillyb mistakes. My apologies.
You have enormous respect from me for maintainng such a complex slackbuild with a moving target like the nVidia drivers .
 
Old 08-27-2012, 01:09 AM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 498

Original Poster
Rep: Reputation: 136Reputation: 136
Thanks, I owe it all to Heinz Wiesinger who set the standard.
 
Old 08-27-2012, 01:20 PM   #4
apeitheo
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware
Posts: 26

Rep: Reputation: 8
Is anyone else having an issue with the /usr/include/GL/glx.h symlink? It's supposed to point to /usr/include/GL/glx.h-nvidia (which it does), but glx.h-nvidia doesn't exist. A file by the name of 'glx-nvidia' exists, and pointing glx.h to that makes OpenGL apps work correctly, but why is it doing this?

Is anyone else having this issue?

Code:
# grep include /var/log/packages/nvidia-driver-302.17-x86-2_SBo
usr/include/
usr/include/GL/
usr/include/GL/glext.h-nvidia
usr/include/GL/glxext.h-nvidia
usr/include/GL/glx-nvidia
usr/include/GL/gl.h-nvidia

# ls -l /usr/include/GL/glx.h
lrwxrwxrwx 1 root root 12 Aug 27 14:21 /usr/include/GL/glx.h -> glx.h-nvidia

Last edited by apeitheo; 08-27-2012 at 01:25 PM.
 
Old 08-27-2012, 04:33 PM   #5
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,411

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
Quote:
Originally Posted by kingbeowulf View Post
With work, the excitment of the upcoming new release, I got all in a tither. Here and the SBo mailing list, some of you had issues with the SBo Nvidia-driver.SlackBuild and had to revert to running nvidia *.run installer. Most of those were sillyb mistakes. My apologies.
I got bitten - twice - by the recent NVidia driver updates. But you know what?

Prost! Dass die Gurgel ned verrost'!

("Apologies accepted" in Austrian, somehow...)

Keep up the good work, kingbeowulf.
 
Old 08-27-2012, 07:40 PM   #6
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 498

Original Poster
Rep: Reputation: 136Reputation: 136
apeitheo, just rename the bad file name
Code:
mv /usr/include/GL/glx-nvidia /usr/include/GL/glx.h-nvidia
and is fixed for Slackware14. This was brought up in another LQ thread. If you go to the site listed in my OP, you can install the brand spanking new ones. In those, the headers aren't copied over (ie deprecated).

kikinovak, Danke schön. See the OP above for "fixed" version - you should be running that one anyway. Its been crazy juggling 4 -current installs (both arch), work, and this silly ass driver.

Not up on my Austrian lately, but I assume you mean:

Solange man nüchtern ist,
gefällt das Schlechte.
Wie man getrunken hat,
weiss man das Rechte. - J.W. Goethe

Last edited by kingbeowulf; 08-27-2012 at 07:41 PM. Reason: no spell good.
 
Old 08-27-2012, 08:35 PM   #7
apeitheo
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware
Posts: 26

Rep: Reputation: 8
Sorry, I didn't see the other thread. I just wanted to make sure it wasn't some unknown/obscure issue.

Thanks for your contributions!
 
Old 08-29-2012, 03:46 PM   #8
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 3,665

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
Thumbs up

I just used your Slackbuilds @ http://www.koenigcomputers.com/sbo-testing/14.0/system/ to make and install nvidia-kernel and nvidia-driver packages on Slackware 14 RC3 with no issue.

The README is missing in the nvidia-driver directory which caused the build to fail at first but that won't be hard to fix

Maybe you could add a reminder in this README like "this package installs nvidia-installer, nvidia-xconfig and nvidia-settings, see the relevant manual pages" as some users could overlook that.

While you are at it, you could edit the README for nvidia-kernel as well, something like this:
Code:
sed -i s/edit the copy/edit the copy or run nvidia-xconfig/ README
as nvidia-xconfig provides many options specific to the nVidia driver which can be useful.

Huge thanks, keep up the good work.

Last edited by Didier Spaier; 08-29-2012 at 04:08 PM. Reason: suggest to edit the README for nvidia-kernel
 
Old 08-31-2012, 02:41 AM   #9
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 498

Original Poster
Rep: Reputation: 136Reputation: 136
Thanks, Didier. Added to my TO-DO list.
 
  


Reply

Tags
nvidia, sbo, slackbuild, vdpau


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
when links to slackbuild sources get deprecated (OOo SBo-13.1 for eg) dh2k Slackware 2 06-03-2012 04:34 AM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
anyone got OpenShot SBo slackbuild to work? metageek Slackware 13 01-01-2011 05:20 PM
Opera10 64bit Java fix for SBO slackbuild. GazL Slackware 9 10-13-2009 08:38 AM
Kmymoney2 Slackware64 Sbo Slackbuild Error AlleyTrotter Slackware 4 07-05-2009 10:10 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration