Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-31-05, 11:52 AM   #1
snuggl3s
Registered User
 
Join Date: Aug 2005
Posts: 2
Default Bad openGL performance

Hi everybody,

I have a problem with my GeForce FX 5200. My system is a AMD64 3000+, 1GB Ram, Gentoo Linux (x86_64), kernel 2.6.12. I've installed the kernel and glx module and configured X. All seems to work without problems. X uses the nvidia driver without errors. But when trying to play quake3 or another game the performance is really slow. glxgear tells me about 600 FPS, which really is to slow for this system. I've tried to get this working for a few days - without solving it. Here are some more details about my system configuration:

Code:
wega ~ # cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          AGPGART
AGP Rate:        8x
Fast Writes:     Disabled
SBA:             Enabled
Code:
wega ~ # cat /proc/driver/nvidia/agp/host-bridge
Host Bridge:     PCI device 1106:3188
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x
Registers:       0x1f000a1a:0x00000b02
Code:
wega ~ # cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f000e1b:0x1f000302
glxinfo gives me the following informations
Code:
wega ~ # 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, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_multisample, GLX_NV_float_buffer
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_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5200/AGP/SSE2
OpenGL version string: 2.0.0 NVIDIA 76.76
Some lines from my xorg.conf
Code:
Section "Module"
        Load  "glx"
        Load  "record"
        Load  "vnc"
        Load  "extmod"
        Load  "dbe"
#       Load  "dri"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection 

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV34 [GeForce FX 5200]"
        BusID       "PCI:1:0:0"
  VideoRam        131072
  Option          "AGPMode" "4"
  Option          "AGPFastWrite" "false"
  Option          "EnablePageFlip" "true"
  Option          "DDCMode" "false"
  Option          "NvAGP" "2"
  Option          "RenderAccel" "true"
  Option          "RandRRotation" "false"
  Option          "NoLogo"        "false"
  Option          "DPMS"          "1"
