-   Linux - Newbie (
-   -   PLEASE help with NVIDIA driver (

notslim 08-16-2003 08:34 PM

PLEASE help with NVIDIA driver

i'm trying to install a driver for my GeForce 4. and YES, i read chad's FAQ.. i installed the driver as per the readme and edited xf86config.. and then started x and...


i get an error message that i dont recall (i had to change xf86config back to vesa to boot x to post this thread.. :( ).. but its something like

device not found.. /something/nvidia1 does not exist.. something else..
screens found, but can't something..

i realise i havent been very helpfull, but i hope someone can help me anyway.

if someone NEEDS me to get the message, could they tell me how to access a log of errors?


bulliver 08-16-2003 08:39 PM

cat /var/log/XFree86.0.log

should do it, if not then

locate XFree*log

notslim 08-16-2003 09:03 PM

(EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not found)

i think that was it.

but that doesnt solve my problem..

sorry to sound spoiled, im just a little anxious to solve this...



TheOneAndOnlySM 08-16-2003 10:13 PM

ok, make sure glx is loading? maybe that is the problem?

try reinstalling the driver (make sure u say to remove the old one) and recheck your XF86Config making sure you have the driver "nvidia" loading, not "vesa" or "nvidia1" or such

just recheck that u did everything the faq at the top of this forum says

also, if u still can't get it to work, post your /etc/X11/XF86Config here

notslim 08-16-2003 10:39 PM


# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath    "unix/:7100"

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#      Option  "Xleds"        "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#      Option  "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#      Option  "XkbModel"      "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#      Option  "XkbModel"      "microsoft"
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#      Option  "XkbLayout"    "de"
# or:
#      Option  "XkbLayout"    "de"
#      Option  "XkbVariant"    "nodeadkeys"
# If you'd like to switch the positions of your capslock and
# control keys, use:
#      Option  "XkbOptions"    "ctrl:swapcaps"
# Or if you just want both to be control, use:
#      Option  "XkbOptions"    "ctrl:nocaps"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"

Section "InputDevice"
        # Modified by mouseconfig
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "PS/2"
Option      "Emulate3Buttons" "yes"
        Option      "ZAxisMapping" "4 5"

Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "no"

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Dell M992"
        DisplaySize  350        260
        HorizSync    30.0 - 96.0
        VertRefresh  50.0 - 160.0
ModeLine    "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
        ModeLine    "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
        ModeLine    "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
        ModeLine    "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +
hsync +vsync
        Option      "dpms"

Section "Device"
        Identifier  "Videocard0"
        Driver      "vesa"
        VendorName  "Videocard vendor"
        BoardName  "NVIDIA GeForce 4 (generic)"

Section "Screen"
        Identifier "Screen0"
Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    16
        SubSection "Display"
                Modes    "800x600"
        SubSection "Display"
                Depth    16
                Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"

Section "DRI"
        Group        0
        Mode        0666

--There ya go.


(i did all your other steps.. lol)

--note that the driver is set to vesa so i can boot x.. i know it should be nvidia

tearinox 08-17-2003 01:01 AM

Okay, I have a suggestion for you... I had troubles with my Nvidia (yes i have a geforce 4 Ti4200) and Steven1080 saved the day... here's what he told me:

You need to download Linux Drivers from nvidia ( ).

1. After downloading hit control+alt+f1 or f2
2. Login as root
3. Type telinit 1
4. change the directory where the drivers are at
5. Type sh or whatever the files called
6. hit accept, and it should install
7. type telinit 5 and everything should restart up

Then you got to edit a file. Open up a console, su into root.. use gedit or whatever word processor you like... gedit /etc/X11/XF86Config-4

Go down to Section "Device" and under there you should see Driver "nv"... change that to "nvidia" and hit control+alt+backspace, should restart X and see the nvidia splash screen

edit: btw keep the -opengl, makes it faster (for me anyways)

Last edited by Steven1038 on August 12th, 2003 at 02:49 PM

notslim 08-17-2003 12:16 PM

i don't mean to be rude, but i did that already. the problem is that once i change the driver code (vesa to nvidia), i cant boot X.

MasterC 08-17-2003 01:07 PM

How's about just trying a modprobe first:
modprobe nvidia &&

Of course you'll have to be root ;)

Can you post up your /etc/modules.conf



notslim 08-17-2003 01:23 PM

alias parport_lowlevel parport_pc
alias eth0 e100
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias char-major-195 nvidia
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&$
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 $

it says 'can't locate nvidia' when i run modprobe.. thoughts?


MasterC 08-17-2003 01:27 PM

Any major problems during the driver install? Which version is it?

Check your modules directory:
First, find out which kernel you are running:
uname -r
cd /lib/modules/kernel-version/kernel/drivers/video
And then:
Is the nvidia module there? If so, run:
depmod -ae
And then:
modprobe nvidia (use the full path maybe)
Finally, check:
See if 'nvidia' is listed. If not, and it's not listed in /lib/modules/kernel-version..
Then it sounds like it didn't get installed properly?


DrOzz 08-17-2003 01:39 PM

alias char-major-195 nvidia
to the /etc/modules.conf file...
modprobe nvidia
then type:
also, make sure assign irq to vga is also set in your bios.
....and see if you have any luck with that..

MasterC 08-17-2003 01:58 PM

DrOzz ;)

Check out the thread buddy! He's got that listed in there, he's tried modprobing, and he's definitely given startx a try :D

Thanks for the insight though, much appreciated! If nothing else, it's a "yeah, that's what you should do" second ;)


notslim 08-17-2003 02:16 PM

hey, guys. i really appreciate your help. we can lick this (fingers crossed ;))

2.4.20-19.9 is my kernel,
and, well, the driver doesn't seem to be installed.

darned if i know why, though.. i re-dled the driver from, reinstalled it using sh and checked again in those spots.. still nothing.

is it possible that it doesnt show up because the driver in xf86config is still VESA? again, i only switched it back so i could boot X.. that's the problem.


thanks again,


DrOzz 08-17-2003 02:35 PM

oh ok, whatever...i just thought i saw him saying, i can't locate the nvidia modules not that modprobe didn't find it....just got home from a bender on the weekend, the mind is a little slow :D

it may be trying to load an older kernel module (this is if you are upgrading, otherwise disregard this) and if so, you can find the new kernel module nvidia.o, and try: insmod nvidia.o from within the directory...

anyways i will have to assume that you must of put another kernel on your machine, right?
if that does stand true, your probably better off removing the traces of whatever you have installed right now, and re-install passing the kernel include argument to the installer...its more than likely picking up the wrong kernel headers
so run the installer like so:
sh --kernel-include-dir
and you can use:
sh --advanced-options
for more information if need be.

MasterC 08-17-2003 02:36 PM

Nah, it should be listed regardless. Make sure you've got the sources for your kernel in /usr/src and they are symlinked to /usr/src/linux Any errors during the install this time?

You can **optionally** manually extract the files, and run them on your own (check the README for info) should things get bottomed out everywhere else.


All times are GMT -5. The time now is 07:33 PM.