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.
I know that current just pushed kernel 2.6.33 down, but has anyone been successful in building the nvidia drivers against this new kernel? I'm not having any success with the 190 driver and the 195 beta driver. There are some patches that I found on the nvidia forum, but so far, nothing is working. Any ideas? Thanks ahead of time!
I'm going to guess that these patches at the above link, are among the ones you have tried unsuccessfully? Last I read, they worked for the 33-rc kernel according to another LQ member (sorry cannot remember who at this time) but if you have NOT tried the patch(es) at this link, or the ones you DID try are different than these ones, please do tell
As yet, I haven't delved into rebuilding my nvidia driver on a .33 kernel since I'm still on 32.x whatever the latest x is, so cannot comment from direct experience yet.
this one should work with 2.6.33: supported hardware is here.
I guess some patches could be found on nvidia linux forum for legacy drivers with 2.6.33 (but I haven't looked).
GrapefruitGirl, yes, those were the patches that I used!
Ponce, I tried your link, and downloaded the latest beta. At least this time, the script can find my kernel source. However, I keep getting these errors:
Code:
ERROR: Unable to open
'/usr/X11R6/lib/xorg/modules/extensions/libglx.so.190.42' for reading
(No such file or directory)
ERROR: Unable to open '/usr/X11R6/lib/xorg/modules/extensions/libglx.so' for
reading (No such file or directory
ERROR: Unable to open '/usr/lib/xorg/modules/extensions/libglx.so.190.42'
for reading (No such file or directory)
I'm not sure if the problem lies with the new kernel or the latest xorg.
You should use nvidia drivers version 190.53 or 195.30 with these patches
You might take a look at this same thread.
Regards
This thread started and ended 1 day before a newer version was released though..
Im with ponce but havent upgraded yet to make sure it works ok for me.
gives me invalid module format errors on agpgart.ko and nvidia.ko
NVIDIA-Linux-x86_64-190.53-pkg2.run
does not compile due to unable to determine kernel source versions
not using any xorg.conf gives me a garbled X (is that the nv driver or nouveau)
going to try the patch shortly...(once i figure out this libpng thing...)
the patch doesnt work for me, gives me the same invalid module format errors (libpng still is not giving me icons either--i have to use chrome to post this since firefox has no submit buttons)
You have to recompile your kernel with the above options (maybe you don't need agp_intel if don't have an intel chipset as I do) prior building the nvidia module.
You have to recompile your kernel with the above options (maybe you don't need agp_intel if don't have an intel chipset as I do) prior building the nvidia module.
The 2.6.32.7 kernel didnt have this as a module either. What changed?
# Bathory -- In your post above (#9) are you saying that the PREEMPTIBLE kernel option(s) will not work with the new driver? Or were you mainly pointing at the CONFIG_AGP options in that post?
I'mma have to fiddle with this today since I almost always run the latest kernel and latest nV driver.. We'll see...
You have to configure the kernel with something like:
FYI the latest nvidia--195.36.0 does not need patching for 2.6.33 kernel.
Regards
Ok, so I tried your changes and recompiled the kernel again. The driver finally compiled, but I still ran into a bit of a snag. The "NOUVEAU" driver was enabled to load as a module. When that happens, you won't be able to install the nvidia driver. So, there are two things one can do, you can either rebuild the kernel and comment out the nouveau driver or add the following to /etc/modprobe.d/blacklist.conf:
Code:
blacklist nouveau
Reboot and run the nvidia script to install the driver.
For the record, here's my preempt section on my .config file:
Code:
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# Bathory -- In your post above (#9) are you saying that the PREEMPTIBLE kernel option(s) will not work with the new driver? Or were you mainly pointing at the CONFIG_AGP options in that post?
Yup, with CONFIG_PREEMPT set, you'll get the invalid module format.
Quote:
I'mma have to fiddle with this today since I almost always run the latest kernel and latest nV driver.. We'll see.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.