LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) (http://www.linuxquestions.org/questions/slackware-14/nvidia-driver-slackbuild-from-sbo-or-i-am-a-bad-and-sloppy-sbo-maintainer-4175423466/)

kingbeowulf 08-22-2012 01:01 PM

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.

andrew.46 08-22-2012 04:50 PM

Quote:

Originally Posted by kingbeowulf (Post 4761330)
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 :).

kingbeowulf 08-27-2012 01:09 AM

Thanks, I owe it all to Heinz Wiesinger who set the standard.

apeitheo 08-27-2012 01:20 PM

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


kikinovak 08-27-2012 04:33 PM

Quote:

Originally Posted by kingbeowulf (Post 4761330)
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'! :D

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

Keep up the good work, kingbeowulf.

kingbeowulf 08-27-2012 07:40 PM

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

apeitheo 08-27-2012 08:35 PM

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! :)

Didier Spaier 08-29-2012 03:46 PM

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.

kingbeowulf 08-31-2012 02:41 AM

Thanks, Didier. Added to my TO-DO list.


All times are GMT -5. The time now is 07:37 PM.