Nvidia troubles again.....

jay jnitroracer2 at yahoo.com
Sat Feb 21 15:22:29 UTC 2004


On Sat, 2004-02-21 at 05:37, Nguyen Anh Phu wrote:
> Hope this will help you:
> 1. Stop X
> 2. Uninstall Nvidia driver: $nvidia-installer --uninstall
> 3. Remove (should backup first) /usr/X11R6/lib/tls
> 4. Rebuild Nvidia driver: $./NVIDIA-Linux-x86-1.0-5336-pkg1.run
> 5. Start X and try glxgears
> 6. If it doesn't work (it works for me), restore your tls backup, then try
> to ask again.
> 
> ----
> Phu
> 
> -----Original Message-----
> From: fedora-list-admin at redhat.com [mailto:fedora-list-admin at redhat.com] On
> Behalf Of Jim Radford
> Sent: Monday, February 16, 2004 5:34 AM
> To: fedora-list at redhat.com
> Subject: Nvidia troubles again.....
> 
> 
> Sorry to bug you all again, but I can't seem to work out what my problem is 
> (apart from a low IQ).  ;)
> 
> I have updated my kernel to the latest version using up2date.
> 
> [root at mailgate root]# uname -srvpoi
> Linux 2.4.22-1.2166.nptl #1 Fri Jan 30 13:52:48 EST 2004 athlon i386
> GNU/Linux
> 
> And I used the latest .run file from the Nvidia website:
> 
> NVIDIA-Linux-x86-1.0-5336-pkg1.run
> 
> Now, when I boot, I get into X fine, and I've been running for 24hrs with no
> 
> problem. However, I've just come to play my weekly game of Neverwinter with 
> some friends and I get this:
> 
> [root at mailgate nwn]# ./nwn
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> Failed to initialize graphics.
> 
> Erk, obviously that's not good. I noticed this in my XFree86.0.log:
> 
> (EE) NVIDIA(0): Failed to load GLX
> 
> Also, this I spotted in 'messages':
> 
> Feb 15 22:10:06 mailgate kernel: 0: nvidia: loading NVIDIA Linux x86 NVIDIA 
> Kernel Module  1.0-5336  Wed Jan 14 18:29:26 PST 2004
> Feb 15 22:10:06 mailgate insmod: Warning: loading 
> /lib/modules/2.4.22-1.2166.nptl/kernel/drivers/video/nvidia.o will taint the
> 
> kernel: non-GPL license - NVIDIA
> Feb 15 22:10:06 mailgate insmod:   See
> http://www.tux.org/lkml/#export-tainted
> for information about tainted modules
> Feb 15 22:10:06 mailgate insmod: Module nvidia loaded, with warnings
> Feb 15 22:10:08 mailgate kernel: Linux agpgart interface v0.99 (c) Jeff 
> Hartmann
> Feb 15 22:10:08 mailgate kernel: agpgart: Maximum main memory to use for agp
> 
> memory: 439M
> Feb 15 22:10:08 mailgate kernel: agpgart: Detected Via Apollo Pro KT266 
> chipset
> Feb 15 22:10:08 mailgate kernel: agpgart: AGP aperture is 64M @ 0xe8000000
> 
> And
> 
> Feb 15 22:10:38 mailgate modprobe: modprobe: Can't locate module 
> sound-service-0-0
> Feb 15 22:10:38 mailgate modprobe: modprobe: Can't locate module
> sound-slot-1
> Feb 15 22:10:38 mailgate modprobe: modprobe: Can't locate module 
> sound-service-1-0
> Feb 15 22:10:38 mailgate modprobe: modprobe: Can't locate module
> sound-slot-1
> Feb 15 22:10:38 mailgate modprobe: modprobe: Can't locate module 
> sound-service-1-0
> 
> (but I don't think the sound ones are related - what are they about?)
> 
> My XFree86 config is:
> 
> 
> # XFree86 4 configuration created by redhat-config-xfree86
> 
> Section "ServerLayout"
>         Identifier     "single head configuration"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> 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"
>         ModulePath   "/usr/X11R6/lib/modules/extensions/nvidia"
>         ModulePath   "/usr/X11R6/lib/modules/extensions"
>         ModulePath   "/usr/X11R6/lib/modules"
>         FontPath     "unix/:7100"
> EndSection
> 
> Section "Module"
>         Load  "dbe"
>         Load  "extmod"
>         Load  "fbdevhw"
>         Load  "glx"
>         Load  "record"
>         Load  "freetype"
>         Load  "type1"
> EndSection
> 
> 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" "gb"
> EndSection
> 
> 
> 
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "IMPS/2"
>         Option      "Device" "/dev/input/mice"
>         Option      "ZAxisMapping" "4 5"
>         Option      "Emulate3Buttons" "no"
> EndSection
> 
> 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"
> EndSection
> 
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "Gateway VX1100"
>         HorizSync    31.0 - 108.0
>         VertRefresh  50.0 - 160.0
>         Option      "dpms"
> EndSection
> 
> Section "Device"
>         Identifier  "Videocard0"
>         Driver      "nvidia"
>         VendorName  "Videocard vendor"
>         BoardName   "NVIDIA GeForce 4 (generic)"
> EndSection
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Videocard0"
>         Monitor    "Monitor0"
>         DefaultDepth     24
>         SubSection "Display"
>                 Depth     24
>                 Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" 
> "1152x864" "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
> 
> Section "DRI"
>         Group        0
>         Mode         0666
> EndSection
> 
> Lastly, I get this:
> 
> [root at mailgate root]# glxgears 
> Xlib:  extension "GLX" missing on display ":0.0".
> Error: couldn't get an RGB, Double-buffered visual
> 
> It seems to me that GLX isn't loading - but I don't know how to get it to 
> load.
> 
> Any clues would be greatly received. Sorry for the long spammy post - but I 
> thought I'd include everything that I thought was relevant.
> 
> If this have been covered before - and I'm sure it just a stupid mistake - 
> just point me to the old thread. 
> 
> Thanks
> -- 
> Jim Radford
>    "If at first you don't succeed - change the DC"
> 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> go to this website http://fedora.artoo.net/faq/ then save the yum.conf file to your home directory
then in a terminal become root and move the yum.conf to it's existing
location, this will overwrite the old one .. If your not sure how to
move the file type : mv yum.conf /etc/yum.conf .. It will then ask you
to overwrite old file just say yes.... NOW open a terminal and become
root and type: yum install nvidia .... This will install the nvidia
kernel module and and glx for you and setup your X86Config all you'll
have to do is restart X wil a quick ctrl +  atl +backspace 





More information about the fedora-list mailing list