PDA

View Full Version : VERY VERY slow OpenGL on NVidia 64mb (all info inside)


azote
03-09-03, 05:44 PM
ok I have A nvidia 460 Go

bash-2.05b# glxgears
1694 frames in 5.0 seconds = 338.800 FPS
1827 frames in 5.0 seconds = 365.400 FPS
1751 frames in 5.0 seconds = 350.200 FPS
1556 frames in 5.0 seconds = 311.200 FPS
1514 frames in 5.0 seconds = 302.800 FPS
I cant pay anything...
Here is my glxinfo:
bash-2.05b# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_SGIX_swap_group, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_NV_float_buffer
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 460 Go/AGP/SSE2
OpenGL version string: 1.4.0 NVIDIA 41.91
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_S3_s3tc, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_point_parameters, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_fence, GL_NV_fog_distance, GL_NV_light_max_exponent,
GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_NV_register_combiners, GL_NV_texgen_reflection,
GL_NV_texture_env_combine4, GL_NV_texture_rectangle,
GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_NVX_ycrcb, GL_SGIS_generate_mipmap,
GL_SGIS_multitexture, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

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
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r y . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x2a 24 tc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x2b 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x2c 24 tc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x2f 24 dc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x32 24 dc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x33 24 dc 0 32 0 r . . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x34 24 dc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x35 24 dc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x36 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x37 24 dc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x38 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
bash-2.05b#
here is my nvidia loaded:
]bash-2.05b# lsmod
Module Size Used by Tainted: P
nvidia 1469600 10 (autoclean)
bash-2.05b#
here is my card:

bash-2.05b# cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000017:0x1f000114

here is my agp status: bash-2.05b# cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 4x
Fast Writes: Enabled
SBA: Disabled

here is my host-bridge info:
bash-2.05b# cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: Intel i845
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000114

Can someone help me out with my XF86Config-4?

Or maybe is something on my kernel that I didnt compile...

Thanks

bwkaz
03-09-03, 07:31 PM
What does ldd $(which glxgears) tell you?

What size is the glxgears window? A lot of glxgears' performance is related to fill rate + number of pixels in the window, so if you resized the window to a large size, that might be causing part of the issue. Otherwise, what resolution and color depth are you running at?

My first guess, though, is that glxgears is linking to the wrong GL library. That's what the ldd thing is attempting to find out.

azote
03-10-03, 08:57 AM
you were a right .. I change my depht to 16 and is going a little faster... now up to 600 FPS but I think it could go faster....


here is my lib that are used by lgxgears:
bash-2.05b# ldd $(which glxgears)
libGL.so.1 => /usr/lib/libGL.so.1 (0x4001f000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4006d000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4007d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4015f000)
libm.so.6 => /lib/libm.so.6 (0x401ae000)
libc.so.6 => /lib/libc.so.6 (0x401d0000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x402f7000)
libdl.so.2 => /lib/libdl.so.2 (0x4078a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bash-2.05b#

bwkaz
03-10-03, 11:35 AM
Hmm... OK... what does ls -l /usr/lib/libGL* say?

azote
03-10-03, 01:40 PM
here is my ls -l /usr/lib/libGL*

bash-2.05b# ls -l /usr/lib/libGL*
lrwxrwxrwx 1 root root 44 Mar 9 11:49 /usr/lib/libGL.so -> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.4191
lrwxrwxrwx 1 root root 44 Mar 9 11:49 /usr/lib/libGL.so.1 -> /usr/lib/opengl/nvidia/lib/libGL.so.1.0.4191
-rw-r--r-- 1 root root 674128 Mar 8 18:27 /usr/lib/libGLU.a
-rw-r--r-- 1 root root 769 Mar 8 18:27 /usr/lib/libGLU.la
lrwxrwxrwx 1 root root 13 Mar 8 18:27 /usr/lib/libGLU.so -> libGLU.so.1.3
lrwxrwxrwx 1 root root 13 Mar 8 18:27 /usr/lib/libGLU.so.1 -> libGLU.so.1.3
-rwxr-xr-x 1 root root 585352 Mar 8 18:27 /usr/lib/libGLU.so.1.3
lrwxrwxrwx 1 root root 48 Mar 9 11:49 /usr/lib/libGLcore.so -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4191
lrwxrwxrwx 1 root root 48 Mar 9 11:49 /usr/lib/libGLcore.so.1 -> /usr/lib/opengl/nvidia/lib/libGLcore.so.1.0.4191
bash-2.05b#

bwkaz
03-10-03, 02:20 PM
/usr/lib/opengl/nvidia/lib? What the heck is that?

Which distro is this?

azote
03-10-03, 03:08 PM
im using gentoo....
www.gentoo.org

is it linking to the wrong GL library?

bwkaz
03-10-03, 05:09 PM
The library files' names appear to be right, but none of the packages that I know of put them in that directory. Unless you used a Gentoo package? You might want to just pull the .tar.gz GLX package from nVidia (rather than from Gentoo's portage system) and do a make in the GLX directory. That'll copy the right files and set up the right symlinks for sure; I'm not positive whether portage does that or not -- though I'd assume it does.

