Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nVidia legacy card -- GLX problem

2 views
Skip to first unread message

CJ.Ch...@gmail.com

unread,
Feb 13, 2006, 2:00:02 AM2/13/06
to
Hello all...

Been a VERY long time... Tell you what, I never expected college and a
girlfriend to take up so much of my life, lol!

Glad to see the likes of PTB, ERACC, Michael Heiming are still around.

Okay, so down to business.

You guys remember that old AMD K6-2 300MHz machine I used for so long
(on the order of 6 years, give or take)? Well, I still have it, it
still runs. I upgraded it to a 500MHz chip (YEAH! SPEED BABY!), but
aside from that, pretty much unchanged. Well, I just retired it for
the most part. I'll list my details in my sig for those interested,
but long story short, I am basically stuck to using an old nVidia
GeForce2 Ti 64MB video card in my new system since the card I received
for Christmas won't work in it.

* I've installed drivers from nVidia's website (the version 7176 one).
* I've configured X.org to use the new "nvidia" driver (as opposed to
"nv").
* I've eventually gotten X.org to PROPERLY load up and even use the new
driver -- I'm using it now.

Unfortunately, it's not loading the GLX module for some reason and I
can't seem to find how to make it do so. The majority of the Googling
I've done has pointed to the lassez faire items we all have read time
and again, e.g. "nvidia" vs "nv", remove the "DRI" section completely
(for nVidia drivers, at least), ensure 'Load "glx"' line exists, etc
etc etc. I found ONE reference to some directory, /usr/lib/nvidia,
that does not exist on my machine (assuming it's even SUPPOSED to with
the 7176 driver)...

Excerpts from my /var/log/Xorg.0.log :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
...snip...
(II) Loading extension NV-CONTROL
(EE) NVIDIA(0): Failed to load GLX
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

And some more infos... Don't mind my custom prompt...

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[Serenity][pts/0]
[root][/home/cj]# glxinfo
name of 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".
Error: couldn't find RGB GLX visual

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
...
... [snip to save space]
... Repeats for 0x22, 0x23, ... 0x2e, 0x2f ...
...
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x30 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Segmentation fault

[Serenity][pts/0]
[root][/home/cj]# glxgears
Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.

[Serenity][pts/0]
[root][/home/cj]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

And finally, my /etc/X11/xorg.conf (minus a few modelines and input
devices, for our bandwidth-impaired ;) )

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[Serenity][pts/0]
[root][/etc/X11]# cat xorg.conf
Section "Files"
FontPath "unix/:7100" # local font
server
<snip -- bandwidth>
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "evdev"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
Load "speedo"
EndSection

Section "Device"
Identifier "nVidia GeForce2 GTS/Ti"
Driver "nvidia"
BusID "PCI:1:0:0"
VideoRam 65536
Option "NvAGP" "1"
EndSection

Section "Monitor"
Identifier "Compaq v75"
Option "DPMS" "true"
HorizSync 30.0 - 70.0 # Warning: This may fry old Monitors
VertRefresh 50.0 - 160.0 # Very conservative. May flicker.

<edit -- this is my current, and working, mode >
# 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868
900 +hsync +vsync

EndSection

Section "Screen"
Identifier "Amanda"
Device "nVidia GeForce2 GTS/Ti"
Monitor "Compaq v75"
DefaultColorDepth 24

SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "720x400"
"640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Amanda"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

[Serenity][pts/0]
[root][/etc/X11]#
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


Okay. I have read on several Google results that I should remove the
'Load "GLCore"' from the Xorg.conf, and that's why it's not in there.
AFAIK from Google, nVidia drivers have OpenGL API built into them, so I
shouldn't need any external GL e.g. freeglut3 or Mesa or the like,
should I?


Any thoughts/advice for me?

Many, many thanks in advance!

CJ Chitwood

cj<.>chitwood<at>unf<.>edu
--
Debian GNU/Linux Unstable -- custom kernel 2.6.14.3
MSI KT4A-V MS-7021 Mainboard; AthlonXP 2000+ (O/C 1600+);
2x512MB DDR2700 SpecTek; nVidia GeForce2 Ti 64MB;

steve

unread,
Feb 13, 2006, 10:52:31 AM2/13/06
to
DRI ?

CJ.Ch...@gmail.com

