LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: xlwcat

有人在Radeon 9600 Mobility (M10)上使用开源驱动吗?

[复制链接]
 楼主| 发表于 2006-11-16 16:39:13 | 显示全部楼层
好像区别是在
OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX/SSE2 TCL
OpenGL version string: 1.2 (1.3 Mesa 6.5.1)

OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-16 17:02:20 | 显示全部楼层
终于找到问题的原因了。。是dri路径的问题。。
glxinfo:
  1. maomao ~ # LIBGL_DEBUG=verbose glxinfo
  2. name of display: :0.0
  3. libGL: XF86DRIGetClientDriverName: 5.2.0 r300 (screen 0)
  4. libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri//tls/r300_dri.so
  5. libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri//r300_dri.so
  6. drmOpenDevice: node name is /dev/dri/card0
  7. drmOpenDevice: open result is 4, (OK)
  8. drmOpenByBusid: Searching for BusID pci:0000:01:00.0
  9. drmOpenDevice: node name is /dev/dri/card0
  10. drmOpenDevice: open result is 4, (OK)
  11. drmOpenByBusid: drmOpenMinor returns 4
  12. drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
  13. libGL warning: 3D driver claims to not support visual 0x4b
  14. libGL error:
  15. Can't open configuration file /etc/drirc: No such file or directory.
  16. libGL error:
  17. Can't open configuration file /root/.drirc: No such file or directory.
  18. display: :0  screen: 0
  19. direct rendering: Yes
  20. server glx vendor string: SGI
  21. server glx version string: 1.2
  22. server glx extensions:
  23.     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
  24.     GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
  25.     GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
  26.     GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
  27. client glx vendor string: SGI
  28. client glx version string: 1.4
  29. client glx extensions:
  30.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  31.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
  32.     GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
  33.     GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
  34.     GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
  35.     GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
  36.     GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
  37. GLX version: 1.2
  38. GLX extensions:
  39.     GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
  40.     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
  41.     GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
  42.     GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
  43. OpenGL vendor string: Tungsten Graphics, Inc.
  44. OpenGL renderer string: Mesa DRI R300 20060815 AGP 4x x86/MMX/SSE2 TCL
  45. OpenGL version string: 1.3 Mesa 6.5.1
  46. OpenGL extensions:
  47.     GL_ARB_fragment_program, GL_ARB_imaging, GL_ARB_multisample,
  48.     GL_ARB_multitexture, GL_ARB_texture_border_clamp,
  49.     GL_ARB_texture_compression, GL_ARB_texture_cube_map,
  50.     GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
  51.     GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
  52.     GL_MESAX_texture_float, GL_ARB_texture_mirrored_repeat,
  53.     GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
  54.     GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos,
  55.     GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
  56.     GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
  57.     GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
  58.     GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
  59.     GL_EXT_draw_range_elements, GL_EXT_gpu_program_parameters,
  60.     GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_polygon_offset,
  61.     GL_EXT_rescale_normal, GL_EXT_secondary_color,
  62.     GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
  63.     GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
  64.     GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
  65.     GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
  66.     GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
  67.     GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
  68.     GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
  69.     GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
  70.     GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
  71.     GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
  72.     GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
  73.     GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
  74.     GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
  75.     GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod

  76.    visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
  77. id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
  78. ----------------------------------------------------------------------
  79. 0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  80. 0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
  81. 0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  82. 0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
  83. 0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  84. 0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
  85. 0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  86. 0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
  87. 0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  88. 0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
  89. 0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  90. 0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
  91. 0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
  92. 0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
  93. 0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
  94. 0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
  95. 0x4b 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
复制代码


现在gxlgears的速度提高了一倍,跟原来的ati驱动一样了。
  1. maomao ~ # glxgears
  2. libGL warning: 3D driver claims to not support visual 0x4b
  3. 14351 frames in 5.0 seconds = 2870.067 FPS
  4. 14282 frames in 5.0 seconds = 2856.302 FPS
复制代码


不过原来的fgl_glxgears不能和了,报错:
  1. maomao ~ # fgl_glxgears
  2. Using GLX_SGIX_pbuffer
  3. libGL warning: 3D driver claims to not support visual 0x4b
  4. X Error of failed request:  GLXUnsupportedPrivateRequest
  5.   Major opcode of failed request:  142 (GLX)
  6.   Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  7.   Serial number of failed request:  32
  8.   Current serial number in output stream:  33
复制代码


另外,那个drirc怎么弄?
回复 支持 反对

使用道具 举报

发表于 2006-11-20 20:26:14 | 显示全部楼层
fgl_glxgears是针对fglrx驱动的(即ATi的官方驱动)
DRI中针对ATi9500以上显卡的驱动是一位高人搞得r300驱动支持的,当然不能正常运行fgl_glxgears了。

r300以前的官方主页,可以去瞻仰瞻仰,现在r300的开发已经整合到mesa的代码树中去了。
http://r300.sf.net/

另外,恭喜你一下,已经学会通过看日志,自己解决问题了。

关于drirc我也没捣鼓过,关注一下,还请坛子里的高人指教。
回复 支持 反对

使用道具 举报

发表于 2006-11-21 12:48:37 | 显示全部楼层
把这个复制两份,一份 /etc/drirc ,一份 ~/.drirc
  1. <driconf>
  2.     <device screen="0" driver="r300">
  3.         <application name="all">
  4.         </application>
  5.     </device>
  6. </driconf>
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-21 18:38:53 | 显示全部楼层
谢谢各位。。新系统完成。。告别前一个俺用了不晓得多久的gentoo。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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