[SOLVED] Nvidia Slackbuild and Slackware 13.37 to 13.1
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.
So I gleefully installed Slackware 13.37 but alas, it seems I cannot install nvidia drivers. I think this is due to the slackbuilds.org packages (13.1) not matching my kernel (13.37). Restarting the X server lands me quite a few errors.
Am I right with this assumption (mismatched build and local kernels) and can this be fixed by me learning to build my own Slackbuild script?
Secondly, as an aside, is it possible to downgrade to Slackware 13.1? If so, where would I begin?
FATAL: Error inserting nvidia(/lib/modules/2.6.37.5/kernel/drivers/video/nvidia.ko): No such device
(EE)NVIDIA: Failed to load the NVIDIA kernel module. Please
(EE)NVIDIA: check your systems's kernel log for additional error messages.
(EE)NVIDIA: No drivers available
Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
---------- Post added 04-01-11 at 09:17 PM ----------
Quote:
Originally Posted by willysr
Ah.. it hasn't supported your kernel
2.6.37.x requires 260.19.36 and newer (.44 is the latest one)
Well seems I have no luck with rebuilt packages from the latest and greatest Nvidia binaries. Getting the same error.
I have to hit ctrl-alt-backspace to kill the x server, I can't seem to find an easier or "gentler" way to do it at the moment. Upon being kicked to command line, I run "startx" and the wall of errors ensues .
Is there a way to log what happens when I am in cli and hit startx? I'm having to re-type what I see, writing it down on paper in the process :S
Chris
That's odd. It looks similar to my setup, but I don't have any problems with it.
Run "find /lib -name nvidia.ko" and check to make sure it was compiled, or at least added to the kernel you boot with. Mine was installed to 2.6.37.5-smp and not 2.6.37.5.
question: If I run glxgears, does that indicate the presence of 3D rendering? I ran the NVIDIA_longfilename.run directly and followed the prompts until the install "failed'. Interestingly, my computer did fire up into X after a reboot and /etc/X11/xorg.conf does indicate "nivida" as the driver in the Device section...
Ok, so it was installed, and considering the slackbuild builds it for the kernel currently loaded it should be the one that you booted up with. Still is kind of odd that it's not working correctly.
Quote:
question: If I run glxgears, does that indicate the presence of 3D rendering? I ran the NVIDIA_longfilename.run directly and followed the prompts until the install "failed'. Interestingly, my computer did fire up into X after a reboot and /etc/X11/xorg.conf does indicate "nivida" as the driver in the Device section...
It wouldn't necessarily mean that it's working, but "glxinfo | grep render" should yield "direct rendering: yes" if it is working correctly.
Also, check the output of the following command to check if there is any errors when the nvidia.ko driver loads.
# dmesg | grep nvidia
<Edit>
Quote:
Interestingly, my computer did fire up into X after a reboot and /etc/X11/xorg.conf does indicate "nivida" as the driver in the Device section...
Just noticed this. (Sometimes my brain happens to "think" it's read something when it hasn't). It might be working now.
I have no idea how to interpret the last section, but going by the direct rendering: Yes, seems safe to say that it is working? I loathe these mystery fixes. I almost want to nuke all the nvidia packages and try a direct ./NVIDIA_longfilename.run and see if that does the trick.
Thanks so much for your help! I'll hold off on the [Solved] tag for the moment.
I have no idea how to interpret the last section, but going by the direct rendering: Yes, seems safe to say that it is working? I loathe these mystery fixes. I almost want to nuke all the nvidia packages and try a direct ./NVIDIA_longfilename.run and see if that does the trick.
Thanks so much for your help! I'll hold off on the [Solved] tag for the moment.
I believe it is solved. This is the exact same thing I see when I boot. The reason you see "nvidia: module license 'NVIDIA' taints kernel." is because it is a closed source, or some other term that I don't know as of yet, which isn't a normal kernel module. In simple terms, it's something the kernel writes to screen to give the user/admin information that a module was loaded that could be a virus. However, I am horrible with explaining that, but if you did a search on google you should be able to find a better explanation.
Use one of the provided generic kernels for daily use. Do not report
bugs until/unless you have reproduced them using one of the stock
generic kernels. You will need to create an initrd in order to boot
the generic kernels - see /boot/README.initrd for instructions.
The huge kernels are primarily intended as "installer" and "emergency"
kernels in case you forget to make an initrd. For most systems, you
should use the generic SMP kernel if it will run, even if your system is
not SMP-capable. Some newer hardware needs the local APIC enabled in the
SMP kernel, and theoretically there should not be a performance penalty
with using the SMP-capable kernel on a uniprocessor machine, as the SMP
kernel tests for this and makes necessary adjustments. Furthermore, the
kernel sources shipped with Slackware are configured for SMP usage, so you
won't have to modify those to build external modules (such as NVidia or
ATI proprietary drivers) if you use the SMP kernel.
If you decide to use one of the non-SMP kernels, you will need to follow the
instructions in /extra/linux-2.6.37.6-nosmp-sdk/README.TXT to modify your
kernel sources for non-SMP usage. Note that this only applies if you are
using the Slackware-provided non-SMP kernel - if you build a custom kernel,
the symlinks at /lib/modules/$(uname -r)/{build,source} will point to the
correct kernel source so long as you don't (re)move it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.