unread,
Feb 13, 2006, 11:30:30 AM2/13/06
to
Everything I've read for nVidia driver installation thus far says to
completely remove any reference to DRI from my config file. If I
understand, it's because the nVidia driver has its own version of DRI
built-in.

Wim Cossement

unread,
Feb 13, 2006, 11:36:24 AM2/13/06
to
Hello,

I'm no X-pert, but I've been able to use my NVidia XGL 980 with
quad-bufferd stereo without any major editing of my X-config, so I'm
thinking your server just cannot find the glx library.

Here it is /usr/lib/opengl/nvidia/extensions/libglx.so, and
/usr/lib/modules/extensions/libglx.so is a symlink to it.

I renamed the file, restarted X, and now gxlgears is not working (Xlib:
extension "GLX" missing on display ":0.0") and /var/log/Xorg.0.log
also complains and can't find the module.

Since I can't find any reference to the path containing this libglx.so
in xorg.conf, and don't know if my location is the standard (I'm using a
Gentoo system), but linking or copying the module to the standard paths
might do the trick.

HTH,

Wimmy

imotgm

unread,
Feb 13, 2006, 11:46:59 AM2/13/06
to

Did the installer find a pre-built driver for your card, and kernel, or
did it compile one?

--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."


CJ.Ch...@gmail.com

unread,
Feb 13, 2006, 9:54:37 PM2/13/06
to

imotgm wrote:
> Did the installer find a pre-built driver for your card, and kernel, or
> did it compile one?

It compiled its own. I'm running kernel 2.6.14.3, and I configured and
compiled the kernel myself specifically for my system.

CJ.Ch...@gmail.com

unread,
Feb 13, 2006, 10:03:31 PM2/13/06
to
Wim, thanks for the thought... I've located a file by that name in the
following locations:

/usr/X11R6/lib/modules/extensions/libglx.so
/usr/X11R6/lib/modules/extensions/libglx.so.1.0.7167

Turns out the former doesn't exist; guess I must run updatedb...

I do not have a /usr/lib/opengl directory at all, nor a
/usr/lib/modules/extensions directory, so I'm wondering if those are
indeed Gentoo things... I'll do a little research (read:
trial-and-error experimentation) and see what I can come up with in the
regard of "file not found" possibility...


Thanks for the help; still open to further suggestions...

CJ

imotgm

unread,
Feb 13, 2006, 11:03:12 PM2/13/06
to
On Mon, 13 Feb 2006 19:03:31 -0800, CJ.Chitwood wrote:

> Wim, thanks for the thought... I've located a file by that name in the
> following locations:
>
> /usr/X11R6/lib/modules/extensions/libglx.so
> /usr/X11R6/lib/modules/extensions/libglx.so.1.0.7167
>
> Turns out the former doesn't exist; guess I must run updatedb...

The former is just a soft link to the latter. As root, create it.

> I do not have a /usr/lib/opengl directory at all, nor a
> /usr/lib/modules/extensions directory, so I'm wondering if those are
> indeed Gentoo things... I'll do a little research (read: trial-and-error
> experimentation) and see what I can come up with in the regard of "file
> not found" possibility...

It is. Your path to those files is the same as my Mandrake, and SUSE.

CJ.Ch...@gmail.com

unread,
Feb 14, 2006, 12:51:09 AM2/14/06
to

imotgm wrote:
> On Mon, 13 Feb 2006 19:03:31 -0800, CJ.Chitwood wrote:
>
> > Wim, thanks for the thought... I've located a file by that name in the
> > following locations:
> >
> > /usr/X11R6/lib/modules/extensions/libglx.so
> > /usr/X11R6/lib/modules/extensions/libglx.so.1.0.7167
> >
> > Turns out the former doesn't exist; guess I must run updatedb...
>
> The former is just a soft link to the latter. As root, create it.


Created the link; didn't help.

I even decided to remove the drivers. Did so several times.

Also went through Synaptic to ensure I have no Open-GL libraries
installed, etc., and I don't. I went back to nVidia and downloaded
#7174 in hopes that it was an installer issue. I installed, and
rebooted for good measure (funny how old habits lurk around). When X
wouldn't start, I looked at the log, and the last line was the one
regarding the loading of GLX:

[Serenity][pts/0]
[root][/usr/X11R6/lib/modules/extensions]# less /var/log/Xorg.0.log.old


<snip about 20 lines>
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(END)


So I commented the 'Load "glx"' line in the conf file and X starts
fine. So, whatever it is, it's definitely GL related (I don't recall
if we already knew that tho).

