LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1078|回复: 10

装完ATi驱动后,glxgear奇慢。。。

[复制链接]
发表于 2006-9-6 01:19:16 | 显示全部楼层 |阅读模式
以下是本人安装完ati驱动,运行glxgears和fgl_glxgears的结果:
  1. alyle-gentoo fcitx-3.3.1 # fgl_glxgears
  2. Using GLX_SGIX_pbuffer
  3. 2133 frames in 5.0 seconds = 426.600 FPS
  4. 2458 frames in 5.0 seconds = 491.600 FPS
  5. 2194 frames in 5.0 seconds = 438.800 FPS
  6. 2199 frames in 5.0 seconds = 439.800 FPS
  7. Broken pipe
  8. alyle-gentoo fcitx-3.3.1 # glxgears
  9. 501 frames in 5.0 seconds = 100.192 FPS
  10. 501 frames in 5.0 seconds = 100.002 FPS
  11. 558 frames in 5.0 seconds = 111.587 FPS
  12. Broken pipe
复制代码


我是ATi Mobility Radeon 9700的卡,装的是官方ati-driver-installer-8.28.8.run的驱动,也装了X11-drm。

以下分别是运行glxinfo的信息和/etc/X11/xorg.conf的内容:
glxinfo:
  1. alyle-gentoo fcitx-3.3.1 # glxinfo
  2. name of display: :0.0
  3. display: :0  screen: 0
  4. direct rendering: Yes
  5. server glx vendor string: SGI
  6. server glx version string: 1.2
  7. server glx extensions:
  8.     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
  9.     GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
  10.     GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
  11.     GLX_SGIX_fbconfig
  12. client glx vendor string: ATI
  13. client glx version string: 1.3
  14. client glx extensions:
  15.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
  16.     GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
  17.     GLX_ATI_pixel_format_float, GLX_ATI_render_texture
  18. GLX version: 1.2
  19. GLX extensions:
  20.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
  21.     GLX_ARB_multisample
  22. OpenGL vendor string: ATI Technologies Inc.
  23. OpenGL renderer string: MOBILITY RADEON 9700 Generic
  24. OpenGL version string: 2.0.6011 (8.28.8)
  25. OpenGL extensions:
  26.     GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
  27.     GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
  28.     GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
  29.     GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
  30.     GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
  31.     GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
  32.     GL_ARB_texture_compression, GL_ARB_texture_cube_map,
  33.     GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
  34.     GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
  35.     GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat,
  36.     GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_blend,
  37.     GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
  38.     GL_ARB_window_pos, GL_ARB_draw_buffers, GL_ATI_draw_buffers,
  39.     GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader,
  40.     GL_ATI_map_object_buffer, GL_ATI_separate_stencil,
  41.     GL_ATI_texture_env_combine3, GL_ATI_texture_float,
  42.     GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object,
  43.     GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams,
  44.     GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
  45.     GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
  46.     GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
  47.     GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
  48.     GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
  49.     GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
  50.     GL_EXT_rescale_normal, GL_EXT_secondary_color,
  51.     GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
  52.     GL_EXT_texgen_reflection, GL_EXT_texture3D,
  53.     GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
  54.     GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
  55.     GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
  56.     GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
  57.     GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
  58.     GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
  59.     GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
  60.     GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
  61.     GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
  62. glu version: 1.3
  63. glu extensions:
  64.     GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

  65.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  66. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  67. ----------------------------------------------------------------------
  68. 0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
  69. 0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 None
  70. ......
复制代码


