Click to See Complete Forum and Search --> : A simple stupid nvidia drivers question


PimpHolic
11-27-2001, 01:22 AM
i installed the tar.gz's for the nvidia drivers and im running red hat 7.2
im used to making the xf86config files myself but in red hat it was made for me and all worked fine. so i have to change the driver = nv from nv to nvidia and take the # load = glx or whatever
thing is
i cant find either of these in my xf86config file! can anyone point me in the right direction as where to add both of these in? thanks a bunch (i really wnna try tux racer :) )

anton
11-27-2001, 01:54 AM
it's probably in XF86Config-4

DMR
11-27-2001, 03:30 AM
Right. If you're using XFree86 version 4 or later, it will be using the /etc/X11/XF86Config-4 file. In it, you'll find a section similar to this:
************************************************** ********************
# Graphics device section
# ************************************************** ********************

Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection

Section "Device"
Identifier "Voodoo3 (generic)"
VendorName "Unknown"
BoardName "Unknown"
Driver "tdfx" <--Edit this line to change your nvidia driver
# VideoRam 8192
# Clock lines


# Uncomment following option if you see a big white block instead of the cursor!
# Option "sw_cursor"

Option "DPMS"
EndSection

[ 27 November 2001: Message edited by: DMR ]

vhg119
11-27-2001, 05:01 PM
i have /etc/X11/XF86Config as well as XF86Config-4 in the same directory.. what's with this? which one is it using?

urinal cake
11-27-2001, 05:08 PM
XF864 uses the XF86Config-4
XF863x uses the XF86Config

Once-Ler
11-27-2001, 10:21 PM
I just got a new gforce card for my redhat7.2 system... and I too once had a voodoo3 card.

all i did was this.

1. plug the card in
2. Kudzu should find the new card... select yes and all that... this can also be dones with Xconfigurator
3. rebuild the source rpms
4. installed both... doing the kernel one first
5. edited /etc/X11/XF86Config-4 (nv to nvidia, and the remvoal of glcore and something dri... i'm not to sure on the exact names... but they are in the install guid).
6. I restarted the x-server (ctrl-alt-backspace)
7. my screen was black
8. restarted the computer
9. Saw the dumb nvidia logo and all seemed to work fine...

PuterFreaK
11-27-2001, 11:32 PM
Just so you know nvidia has a great Readme on their site explaining everything you can modify in the XF86Config-4 file but the main thing is modifying the Driver line under "Section "Device"" to say "nvidia" (not "nv").

The nvidia readme is avaliable here (http://www.nvidia.com/docs/lo/1021/SUPP/README.txt)

Psycho
11-28-2001, 09:58 AM
It works as advertised too, the only catch is you will have to do an rpm rebuild for the kernal module on rh7.2 unless nVidia has updated it.

It griped about the kernel version when I did it, and if you're staying current the kernel has been updated since the rh7.2 release.

I will post the formula if I still have it laying around...

<edit>
this was for the nVidia kernel src rpm, the tar.gz will need to be built anyway so this won't necessarily apply for you, but others likely have the same question ;)

rpmbuild --rebuild --target=i686 NVIDIA_kernel-1.0-1541.src.rpm

tweak the target for the archetecture of your kernel...
</edit>

--glenn

[ 28 November 2001: Message edited by: Psycho ]