Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
X GUI

Loading NVidia XFree 4.01 Modules When Booting? 5

A not-so Anonymous Coward asks: "I am using RH 6.0 and wanted to try the Nvidia 3D accelerated driver (TNT2) for XFree86 4.01. I upgraded to kernel 2.2.16 with RPM and installed XFree86 4.01. I then attempted to install the Nvidia drivers GLX and the Nvidia_kernel module from SRPMs. When trying to install the RPMs that I generated from these SRPMs then the Nvidia_kernel module would not load complaining that it was built for 2.2.5 kernel version although I was running ver 2.2.16 when it was built. I then removed the RPM and attempted the following: 'rpm -Uvf Nvivia_kernel --nodeps' to remove the dependency on the kernel version number. Now when I boot up the kernel doesn't load the modules and complains that it doesn't know the command insmod. After booting I am able to manually enter insmod and load modules. What have I broken? Also, how do I update my distribution so that when I build SRPMs they are for the kernel that I am running."
This discussion has been archived. No new comments can be posted.

Problems Loading NVidia XFree 4.01 Modules While Booting?

Comments Filter:
  • by Anonymous Coward
    the srpm probably compiled itself against the wrong kernel source/headers

    check/ensure the following:

    /usr/src/linux is a link to /usr/src/linux-2.2.16 -or- /usr/src/linux is the 2.2.16 src

    /usr/include/linux is a *symbolic link* to /usr/src/linux/include/linux
    i've found this stuff a touch confusing at times, and it seemd like its reasonably often screwed up.
  • when ever i had a problem with kernel versions against modules version i just open the module in VI and search for the version number (this case 2.2.5) and overwrite it with 2.2.16. worked for the sblive pre-oss drivers, although when i installed the nvidia x11 drivers the only problem i had was the MESA as and other poster put it "their not kidding"

    mind you it works with mesa drivers u just dont get hw glx

  • First, I suggest that you compile the kernel driver by yourself. Also, make sure that with 2.2.16, you must have agpgart compiled in your kernel or as a module. If you have it as a module, I suggest that you load it just before compiling the driver. I don't know, experienced some similar problem, but apparently, this seems to work for me.
  • Listen to the kernel advice above, and when you have that accomplished, forget about the RPMS that install GLX and the NVIDIA kernel module. Grab the tarballs off the same NVIDIA page you found the RPMS at (they're the last links on the page) and follow the make directions in NVIDIA's FAQ - it's not hard at all. Make very sure you clean out the MESA files they tell you to - they're not kidding. Now that you have the kernel module and GLX stuff, fire up X. This is where I have MY problems. If I run a default monitor (specify NO HFreq or VFreq info in XF86Config) it runs like a champ. If I put the same monitor info that worked in the old version of XFree86 (the correct capabilities of my monitor), the NVIDIA driver tries to set my resolution at something insane like 1836x1543 90hz and bails out. The bizarre thing is that the logs tell me that the NVIDIA driver sees the correct monitor info, says it's using it, but seems to ignore it anyway. There's a strange space in the log where it says "Using 35.00 -86.00hz" where the other line says "Using 50.00-130.00". No space before the hyphen in the second one. Don't know if that's related, but it can't hurt. Good luck!!!
  • by 1%warren ( 78514 ) <<wardon> <at> <xtra.co.nz>> on Friday August 25, 2000 @01:47AM (#829005) Homepage
    Did you install the kernel-headers rpm for 2.2.16? - you'll need it/them - thats why you're getting refrences to 2.5 - same place you got your kernel - I couldn't see any obvious traps otherwise - had a quick look through the FAQ @:
    Nvidias page [nvidia.com]
    --

Beware of Programmers who carry screwdrivers. -- Leonard Brandwein

Working...