View previous topic :: View next topic |
Author |
Message |
pwhitt Tux's lil' helper
Joined: 25 Nov 2003 Posts: 85
|
Posted: Thu Sep 23, 2004 1:36 am Post subject: glx wierdness - possible lib issue? |
|
|
hi all,
i'm running a 2.6.8-ck7 kernel, nvidia 6111 drivers, have an
athlon 2000xp with a 128Mb nvidia gf 4600ti. i have
sidebanding and fastwrites enables and all is good in
/proc/drivers/nvidia/agp/.... and in my bios.
i recently reinstalled my system with nptl. just after setting
the machine up, i started X and ran glxgears to make sure
the nvidia drivers were working correctly. i wasn't surprised
to see 4300 fps. i then installed/reinstalled a few things,
changed flags and then emerged system to make sure
everything was compiled with the new flags.
here is the wierdness-- glxgears gives me about 200 fps
now. it isn't however as bad as it seems- i can run
unreal-tournament at 1600x1200x24 with high detail and
high quality everything at over 120fps. i can maintain well
over 30fps with nvidia-settings cranking up the antialiasing
and image quality... obviously glxgears has gotten
confused, but i don't know how, and am worried that such
an issue may cause other problems.
here is some info i thought might be useful in diagnosing:
Code: | # ldd /usr/X11R6/bin/glxgears
linux-gate.so.1 => (0xffffe000)
libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0x40032000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x4009a000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400a2000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400b2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4017e000)
libm.so.6 => /lib/libm.so.6 (0x4018f000)
libc.so.6 => /lib/libc.so.6 (0x401b2000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x402c1000)
libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1 (0x40999000)
libdl.so.2 => /lib/libdl.so.2 (0x4099b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# ldd /usr/X11R6/bin/glxgears |awk {'print $3'} |xargs ls -l
ls: (0xffffe000): No such file or directory
lrwxrwxrwx 1 root root 11 Sep 21 15:43 /lib/ld-linux.so.2 -> ld-2.3.3.so
lrwxrwxrwx 1 root root 13 Sep 21 15:43 /lib/libc.so.6 -> libc-2.3.3.so
lrwxrwxrwx 1 root root 14 Sep 21 15:43 /lib/libdl.so.2 -> libdl-2.3.3.so
lrwxrwxrwx 1 root root 13 Sep 21 15:43 /lib/libm.so.6 -> libm-2.3.3.so
lrwxrwxrwx 1 root root 18 Sep 21 15:43 /lib/libpthread.so.0 -> libpthread-0.61.so
lrwxrwxrwx 1 root root 13 Sep 21 01:06 /usr/X11R6/lib/libX11.so.6 -> libX11.so.6.2
lrwxrwxrwx 1 root root 14 Sep 21 01:06 /usr/X11R6/lib/libXext.so.6 -> libXext.so.6.4
lrwxrwxrwx 1 root root 12 Sep 21 01:06 /usr/X11R6/lib/libXp.so.6 -> libXp.so.6.2
lrwxr-xr-x 1 root root 48 Sep 22 20:56 /usr/lib/libGLcore.so.1 -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.6111
lrwxrwxrwx 1 root root 17 Sep 22 06:29 /usr/lib/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.6111
lrwxrwxrwx 1 root root 25 Sep 22 06:29 /usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.1 -> libnvidia-tls.so.1.0.6111 |
does that output look right to everyone? thanks for any insight, i'm dumbfounded. |
|
Back to top |
|
|
enigma_0Z Guru
Joined: 29 Aug 2004 Posts: 531 Location: Either lurking here or at my forum (see sig)
|
Posted: Thu Sep 23, 2004 2:33 am Post subject: |
|
|
After you emerge'ed system, did you opengl-update again? You may need to change over to the nVidia interface again. _________________ Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/ |
|
Back to top |
|
|
pwhitt Tux's lil' helper
Joined: 25 Nov 2003 Posts: 85
|
Posted: Thu Sep 23, 2004 10:22 am Post subject: |
|
|
yes, i did. thanks, but no dice.
it changes nothing anyway- xorg-x11 and nvidia's drivers give comparable performance. actually i noticed that under the current circumstances xorg's was giving solid 197fps while nvidia's were yielding 195-199. the libraries pointed to above in my earlier post show that libGL was loaded from /usr/lib/opengl/nvidia, so when i last ran the test the nvidia interface was in use. |
|
Back to top |
|
|
enigma_0Z Guru
Joined: 29 Aug 2004 Posts: 531 Location: Either lurking here or at my forum (see sig)
|
Posted: Thu Sep 23, 2004 2:52 pm Post subject: |
|
|
Then, the only solution that i can think of is that perhaps under the old software and flags, glxgears simply reported a wrong FPS. You said that you didn't have any problems wth other games, right?
Odd indeed... _________________ Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/ |
|
Back to top |
|
|
pwhitt Tux's lil' helper
Joined: 25 Nov 2003 Posts: 85
|
Posted: Fri Sep 24, 2004 12:21 am Post subject: |
|
|
well, yeah, that's possible. but looking in other threads at reported glxgears frame rates, i see other users reporting anywhere from 1500 to 6000. 4300 is just what i'd guess this card should do. when glxgears reports 120fps, it's a very bad sign - it's abysmal. the fact that i can get 120fps at high res and high quality in any game is bizarre when compared to that fact.
i'm just curious if anyone is aware of a library linking problem that would cause this. |
|
Back to top |
|
|
gregfortune n00b
Joined: 21 Jan 2004 Posts: 3
|
Posted: Wed Oct 20, 2004 10:18 pm Post subject: |
|
|
Had some weird libvisual plugin problems and stumbled across something in a forum. I'll bet if you look at
Code: | ls -l /usr/lib/opengl/nvidia/lib/libnvidia-tls.so |
and
Code: | ls -l /usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so |
you'll find they differ in size. Also, note that glxgears shows linked against the one in the tls directory.
Perhaps emerging the drivers again or packages related to tls would fix it.. I took the brute force approach and replaced the one in the tls directory with the one in the lib directory. The plugins now work properly. btw, the error message I was getting was
Code: | libnvidia-tls.so.1: cannot handle TLS data |
Good luck |
|
Back to top |
|
|
astrodelgato n00b
Joined: 01 Jan 2004 Posts: 66 Location: Atlanta, GA
|
Posted: Sat Nov 13, 2004 9:12 pm Post subject: |
|
|
This also worked for me. |
|
Back to top |
|
|
|