Advertisement

NVIDIA driver help on redhat

Started by October 04, 2003 08:01 PM
23 comments, last by HTML 21 years, 3 months ago
quote:
Original post by Interim
You're going to kill me, but I saw this same problem on my machine.

I remember it being simple to solve...but I can't recall (sorry, I deal with so many different machines and issue all day in my work I loose details sometimes). It was on my Severn system.

I remember I ended up having to run the steps manually, if you read the INSTALL or README with the package. I also recall that it was something documented there. I think it might have had something to do with the fact I was running a newer kernel than it expected, so I might have used some force option to bypass the exit error.

Hrms, I found it in my history.

Looks like I ran:

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
cd NVIDIA* # rest of file name
export IGNORE_CC_MISMATCH=yes
export CC=gcc
make
make install

Then I could modprobe nvidia.

I see I vi'd into the Makefile, which isn't helpful. Maybe if you can post up your error output it'll fully jog my memory?

Sorry not more helpful. ( I have no idea what exactly fixed the conflict *grin*).

Interim


Thanks, the "sh nvidia" to the "make install" went fine. I am not sure what you mean by modprobe and the rest. Although all this worked :
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
cd NVIDIA* # rest of file name
export IGNORE_CC_MISMATCH=yes
export CC=gcc
make
make install

What do I do after that has worked?

[edited by - HTML on October 10, 2003 6:26:30 PM]
The modprobe was for the nvidia driver.

modprobe nvidia

You can check that it was loaded with ''lsmod''. If you see nvidia with a Used value >0, then its in use.

If you start-up X and you see the Nvidia splash screen, the driver is working.

You might need to update your XConfig.

Edit /etc/X11/XF86Config, find the Device section for your video card (probably VideoCard0). Make sure the Driver string is "nvidia".

You can restart X by hitting CTRL+ALT+BACKSPACE (if in runlevel 5), or just telinit 5 to get back (assuming you dropped to 3).

You should see that Nvidia splash screen.

If not, need to figure out what else might be wrong.

I''m thinking you''re about there since you had no errors with the manual compile of the nvidia module.

Int.

Advertisement
quote:
Original post by Interim
You''re going to kill me, but I saw this same problem on my machine.

I remember it being simple to solve...but I can''t recall (sorry, I deal with so many different machines and issue all day in my work I loose details sometimes). It was on my Severn system.

I remember I ended up having to run the steps manually, if you read the INSTALL or README with the package. I also recall that it was something documented there. I think it might have had something to do with the fact I was running a newer kernel than it expected, so I might have used some force option to bypass the exit error.

Hrms, I found it in my history.

Looks like I ran:

sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
cd NVIDIA* # rest of file name
export IGNORE_CC_MISMATCH=yes
export CC=gcc
make
make install

Then I could modprobe nvidia.

I see I vi''d into the Makefile, which isn''t helpful. Maybe if you can post up your error output it''ll fully jog my memory?

Sorry not more helpful. ( I have no idea what exactly fixed the conflict *grin*).

Interim


Hmm, nevermind, I thought it worked. Well everything worked fine until make install. Then I got errors. Are there any alternetives?

I tried it as root and not root too.

Here is most of the error:

Entering directory File/file/file/NV...../file/file
*** No rule to make target file/file
Leaving directory
*** [kernel_module_install] Error 2
^Bump^ I am not sure why it still won''t work. I have the kernel-source installed and it still will ask me for it... Well, I will be going back to RH 9 soon anyway, and getting a new motherboard, so I will try a little harder then.

Thanks
replacing the output with /file/file/file doesn''t help =)

Post up a good block of the error and any output just before and after the error.

Interim
It works after these steps:
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
cd NVIDIA* # rest of file name
export IGNORE_CC_MISMATCH=yes
export CC=gcc
make

but when I get to "make install" I get this:

NVIDIA-Linux-x86-1.0-4496-pkg2]$ make install
cd usr/src/nv; make install
make[1]: Entering directory `/home/name/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv''
make[1]: *** No rule to make target `/lib/modules/2.4.21-20.1.2024.2.1.nptl/build/include/linux/config.h'', needed by `nv.o''. Stop.
make[1]: Leaving directory `/home/name/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv''
make: *** [kernel_module_install] Error 2
[name@localhost NVIDIA-Linux-x86-1.0-4496-pkg2]$

Advertisement
I also tried using Nvidia''s install program. The problem is, it will ask for ''kernel-source'' which I already have installed. Does anyone else happen to know what other headers the Nvidia drivers require? I think if I get those, it should install fine.

Thanks
Bump^ Anyone know how to install Nvidia drivers on linux and why I am getting these errors, and where I can find the header files I need to install them? Refer to last 2 post above..

Thanks
Do you have a /usr/src/linux directory? If not make a symbolic link to the current source tree there.


Also, you are out of X while doing all this right?
"The paths of glory lead but to the grave." - Thomas GrayMy Stupid BlogMy Online Photo Gallery
Yes, I am doing this out of X. And no, I did not have a linux folder in the usr/src directory, I just made one. But it says my linux-2-4 link is broken. How do I make a new one of the current kernel-source to put in my usr/src/linux/ directory??

This topic is closed to new replies.

Advertisement