EndSection
And also the libraries used by glxgears
Code:
wega ~ # ldd `which glxgears`
        libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00002aaaaabc1000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002aaaaad55000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aaaaae67000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaab048000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaab1dd000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaab364000)
        libGLcore.so.1 => /usr/lib64/opengl/nvidia/lib/libGLcore.so.1 (0x00002aaaab58a000)
        libnvidia-tls.so.1 => /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1 (0x00002aaaabd08000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaabe0a000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
I hope somebody could help me to fix this problem.

regards,
snuggl3s
snuggl3s is offline   Reply With Quote
Old 08-31-05, 12:00 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Bad openGL performance

snuggl3s,
Please generate and post a bug report. Also, what kind of performance are you expecting?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 08-31-05, 12:17 PM   #3
kmare
Registered User
 
Join Date: Jul 2003
Location: greece
Posts: 180
Send a message via ICQ to kmare
Default Re: Bad openGL performance

glxgears sometimes sucks anyway are you seeing poor performance with 3d games? try ppracer or something...
kmare is offline   Reply With Quote
Old 08-31-05, 02:11 PM   #4
arokh
Registered User
 
arokh's Avatar
 
Join Date: Jun 2004
Posts: 287
Default Re: Bad openGL performance

You do realize that FX5200 is a really crappy card even for low end cards? Doesn't seem to be anything wrong with your setup.
__________________
Asus A8N32-SLI : AMD64 3700+ @ 2.85GHz : 2GB PC4000 OCZ Platinum EB : 2x 7800GT SLI
arokh is offline   Reply With Quote
Old 09-01-05, 01:11 AM   #5
snuggl3s
Registered User
 
Join Date: Aug 2005
Posts: 2
Default Re: Bad openGL performance

I know that the GeForce 5200 isn't a really fast card. But Quake3 should run with more than 30 fps.
I've had a GeForce Ti 4400 before and I can't believe, that the 5200 as slower at it is at my system.
snuggl3s is offline   Reply With Quote
Old 09-01-05, 02:34 AM   #6
arokh
Registered User
 
arokh's Avatar
 
Join Date: Jun 2004
Posts: 287
Default Re: Bad openGL performance

Uhm, GF4 Ti4400 is MUCH faster than the FX5200.
__________________
Asus A8N32-SLI : AMD64 3700+ @ 2.85GHz : 2GB PC4000 OCZ Platinum EB : 2x 7800GT SLI
arokh is offline   Reply With Quote
Old 09-01-05, 05:22 AM   #7
d13f00l
Registered User
 
Join Date: Apr 2005
Posts: 197
Default Re: Bad openGL performance

Yes, something's broken.
My geforce 4mx gets several hundred frames a second in quake3, usually 350-600. That game is ancient.

GLXgears ~3500


You didn't use nvidia's binary package to install the drivers, right? You used portage and used opengl-update?
d13f00l is offline   Reply With Quote
Old 09-02-05, 12:08 AM   #8
djalma
Registered User
 
Join Date: Sep 2005
Posts: 16
Default Re: Bad openGL performance

Try this (bold) in xorg.config:
Quote:
# ************************************************** ********************
# Screen sections
# ************************************************** ********************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
Device "Aopen nVidia FX5200 128DVI"
Monitor "LG FLATRON 775FT"
##Valores permitidos: 15(sin aceleracion 3D),16,24
DefaultDepth 16
##Valores permitidos: 16,32
DefaultFbBpp 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
PD: Perfomance: TI4X00 >> FX5200
PD2: Try enabling Fast write if ur mobo support well...Im having in glxgears 1520fps at 1024x768 & 16bits with a FX5200 128MB ( 64bits DDR ) & 7676 drivers
djalma is offline   Reply With Quote

Old 09-02-05, 07:46 AM   #9
arokh
Registered User
 
arokh's Avatar
 
Join Date: Jun 2004
Posts: 287
Default Re: Bad openGL performance

I think even a GF4 MX will beat the FX5200. It really sucks that bad. Also, NEVER use glxgears as a benchmark. Tell us the exact settings you are running Quake3 in and do a "timedemo four" in the console.
__________________
Asus A8N32-SLI : AMD64 3700+ @ 2.85GHz : 2GB PC4000 OCZ Platinum EB : 2x 7800GT SLI
arokh is offline   Reply With Quote
Old 09-02-05, 01:29 PM   #10
djalma
Registered User
 
Join Date: Sep 2005
Posts: 16
Default Re: Bad openGL performance

Quote:
Originally Posted by arokh
I think even a GF4 MX will beat the FX5200. It really sucks that bad. Also, NEVER use glxgears as a benchmark. Tell us the exact settings you are running Quake3 in and do a "timedemo four" in the console.
My system specs:
Quote:
Amd Sempron 2600 @ 1.82GHz (~Athlon Xp 2200 or 2300 )
512 MB Kingston DDR400 @ 2-3-2 @ 165MHz
DFI nF2 Ultra Infinity mobo
Aopen FX5200 128MB (with DDR 333 @ 64bits ) [ 50 VGA :P ]
Sata & Pata HDisks, CDRWs

OS: Slackware GNU/Linux Current with a 2.6.13 kernel & 7676 drivers

-- AGP info --
Status: Enabled
Rate: 8X
AGP rates: 4X 8X
Fast Writes: Enabled
SBA: Enabled
Quake3 1.32b:
Quote:
Graphic Settings:

High quality (800x600 & 32b, etc) ---> 110fps

Fastest (512x384 & 16b, etc) --------> 254fps

Custom: High quality change res to 1024x768 & 16 bit colour & texture quality 16bits also -----> 92fps
Quote:
bash-3.00$ glxgears -info
GL_MAX_VIEWPORT_DIMS=4096/4096
GL_RENDERER = GeForce FX 5200/AGP/SSE/3DNOW!
GL_VERSION = 2.0.0 NVIDIA 76.76
GL_VENDOR = NVIDIA Corporation
GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp 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_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp 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_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
7182 frames in 5.0 seconds = 1436.400 FPS
7606 frames in 5.0 seconds = 1521.200 FPS
7603 frames in 5.0 seconds = 1520.600 FPS
7622 frames in 5.0 seconds = 1524.400 FPS
7603 frames in 5.0 seconds = 1520.600 FPS
Problem 4 this type of card is that the memory bus must be 128bits & DDR must be DDR400 following nVidia chip nominal specifications, but many vga makers dont follow becouse of makes a very cheap products... (like mine )
With a 128bits DDR400 memory the chip raise fps enough. Anyway this is a chip 4 lower resolutions ( decent perfomance with 128bits memory at 800x600 in 3D).

PD: Sorry 4 my english :P
djalma is offline   Reply With Quote
Old 09-02-05, 09:56 PM   #11
jarfil
Registered User
 
jarfil's Avatar
 
Join Date: Sep 2005
Location: Bilbao, Spain
Posts: 4
Send a message via MSN to jarfil
Default Re: Bad openGL performance

Hi,

I've got the same problem, and I think I got the solution

Seems the driver 7676 doesn't detect correctly AGP Fast Write even if enabled in BIOS, so just adding a NVreg_EnableAGPFW=1 option to the nvidia module seems to solve this. For example, at /etc/modprobe.conf:
Code:
options nvidia NVreg_EnableAGPFW=1
That way AGP Fast Writes get enabled:
Code:
# cat /proc/driver/nvidia/agp/status
Status:          Enabled
Driver:          NVIDIA
AGP Rate:        8x
Fast Writes:     Enabled
SBA:             Enabled
Code:
# cat /proc/driver/nvidia/agp/card
Fast Writes:     Supported
SBA:             Supported
AGP Rates:       8x 4x
Registers:       0x1f000e1b:0x1f004312
Before that, glxinfo reported all correct information, but glxgear ran at only 150 fps
Now it runs at some healthy 2250 fps (right, I have a FX5200, but nonetheless...)
jarfil is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unity 5.12 Fixes Ubuntu OpenGL Performance Problems News Archived News Items 0 06-11-12 01:20 PM
My UT2003 Tweak Guide DXnfiniteFX Gaming Central 48 10-30-02 11:59 PM
Major WineX prob... I think it has to do with the vidcard... Linewbie NVIDIA Linux 20 10-09-02 09:58 PM
Low OpenGL Performance Instinct NVIDIA Linux 10 08-08-02 03:56 PM
so let's try this again in the new forum - bad performance with correctly inst.driver neutrino NVIDIA Linux 11 08-01-02 04:19 PM

All times are GMT -5. The time now is 08:29 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.