/etc/X11/xorg.conf
  1. Section "ServerLayout"
  2.         Identifier     "Simple Layout"
  3.         Screen         "Screen 1" 0 0
  4.         InputDevice    "Mouse1" "CorePointer"
  5.         InputDevice    "Keyboard1" "CoreKeyboard"
  6. EndSection

  7. Section "Files"
  8.         FontPath     "/usr/share/fonts/misc"
  9.         FontPath     "/usr/share/fonts/75dpi"
  10.         FontPath     "/usr/share/fonts/100dpi"
  11.         FontPath     "/usr/share/fonts/TTF"
  12.         FontPath     "/usr/share/fonts/Type1"
  13. EndSection

  14. Section "Module"
  15.     Load       "glx"
  16.     Load       "dri"
  17.         Load  "dbe"          # Double buffer extension
  18.         SubSection "extmod"
  19.                 Option            "omit xfree86-dga"   # don't initialise the DGA extension
  20.         EndSubSection
  21.         Load  "freetype"
  22. EndSection

  23. Section "InputDevice"
  24.         Identifier  "Keyboard1"
  25.         Driver      "kbd"
  26.         Option            "AutoRepeat" "500 30"
  27.         Option            "XkbRules" "xorg"
  28.         Option            "XkbModel" "pc101"
  29.         Option            "XkbLayout" "us"
  30. EndSection

  31. Section "InputDevice"
  32.         Identifier  "Mouse1"
  33.         Driver      "mouse"
  34.         Option            "Protocol" "Auto"        # Auto detect
  35.         Option            "Device" "/dev/input/mice"
  36.         Option            "ZAxisMapping" "4 5 6 7"

  37. EndSection

  38. Section "Monitor"
  39.         Identifier   "My Monitor"
  40.         HorizSync    31.5 - 31.5
  41.         HorizSync    35.2 - 35.2
  42.         HorizSync    35.5 - 35.5
  43.         VertRefresh  50.0 - 90.0
  44. EndSection

  45. Section "Device"
  46.         Identifier  "Standard VGA"
  47.         Driver      "vga"
  48.         VendorName  "Unknown"
  49.         BoardName   "Unknown"
  50. EndSection

  51. Section "Device"
  52.         Identifier  "** ATI Radeon (generic)               [radeon]"
  53.         Driver      "fglrx"
  54. EndSection

  55. Section "Screen"
  56.         Identifier "Screen 1"
  57.         Device     "** ATI Radeon (generic)               [radeon]"
  58.         Monitor    "My Monitor"
  59.         DefaultDepth     24
  60.         SubSection "Display"
  61.                 Viewport   0 0
  62.                 Depth     8
  63.         EndSubSection
  64.         SubSection "Display"
  65.                 Viewport   0 0
  66.                 Depth     16
  67.                 Modes    "1280x1024" "1024x768" "800x600" "640x480"
  68.         EndSubSection
  69.         SubSection "Display"
  70.                 Viewport   0 0
  71.                 Depth     24
  72.                 Modes    "1280x1024" "1024x768" "800x600" "640x480"
  73.         EndSubSection
  74. EndSection

  75. Section "dri"
  76.         Mode 0666
  77. EndSection
复制代码


搞不懂为何glxgear的结果这么慢....
发表于 2006-9-6 07:40:34 | 显示全部楼层
正常,不必理会
回复 支持 反对

使用道具 举报

发表于 2006-9-6 13:04:46 | 显示全部楼层
我前段时间用2006.0的装,最后显卡装不上,我的是9600,请问make.conf中的VIDEO_CARDS选项我要填“radeon”还是“fglrx”?谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-6 13:06:50 | 显示全部楼层
Post by hfjuncn
我前段时间用2006.0的装,最后显卡装不上,我的是9600,请问make.conf中的VIDEO_CARDS选项我要填“radeon”还是“fglrx”?谢谢


我的make.conf中是这样设置的:
  1. VIDEO_CARDS="radeon fglrx vesa"
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-9-6 13:13:52 | 显示全部楼层
请问你是用了xorg-x11自带的驱动还是另外装ati官方的驱动?谢谢
回复 支持 反对

使用道具 举报

发表于 2006-9-6 16:37:51 | 显示全部楼层
Post by hfjuncn
请问你是用了xorg-x11自带的驱动还是另外装ati官方的驱动?谢谢


# emerge -av ati-drivers
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-6 17:02:39 | 显示全部楼层
Post by hfjuncn
请问你是用了xorg-x11自带的驱动还是另外装ati官方的驱动?谢谢

偶用emerge 来的 ati-drivers 有点问题,所以用的是官方的驱动,现在是用ati-driver-installer-8.28.8。
回复 支持 反对

使用道具 举报

发表于 2006-9-6 20:51:59 | 显示全部楼层
刚刚装好2006.1,还没有用emerge -av ati-drivers。
现在最重要的问题是装好后没有装上rp-pppoe,比较麻烦,上不了网
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-6 21:29:35 | 显示全部楼层
Post by hfjuncn
刚刚装好2006.1,还没有用emerge -av ati-drivers。
现在最重要的问题是装好后没有装上rp-pppoe,比较麻烦,上不了网

同志要加油哦,我从开始学安装,到现在Gnome、显卡、声卡都装好,用了一个星期呢。但是看着现在的成果,很是开心,gentoo真的带给我很多乐趣。现在正要在这系统上干出一番新事业呢!
回复 支持 反对

使用道具 举报

发表于 2006-9-7 09:35:56 | 显示全部楼层
呵呵,恭喜恭喜,偶今晚回去chroot进去装rp-pppoe看看,昨晚mount了cdrom,貌似找不到rp-pppoe的包
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表