View Single Post
Old 12-30-03, 07:12 PM   #4
eswan
Registered User
 
Join Date: Dec 2003
Posts: 23
Default

Found the secret incantation - export __GL_FORCE_DIRECT=0
Turns off direct rendering, which on my system doesn't seem to affect glxgears much.

Final setup-
64bit 2.6.0-test11 kernel w/x86-64 patches from ftp://ftp.x86-64.org/pub/linux/v2.6/
nvidia 4499 AMD64 kernel module w/minion.de patches
nvidia 4499 AMD64 X driver in /usr/X11R6/lib64/modules/drivers
nvidia 4499 AMD64 glx X11 module in /usr/X11R6/lib64/modules/extensions
nvidia 4499 AMD64 gl libraries in /usr/lib64
nvidia 5328 x86-32bit glx X11 module in /usr/X11R6/lib/modules/extensions (probably not needed, but I ain't movin it)
nvidia 5328 x86-32bit gl libraries in /usr/lib
__GL_FORCE_DIRECT set to 0

# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
...
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5200/AGP/SSE2/3DNOW!
OpenGL version string: 1.4.0 NVIDIA 44.99
...

# glxinfo32
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
...
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5200/AGP/SSE2/3DNOW!
OpenGL version string: 1.4.0 NVIDIA 44.99 << hmm.....
...

# ldd `which glxinfo32`
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x55561000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x555de000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x5563a000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x55648000)
libpthread.so.0 => /lib/libpthread.so.0 (0x55744000)
libm.so.6 => /lib/libm.so.6 (0x55797000)
libc.so.6 => /lib/libc.so.6 (0x557bb000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x558f1000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x559ae000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x559b6000)
libdl.so.2 => /lib/libdl.so.2 (0x55e61000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

# glxgears
3384 frames in 5.0 seconds = 676.800 FPS
3920 frames in 5.0 seconds = 784.000 FPS
4000 frames in 5.0 seconds = 800.000 FPS
4000 frames in 5.0 seconds = 800.000 FPS

# glxgears32
3460 frames in 5.0 seconds = 692.000 FPS
3920 frames in 5.0 seconds = 784.000 FPS
4000 frames in 5.0 seconds = 800.000 FPS
4000 frames in 5.0 seconds = 800.000 FPS

# export __GL_FORCE_DIRECT=1
# glxgears
2480 frames in 5.0 seconds = 496.000 FPS
3967 frames in 5.0 seconds = 793.400 FPS
4058 frames in 5.0 seconds = 811.600 FPS
4060 frames in 5.0 seconds = 812.000 FPS

# glxgears32
Error: glXCreateContext failed

Think I'll hit submit before a real test, just in case....
eswan is offline   Reply With Quote