Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2006 21:42:28 +1300
From:      "Daniel Kerse" <daniel.kerse@gmail.com>
To:        freebsd-hardware@freebsd.org.
Subject:   GeForce4 MX 4000 - Poor performance
Message-ID:  <1fd935cc0612060042h302891fbo168f2ac6d804a564@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi List

Please CC me in on any replies, I do not currently subscribe to this list.

I have a 64MB PCI graphics card[1] and the performance leaves much to
be desired[2]. I was hoping someone could point me in the right
direction towards improving this. I am currently using the nvidia
driver [3]. Please also find attached some general information about
my system [4], some of my Xorg.log[5], /etc/X11/xorg.conf [6], and the
output of glxinfo[7]

All suggestions or requests for more information welcomed.

Dan

----------------------------------------------------------------------------------
[1]
nvidia0: <GeForce4 MX 4000> mem
0xdf000000-0xdfffffff,0xd0000000-0xd7ffffff irq 19 at device 11.0 on
pci0
nvidia0: [GIANT-LOCKED]
----------------------------------------------------------------------------------
[2]
 $glxgears -info
GL_MAX_VIEWPORT_DIMS=4096/4096
GL_RENDERER   = GeForce4 MX 4000/PCI/SSE/3DNOW!
GL_VERSION    = 1.5.6 NVIDIA 87.76
GL_VENDOR     = NVIDIA Corporation
GL_EXTENSIONS = GL_ARB_imaging GL_ARB_multitexture
GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite
GL_ARB_shader_objects GL_ARB_shading_language_100
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_minmax
GL_EXT_blend_subtract GL_EXT_clip_volume_hint
GL_EXT_compiled_vertex_array GL_EXT_Cg_shader
GL_EXT_draw_range_elements GL_EXT_fog_coord 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_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_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_rasterpos_clip GL_IBM_texture_mirrored_repeat
GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance
GL_NV_gpu_program_parameters 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_SGIS_generate_mipmap
GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum
1942 frames in 5.0 seconds = 388.394 FPS
1988 frames in 5.0 seconds = 397.518 FPS
1981 frames in 5.0 seconds = 396.184 FPS
1920 frames in 5.0 seconds = 383.497 FPS
1685 frames in 5.1 seconds = 331.403 FPS
2030 frames in 5.0 seconds = 405.954 FPS
2754 frames in 5.0 seconds = 550.727 FPS
3410 frames in 5.0 seconds = 681.929 FPS
4738 frames in 5.1 seconds = 936.760 FPS
4838 frames in 5.0 seconds = 967.508 FPS
4780 frames in 5.0 seconds = 955.983 FPS
4891 frames in 5.0 seconds = 977.145 FPS
4736 frames in 5.0 seconds = 946.320 FPS
4404 frames in 5.0 seconds = 880.760 FPS
3879 frames in 5.0 seconds = 775.779 FPS
4355 frames in 5.0 seconds = 870.918 FPS
4678 frames in 5.0 seconds = 934.994 FPS
4161 frames in 5.0 seconds = 832.065 FPS
4860 frames in 5.0 seconds = 971.886 FPS
3594 frames in 5.0 seconds = 718.676 FPS
3078 frames in 5.0 seconds = 615.533 FPS
4894 frames in 5.0 seconds = 974.180 FPS
4464 frames in 5.0 seconds = 892.708 FPS
3866 frames in 5.0 seconds = 773.156 FPS
1565 frames in 5.0 seconds = 312.574 FPS
1977 frames in 5.0 seconds = 394.824 FPS
2954 frames in 5.0 seconds = 590.562 FPS
4827 frames in 5.0 seconds = 965.234 FPS
2772 frames in 5.0 seconds = 554.396 FPS
4034 frames in 5.0 seconds = 806.322 FPS
4540 frames in 5.0 seconds = 907.859 FPS
4842 frames in 5.0 seconds = 968.171 FPS
3742 frames in 5.0 seconds = 748.264 FPS
3533 frames in 5.0 seconds = 706.592 FPS
4780 frames in 5.0 seconds = 955.900 FPS
4812 frames in 5.0 seconds = 962.296 FPS
4430 frames in 5.0 seconds = 885.863 FPS
4897 frames in 5.0 seconds = 979.371 FPS
3449 frames in 5.0 seconds = 689.784 FPS
2467 frames in 5.0 seconds = 493.365 FPS
1797 frames in 5.0 seconds = 359.350 FPS
3808 frames in 5.0 seconds = 761.521 FPS
2796 frames in 5.0 seconds = 559.121 FPS
4317 frames in 5.0 seconds = 862.584 FPS
----------------------------------------------------------------------------------
[3]
$kldstat
Id Refs Address    Size     Name
 1   18 0xc0400000 6f3df4   kernel
 2    3 0xc0af4000 1adb8    linux.ko
 3    1 0xc0b0f000 6170     snd_via8233.ko
 4    2 0xc0b16000 22b88    sound.ko
 5    1 0xc0b39000 4a51cc   nvidia.ko
 6    1 0xc0fdf000 59f20    acpi.ko
 7    1 0xc3c5e000 6000     linprocfs.ko
 8    1 0xc3e2c000 2000     green_saver.ko
