Click to See Complete Forum and Search --> : Nvidia and RH8 questions


edwinyee82
12-15-2002, 01:25 AM
hi everyone, I am a RH8 rookie and I am having troubles with the new Nvidia drivers. I download the lastest files from Nvidia (NVIDIA_GLX-1.0-4191.i386.rpm and NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0.i386.rpm)
I went to text mode and typed in:
rpm -ivh NVIDIA_GLX-1.0-4191.i386.rpm
and then:
rpm -ivh NVIDIA_kernel-1.0-4191.rh80up_2.4.18_18.8.0.i386.rpm

Once i did that i went to configure the XF86Config file and changed the "vesa" to "nvidia". Then I took out the LOAD "dri" and made sure the LOAD "GLX" was there. I then restarted and it wouldn't go back into to GUI mode. I get the error:
"(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!"
Some one help me please. Thanks alot

do_guh_new
12-15-2002, 02:20 AM
well you also have to make sure that Load "GLcore" is also removed

edwinyee82
12-15-2002, 02:43 AM
Load "GLcore" has also been removed. It was there in the first place. Do i make all the edits in the XF86Config file or can i edit the /var/log/xfconfig file? I currently have and older Nvidia card. I think it's the riva tnt2 or something. That card works fine. But when i put in my GeForce 4 Ti4200, it doesn't work. What's up with that?

mdwatts
12-15-2002, 08:50 AM
Anything in /var/log is a logfile and cannot (should not) be edited.

Try my instructions.


Edit /etc/X11/XF86Config or XF86Config-4 and change/add/delete

Driver "nv"
(or Driver "vesa")

with

Driver "nvidia"

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"

Add

alias char-major-10-175 agpgart
alias char-major-195 nvidia

to /etc/modules.conf

cd /lib/modules/<kernel version>

depmod -ae

Restart X


alias char-major-195 nvidia (for the 4191 driver)

alias char-major-195 NVdriver (prior to 4191)

edwinyee82
12-16-2002, 03:39 PM
hey mdwatt,

Should i do the the changes to the /etc/X11/XF86Config , /etc/modules.conf , and /lib/modules/<kernel version> in Text Mode. Or should go into GUI and open X-Terminal and make the changes in there? I will post up those files after i make the changes to make sure i did it right.

One more thing, with a fresh install of RH8, should I use the command: rpm -ivh Nvidia...... or rpm -Uvh Nvidia.....?

Tahnks

mdwatts
12-17-2002, 07:03 AM
It doesn't really matter if you make the modifications while in X or text mode as you will need to either reboot or restart X and then manually load the nvidia driver. Probably easier to just reboot.

I always use 'rpm -Uvh' whether I'm installing a rpm package for the first time or upgrading. It works just fine for both.

bwkaz
12-17-2002, 11:48 AM
Originally posted by edwinyee82
That card works fine. But when i put in my GeForce 4 Ti4200, it doesn't work. What's up with that? The message "failed to initialize kernel module" is pretty much a catch-all for a ton of different problems. The specific problem should be listed in the /var/log/XFree86.0.log somewhere before the "(EE) NVIDIA: Failed to initialize kernel module" message.

If it isn't, then (again, after trying to startx) check the output of dmesg for anything helpful...