I did notice that every time I installed, the immediately following
reboot would show "Removing NVIDIA TLS links". I googled that exact
phrase, and found one reference to replacing a couple of symlinks. I
haven't tried it yet because the directory is empty and I'd hate to
have to manually add like a dozen symlinks or so to files whose
location is unknown to me, but I might just have to.

There was something else I was going to mention but it's late and my
brain is tired......

Cheers,

CJ

imotgm

unread,
Feb 14, 2006, 8:42:38 AM2/14/06
to
On Mon, 13 Feb 2006 21:51:09 -0800, CJ.Chitwood wrote:


> There was something else I was going to mention but it's late and my
> brain is tired......

Me too. I just caught myself with my head about two inches from the
keyboard. Big jump, look around, where am I? It's time.

Later.

CJ.Ch...@gmail.com

unread,
Feb 14, 2006, 11:57:39 PM2/14/06
to
Solution:

sh NVIDIA-Linux-x86-1.0-7174-pkg1.run --force-tls=new

glx now working, pushing out over 1500 fps! (That's a good FPS,
right?)

Many thanks to all for helping!

CJ

Wim Cossement

unread,
Feb 15, 2006, 4:24:26 AM2/15/06
to
CJ.Ch...@gmail.com wrote:
> Solution:
>
> sh NVIDIA-Linux-x86-1.0-7174-pkg1.run --force-tls=new
>
> glx now working, pushing out over 1500 fps! (That's a good FPS,
> right?)

Wee, glad it works.
But 1500 fps is probably from a application in a small window, glxgears
also spits out over 5000 frames in it's initial size :-)

Fullscreen values are a better indication, and glxgears is not realy
demanding too. 40 FPS for a full screen app/game is more then enough btw.

Wimmy

CJ.Ch...@gmail.com

unread,
Feb 15, 2006, 11:31:26 AM2/15/06
to

I always thought so... I read about people running games at 250 to 300
fps, and I think they're crazy. Even the best monitor refresh rates
are under 160 cycles per second, and the human eye has a persistence of
vision close to 24, so I've always been thinking to myself, "WTH? Why
run the processor so much harder than you have to???". So yeah, about
209 fps at fullscreen for me (1152x864).

As it turns out, though, I did *NOT* solve the problem! Upon my next
reboot, it told me it was removing NVIDIA TLS links again. But, I did
some experimenting and poking around...

I had originally tried the Debian package, not the legacy one, and when
I removed it, I did not use --purge with it, so I think it left behind
the /etc/init.d/nvidia-glx file that is VERSION="1.0.8178" (FWIW, I'm
on version 7174, as it was reported somewhere to be the latest legacy
driver). Anywhoo, I commented out the modules in the nvidia-glx file
that mentioned TLS links being created or removed and it works fine
now. I get a syntax error on bootup, so I need to go back and re-edit
the file to clean up my mess, but at least I have spinning wheels now.

And my GOD, how did I EVER play bzflag without acceleration! Thing is
SLICK! It was so smooth I saw players' network ping delays! I was
running full detail on, experimental level, 1024x768 I think... SO
much better than the old 486-style graphics I had been running at like
640x480 just to get smooth framerates -- even on my current system...

which, by the way, is:

MSI Mainboard, MS-7021 (KT4A-V)
AMD AthlonXP 1600+ (overclocked, it's acting like a 2000+ now -- only
about 200MHz diff)
2x512MB DDR2700 SpecTek RAM
AGP 4x nVidia GeForce2 Ti 64MB
Onboard realtek AC-97
Onboard LAN
Onboard USB
PCI D-Link DWL-G510 WiFi-G (ndiswrapper)

I installed a PCI sound card, ESS17-something, had it working, then it
quit for some reason, and I haven't had much time to play with it (and
I have homework due in my Computer Hardware Organization class today
and I'm quickly running low on time so I probably should really not be
posting all this fluff ;-) ).

Also, I wouldn't use the WiFi except that the cablemodem and router are
like 40 feet away in another room and the people I'm staying with would
prefer not having CAT-5 running through their living room, kitchen, and
hallway. Ping sucks; I've been kicked from a few bzflag servers
because of it (though I notice it's not as bad now that I have
acceleration).

Well, other people probably don't care what my system is ;-) so I guess
I really should be getting back to my homework...

Thanks for all the help, though....

CJ

0 new messages