Have you tried tuxracer?

azote
03-10-03, 05:38 PM
yes I did use the gentoo package ...

im going to give it a try with the tar.gz files then .. to see what happends..

BTW what FPS im I suppose to get with the Nvidia 460 Go (64mb)

(im compiling tuxracer now)... tell you the results later...

how
03-10-03, 11:42 PM
I got the same glxgears results with my geforce2 mx 400 with same version driver.

I suspect driver problem. I checked everything and is fine.

bwkaz
03-11-03, 08:13 AM
If tuxracer is playable (i.e. runs better than 3 seconds per frame), then the driver's 3D should be working, glxgears performance notwithstanding.

azote
03-11-03, 08:59 AM
I can Play tux racer even with out using the nvidia drivers....

I cant belive that I can't play Games!!! under linux

when I can play even UT2003 with all the textures and stuff under my windows partition!!

please dont make me boot in to my WINDOWS partition to play UT2003

:afro:

bwkaz
03-11-03, 01:08 PM
Sorry, but that didn't make a whole lot of sense...

Is tuxracer playable with the drivers in the state they were in after installing the GLX .tar.gz? If you edit your ~/.tuxracer/options file, there's a place where you can turn on FPS reporting; do that and post back with a general range of FPSes. On my box, I get anywhere from 100-"inf", depending on where Tux is at the time (the really high framerates come from when he's flying so high that he's above the camera, and so no ground is being rendered). I've got a Ti4200.

What's the problem with ut2k3?

azote
03-11-03, 03:45 PM
same as you from 100 to inf ...
but when I play ut2003 in 800x600 16 bits is SOOOOOOOOOO slow!!!

but if I reboot and go into windows and run it a 1024x7... is super fast ... with the same settings...

is this normal ???

because looks like every thing is loading ok ...

:afro:

bwkaz
03-11-03, 04:40 PM
What's "SOOOOO slow" mean? Framerate?

I get anywhere from 10 in a large firefight with a bunch of bots, up to 60 or so (it's synced to my vblank, so it's capped at 60) when I'm alone in a fairly small area. So there are times when I'm lag-killed, of course, which sucks, but I don't have the cash to get a Ti 4600. ;)

how
03-11-03, 08:46 PM
yes.. tuxracer is working more than 3fps.
doesn't mean it is working properly.
everything else is slow.. opengl screensaver, quake2 1024 32bit under 30fps, quake3 under 20fps totally unreasonable!
specviewperf version 6 Awadvs-04 30fps

bwkaz
03-12-03, 07:57 AM
Originally posted by how
quake2 1024 32bit under 30fps, Sounds a lot like the problem I was having with a Radeon 7500LE last summer. Something was borked with the card, because I put the 7500LE that had been in the family's computer in, and framerates jumped up to 60fps or so in quake 2, with no driver changes at all (it was using X 4.2 and the DRI drivers at the time).

I returned the card and got a Ti4200.

azote
03-12-03, 08:46 PM
I found What what wrong!!

Is a kernel issue!!

I boot with the paramater

acpi=off

and now my FPS are at ~3000!!!!!!!!!!!!

before they where ~500

but .. if I boot with that kernel parameter I DONT HAVE SOUND...... AND NO WIRELESS INTERNET CARD....


so is a question ... of SOUND or VIDEO

:mad:

bwkaz
03-12-03, 10:13 PM
Oh! Definitely interesting, and one fix to try to remember for that kind of thing...

What sound card are you using, and what driver -- Alsa or OSS -- and what module? What do you mean by "no sound" -- is your system logging any errors, or is it just not playing anything, or are the programs you're trying to use logging any errors to the terminal you're starting them from? (if you're not starting them from a terminal, try doing that)

What kind of wireless Internet do you have? Is it just a wireless NIC, or is there something strange going on hardware-wise? Which kernel module are you using?

azote
03-12-03, 11:09 PM
I got a weird pcmcia build in wireless card that uses hermes drivers....

And my sound is a Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio

both of this wont work if I dont use ACPI....

BUT!!!!!!!!!!!!!!


Ok I just Change my kernel to

gaming-sources 2.4.20-r1

using gentoo portage!!

here is their home page:

http://members.optusnet.com.au/ckolivas/kernel/



and now I can play UT2003 without using the acpi=off .... WITH sound!! and wireless

I get ~1500 FPS with this kernel...:rolleyes: (better than ~500)

I can still get ~3000 with out sound and internet if I use the parameter for no acpi..


:afro:

Thank you all for your help!!! I really did learn some stuff !! THANKS bwkaz

azote
03-18-03, 12:01 AM
EVEN BETTER!!!!

I just compiled the kernel 2.5.64!!!!

and all my stuf work!!!

video ~3000FPS

sound! alsa! great

wireless is working great!!!

IM SO HAPPY!!

it was a kernel problem!!