----------------------------------------------------------------------------------
[4]
$uname -a
FreeBSD schooner.harbour 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun
Nov  5 20:43:52 NZDT 2006
root@schooner.harbour:/usr/obj/usr/src/sys/GENERIC  i386
----------------------------------------------------------------------------------
[5]
$grep -n -i nv /var/log/Xorg.0.log
19:(**) |   |-->Device "** NVIDIA (generic)                   [nv]"
95:(--) PCI:*(0:11:0) nVidia Corporation NV18 [GeForce4 MX 4000 AGP
8x] rev 193, Mem @ 0xdf000000/24, 0xd0000000/27, BIOS @ 0xdefe0000/17
242:(II) Module glx: vendor="NVIDIA Corporation"
247:(II) LoadModule: "nvidia"
248:(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.so
249:(II) Module nvidia: vendor="NVIDIA Corporation"
264:(II) NVIDIA dlloader X Driver  1.0-8776  Mon Oct 16 22:00:36 PDT 2006
265:(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
268:(--) Chipset NVIDIA GPU found
349:(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
350:(==) NVIDIA(0): RGB weight 888
351:(==) NVIDIA(0): Default visual is TrueColor
352:(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
353:(**) NVIDIA(0): Enabling RENDER acceleration
354:(II) NVIDIA(0): NVIDIA GPU GeForce4 MX 4000 at PCI:0:11:0
355:(--) NVIDIA(0): VideoRAM: 65536 kBytes
356:(--) NVIDIA(0): VideoBIOS: 04.18.20.36.04
357:(--) NVIDIA(0): Interlaced video modes are supported on this GPU
358:(--) NVIDIA(0): Connected display device(s) on GeForce4 MX 4000 at
359:(--) NVIDIA(0):     PCI:0:11:0:
360:(--) NVIDIA(0):     Dell E770s (CRT-0)
361:(--) NVIDIA(0): Dell E770s (CRT-0): 350.0 MHz maximum pixel clock
362:(II) NVIDIA(0): Assigned Display Device: CRT-0
363:(II) NVIDIA(0): Validated modes:
364:(II) NVIDIA(0):     "1280x1024"
365:(II) NVIDIA(0):     "1024x768"
366:(II) NVIDIA(0):     "800x600"
367:(II) NVIDIA(0):     "640x480"
368:(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
369:(--) NVIDIA(0): DPI set to (81, 81); computed from "UseEdidDpi" X
config option
410:(II) NVIDIA(0): Setting mode "1280x1024"
411:(II) Loading extension NV-GLX
412:(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
413:(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
414:(==) NVIDIA(0): Backing store disabled
415:(==) NVIDIA(0): Silken mouse enabled
416:(II) Loading extension NV-CONTROL
458:(II) XINPUT: Adding extended input device "NVIDIA Event Handler"
(type: Other)
462:nvClipLock: client timed out, taking the lock
----------------------------------------------------------------------------------
[6]
Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    Fontpath    "/usr/local/share/fonts/amspsfont/type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/bitstream-vera/"
    Fontpath    "/usr/local/share/fonts/cmpsfont/type1/"
    FontPath    "/usr/local/share/ghostscript/fonts/"
    Fontpath    "/usr/local/share/apps/konsole/fonts/"
    Fontpath    "/usr/X11R6/lib/X11/fonts/URW/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto" # Auto detect
    Option "Device"      "/dev/sysmouse"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection

Section "Monitor"
    Identifier  "Dell e770s"
    HorizSync   30-70
    VertRefresh 50-160
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

# Device configured by xorgconfig:
Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    #Driver      "nv"
    Driver      "nvidia"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "** NVIDIA (generic)                   [nv]"
    Monitor     "Dell e770s"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

----------------------------------------------------------------------------------
[7]
$glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
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
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
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_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX 4000/PCI/SSE/3DNOW!
OpenGL version string: 1.5.6 NVIDIA 87.76
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_pixel_buffer_object,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
    GL_ARB_shading_language_100, 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_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, 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_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_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_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fence,
    GL_NV_fog_distance, GL_NV_gpu_program_parameters,
    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_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
    GL_SUN_slice_accum
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  4 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x2e 24 tc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x30 24 tc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x31 24 tc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x33 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x34 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x35 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
0x39 24 dc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x3a 24 dc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x3b 24 dc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x3d 24 dc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x3e 24 dc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x3f 24 dc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x40 24 dc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1fd935cc0612060042h302891fbo168f2ac6d804a564>