Forum Home
Press F1
 
Thread ID: 30582 2003-02-24 09:21:00 Update the nVidia Drivers.. Again sorry :-) Chilling_Silence (9) Press F1
Post ID Timestamp Content User
123540 2003-02-24 09:21:00 Okay,

Ive tried installing the nVidia drivers, only Im having troubles.

Ive tried with the RPM's for my version of linux to no avail, and also tried making the .tar.gz files but that comes up with an error about me trying to make compile it on a different version that the one intended or something...

Basically, I think I'm supposed to type:
modprobe nvidia
or
modprobe nv
and it'll tell me that my nv drivers are running (Dont care if I get the nv standard or nvidia ones going, so long as I can get off this vesa driver) but it tells me it cant find them.

So Im STUCK?!

Where do I turn from here?
Ive got a GeForce 4 MX 440 with TV/O running RedHat 8.0 with KDE/Gnome but text login set by default (Just in case it makes a difference).

Ive checked the XF86config file and it's all peachy in there, but it just doesnt seem to wanna work.

Any help or leads I could take would be greatly appreciated. Ive read the nVidia Readme file and its of no help I believe.

Thanks


Chilling_Silence
Chilling_Silence (9)
123541 2003-02-24 12:49:00 Am I correct in thinking that once you've unpacked the tar file, it leaves you with an exe that you simply run? Greg S (201)
123542 2003-02-24 20:31:00 Nope, it tells youin the Readme (Going by memory here.. Its savedto my linux partition):

tar xvzf NVIDIA_kern***.tar.gz
tar xvzf NVIDIA_GLX***.tar.gz

cd NVIDIA_kernal
make install
cd ../NVIDIA_GLX
make install

then in the XF86config file, remove:
Load "dri"
Load "GLcore"
and add Load "glx"

also, youthen have toswitch it from Driver "vesa" or Driver "nv" to Driver "nvidia"

Only thing is that neither nv or nvidia works!
Where should I start for diagnosing this problem? I did a format last night and attempted to install only the tarball drivers, but no luck.

Thanks


Chilling_Silence
Chilling_Silence (9)
123543 2003-02-27 22:26:00 You may be running into a problem with compiling a kernel module under a different compiler than what the original kernel was compiled with.
This often happens when you use packaged versions of Linux and then apply software updates.

A typical error would be the kernel was compiled under gcc2.95 by the distribution and then you try to compile a kernel module (which is what the NVidia driver is) using GCC3.1 or similar.
The only way to resolve this issue is to recompile your kernel and then build the NVidia modules. This will remove your problem and improve your system as a custom kernel generally runs better than a generic distribution model.

There are plenty of HOWTO's on how to compile a custom kernel for each specific distribution, just do a google search. It is complex so don't even try doing it without doing your homework, plus if you screw up you have all sorts of problems.

I've used the NVidia kernel module with custom kernels with no problems. Performance is unnoticable in 2d X-Windows but is significantly better with 3d.
paintbuoy (3087)
123544 2003-02-27 23:25:00 Okay.. Where to start....

Performance, Yes, I know its pretty un-noticable, things go fine in standard X, but fire up TuxRacer and its a whole different ball-game!

Ive tried using the Gnome GUI and changing it to use the nv driver in there (Even if I could get that to go!), but no luck.

I tried adding speech marks either side of my refresh rate settings, but that only wrecked it.

when I switch to the nv driver, It sends my refresh rates up the creek!

normally, In doze I do H=60Khz V=75Hz (Digital monitors are so great), in Linux, I'll do H=38-39Khz V=60Hz.

Switch to the nv driver and it throws that right out the window, even if I specifically limit it in my XF86config file to those above mentioned settings!

So... from what you're saying, I need to recompile my Linux Kernel, and then install the nv drivers!?

This could be a mission and a half, I'll dub it:
Mission Impossible 3

;-)

Would you be able to give me a nudge in the right direction, for recompiling my kernel etc.

Ive tried installing from the tarball files too, and telling them to 'make install', but I still get errors galore.


Thanks for your help


Chilling_Silence
Chilling_Silence (9)
123545 2003-02-28 01:15:00 Just before you do any "make blah" command, do "./configure", if there is a file called "configure" in the directory. That is a necessary step usually, because that checks for compilers, directory structure, etc, so that the compiler will use all the right options.

Errors during the process often mean that you haven't done the configure.
Graham L (2)
123546 2003-02-28 01:45:00 Okay, thanks, I'll try that again.

Another thing Ive noticed, Im using the Vesa driver, and told it I want a refresh rate of 70Hz, but its not doign that, Its sticking to 60Hz (Its got a little disply on the monitor that tells me Its Horizontal Frequency and Vertical Refresh rate).

That may help.. If I cant get it to stick to a certain refresh rate in Vesa, then maybe I can with the nv driver too.

It reakons the rpms have been installed too, just for the record.
Chilling_Silence (9)
123547 2003-02-28 01:48:00 It comes up saying no such file when I run a ./configure

Type make install and it says this:

[josiah@AMD1700Linux NVIDIA_kernel-1.0-4191]$ ./configure
bash: ./configure: No such file or directory
[josiah@AMD1700Linux NVIDIA_kernel-1.0-4191]$ make install

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1


Thanks guys


Chilling_Silence
Chilling_Silence (9)
123548 2003-02-28 03:14:00 Well, I re-downloaded them (Again) and tried it out and it seems to be working?!

Only thing is this time I downloaded with DAP on my XP Laptop and sent them across the network....

file size was/is same.

Thanks anyway guys :-)

*Now to try some games for the WineX review*
Chilling_Silence (9)
1