SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
Well, this is nuts. I just re-ran the SlackBuild to see if I saw any other errors and it seems to have worked perfectly. If the package installs and works I will return and mark this thread solved.
did you try running the installer from the nvidia website? that goes perfectly on the stock kernel without having to change any packages at all. Its actually slightly quicker than using a slackbuild, in this case
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
I followed 2handband's advice and downloaded directly from Nvidia. That works. This is the first time I haven't been able to get a SlackBuild dot org SlackBuild to work. I don't care for this option, I prefer installing Slackware packages with pkgtools. The upside is I have more current drivers.
I'm marking this solved even though I didn't get the SlackBuild to work.
The SlackBuilds are tested to work with exactly the versions that are listed in the info file. If you update the version yourself you enter the philosophical area of "it might work, it might not work".
In this case it does not because the contents of the upstream run-file changed, which is a change that needs to be reflected in the SlackBuild (work in progress).
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Original Poster
Rep:
I tried installing the version as shipped first. They would not compile correctly on my system. I then tried editing the build scripts for the latest version as downloaded from Nvidia. That also failed. I'm thinking it may have as much to do with my custom kernel??
I have successfully edited SlackBuilds in the past where I wanted a new version of software. I will admit to being weak when it comes to scripting language, so possibly the error was mine.
There are a couple of reasons why SlackBuilds would fail, however that list is rather short for the nvidia SlackBuilds.
nvidia-driver only fails if you try to update it to a newer version and mess up in the process or forget something.
nvidia-kernel only fails if your kernel is misconfigured, it does not find the kernel you tell it to compile for or you try to compile for a too new (or possibly also too old) kernel version.
The version on SBo does not work with anything higher than 2.6.35. If you have a custom 2.6.36 kernel this was most likely the cause of your error.
Yeah... I forgot to ask if you were running 13.1 or -current. The older Nvidia drivers used in the SlackBuild stopped working on -current after the big upgrade to x a few weeks ago.
Anyway, if you're running -current just having the Nvidia binary file on hand will make your life easier. If you do an upgrade that requires a driver reinstall (kernel, qt, xserver, etc) you just log into a console. re-run the Nvidia installer with a single command, and voila! you're back in business.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.