OpenGL and nVidia question...

Tom Fogal tfogal at io.iol.unh.edu
Sun Jan 25 20:08:56 EST 2004


Most problems ive seen with these drivers comes from X utilizing the old
GLX libraries that came with your distribution.

do a find for libGL* in all of the directories listed in /etc/ld.so.conf
and rm them. then install the nvidia drivers (dont forget to ldconfig)
use 'glxinfo'. make sure 'Direct Rendering: ' gives 'yes'. if its 'no', 
examine /var/log/XFree86.0.log (or whatever log file you have configured) to
see for warnings or errors or just general info about ogl.

if its yes but its still slow, you probably missed a lib. examine the log file
to see what libs X is using and make sure those are updated. the new nvidia
tarballs also have a cmd-line switch to extract itself and therefore let you
install the old way, which will give much more logical/'base' errors that 
should be easier to debug.

oh, just read your glxinfo output, my bad.. oh well, other advice might help
someone else =)

HTH,

-tom

> I just switched from the default nv driver to the nvidia commercial one 
> and I'm not too pleased.
> 
> 
> The framerate on anything using GLX is abyssmal.  We're talking 6.2 FPS 
> on glxgears and about one frame per 20 seconds on America's Army or 
> ut2003demo.
> 
> Perhaps someone here could tell me what I'm doing wrong? Please?  After 
> reading the docs, I think I have everything configured right...
> 
> System info:
> Athlon XP 2200+
> 512MB RAM
> GeForce FX 5200 128MB
> Mandrake Linux 9.2 with 2.4.22-1mdk kernel
> Using the latest nVidia driver, 1.0-5328
> 
>  From my XF86config-4:
> 
> Section "Module"
>      Load "dbe" # Double-Buffering Extension
>      Load "v4l" # Video for Linux
>      Load "extmod"
>      Load "type1"
>      Load "freetype"
>      Load "glx" # 3D layer
> EndSection
> Section "Monitor"
>      Identifier "monitor1"
>      VendorName "Mitsubishi"
>      ModelName "Mitsubishi Diamond Scan 17HX (FFF8705)"
>      HorizSync 30.0-82.0
>      VertRefresh 50.0-130.0
> EndSection
> Section "Device"
>      Identifier "device1"
>      VendorName "NVidia"
>      BoardName "NVIDIA GeForce FX (generic)"
>      Driver "nvidia"
> #    Option "DPMS"
> EndSection
> Section "Screen"
>      Identifier "screen1"
>      Device "device1"
>      Monitor "monitor1"
>      DefaultColorDepth 24
>         Subsection "Display"
>          Depth 24
>          Virtual 1280 1024
>      EndSubsection
> EndSection
> Section "ServerLayout"
>      Identifier "layout1"
>      InputDevice "Keyboard1" "CoreKeyboard"
>      InputDevice "Mouse1" "CorePointer"
>      Screen "screen1"
> EndSection
> 
> 
> 
> 
> 
> 
> 
> # glxgears
> 28 frames in 5.0 seconds =  5.600 FPS
> 32 frames in 5.0 seconds =  6.400 FPS
> 31 frames in 5.0 seconds =  6.200 FPS
> 32 frames in 5.0 seconds =  6.400 FPS
> 
> # 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_SGIX_fbconfig, GLX_SGIX_pbuffer,
>      GLX_SGI_swap_control, GLX_NV_float_buffer
> 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/SSE/3DNOW!/forceSW
> OpenGL version string: 1.4.1 NVIDIA 53.28
> OpenGL extensions:
>      GL_ARB_depth_texture, GL_ARB_fragment_program, 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_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_transpose_matrix,
>      GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, 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_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_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_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_NVX_ycrcb,
>      GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
>      GL_SGIX_shadow, GL_SUN_slice_accum
> glu version: 1.3
> glu extensions:
>      GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss



More information about the gnhlug-discuss mailing list