LinuxSir.cn,穿越时空的Linuxsir!

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

ati显卡驱动的问题。

[复制链接]
发表于 2004-11-14 10:17:56 | 显示全部楼层 |阅读模式
我使用的是ATI9600移动版的显卡,安装了xorg 6.8.1,不知道如何使用驱动程序。
我使用了ati-drivers,但是这个东西好象要求的是6.7.0版本的xorg。
如果使用6.8.1自带的驱动(Radeon)如何加载glx和dri?现在只要一输入glxgear马上进入死机状态,也许是速度比较慢。如果使用glxinfo就是偶尔死机。现在使用自带的glx驱动可以加载了,但是dri还是加载不了,说是没有模块。
发表于 2004-11-14 10:24:02 | 显示全部楼层
移动版本,我不知道是否有专门的驱动。我记得没有的。。。

Xorg自己的,就很容易了。编译Xorg自己就带的。
 楼主| 发表于 2004-11-14 11:21:56 | 显示全部楼层
最初由 黯然销魂 发表
移动版本,我不知道是否有专门的驱动。我记得没有的。。。

Xorg自己的,就很容易了。编译Xorg自己就带的。

但是dri总是加载不了。
[PHP]iBeyond ~ # glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.1)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x3f 32 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
iBeyond ~ #

[/PHP]
发表于 2004-11-14 14:55:52 | 显示全部楼层
我的显卡是 radeon mobility M6 LY,现在在xorg-6.8.0下使用xorg自带的驱动,glx,dri正常。

根据我的理解,对于 ATI9600移动版 ,应该是使用ati-drivers。而像我的这种比较老的显卡,ati-drivers不支持的时候,才使用xorg自带的驱动。xorg自带的驱动,对于比较新的显卡,像搂主的显卡,应该是3D加速方面效果不佳。

所以,不建议使用xorg自带的驱动,而使用ati-drivers。是否ati-drivers只能在xorg-6.7下安装,我也不知道了。记得ati网站上有一篇ati-drivers  for  linux 的安装手册,楼主去参考一下。
发表于 2004-11-14 16:01:27 | 显示全部楼层
兄弟你走运了.我的也是移动版ATI RADEON 9200,刚装好我的驱动,一上来就看到你的帖子.我简单给你看下我运行的结果:
glxgears
6413 frames in 5.0 seconds = 1282.600 FPS
8161 frames in 5.0 seconds = 1632.200 FPS
8161 frames in 5.0 seconds = 1632.200 FPS
7618 frames in 5.0 seconds = 1523.600 FPS
7581 frames in 5.0 seconds = 1516.200 FPS

fgl_glxgears(ati-drivers驱动自带的显卡测试程序,运行的是3D)
1562 frames in 5.0 seconds = 312.400 FPS
1038 frames in 5.0 seconds = 207.600 FPS
1850 frames in 5.0 seconds = 370.000 FPS
1641 frames in 5.0 seconds = 328.200 FPS

glxinfo |grep -e 'direct' -e 'OpenGL'
direct rendering: Yes
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9000 DDR Generic
OpenGL version string: 1.3.4641 (X4.3.0-3.14.6)
OpenGL extensions:

不好意思,我刚装好,现在感觉有点累.我迟点给你回个帖子来教你安装吧.或者加我MSN和发EM给我:ricky293@tom.com(MSN也是这个)

先告诉你的就是ati-drivers只能在6.7版本下安装.
发表于 2004-11-14 18:25:36 | 显示全部楼层
发表于 2004-11-25 23:20:12 | 显示全部楼层
最初由 performcanhe 发表
我的显卡是 radeon mobility M6 LY,现在在xorg-6.8.0下使用xorg自带的驱动,glx,dri正常。

根据我的理解,对于 ATI9600移动版 ,应该是使用ati-drivers。而像我的这种比较老的显卡,ati-drivers不支持的时候,才使用xorg自带的驱动。xorg自带的驱动,对于比较新的显卡,像搂主的显卡,应该是3D加速方面效果不佳。

所以,不建议使用xorg自带的驱动,而使用ati-drivers。是否ati-drivers只能在xorg-6.7下安装,我也不知道了。记得ati网站上有一篇ati-drivers  for  linux 的安装手册,楼主去参考一下。



我的laptop也是radeon mobility M6 LY,想請教你是怎麼設定的呢?雖然我的xorg-x11也是可以用,可以我查/var/log/Xorg.0.log有一些error總覺得不舒服,你提供一下你的設定方法好嗎?我的xorg.con裡
Driver      "radeon"
還有你的kernel有編哪些相關的進去呢?

這是我的錯誤
(==) RADEON(0): Write-combining range (0xe8000000,0x1000000)
(II) RADEON(0): Dynamic Clock Scaling Disabled
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "radeon"
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
发表于 2004-11-27 18:47:47 | 显示全部楼层

radeon mobility M6 LY的设置说明(dri opengl glx ati xorg agp)

官方论坛有一篇帖子专门讲radeon mobility M6 LY的设置的。我先把我的设置说给你:

编译kernel的时候要注意把以下内容选中:

  1.       Device Drivers  --->  Character devices  --->         
  2. <*> /dev/agpgart (AGP Support)  
  3. <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support(注意,这一项要选中,否则下面的i830 driver的选项就不出现。我假设你的laptop的主板是i830,通常使用readon m6显卡的laptop都是这个主板.)
  4. [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
  5. <*>   ATI Radeon  
  6. <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i830 driver)  --->
  7. (我假设你的主板是i830等)
复制代码


xorg.conf设置相关的部分:

  1. Section "Module"
  2.         Load "extmod"
  3.         Load "glx"
  4.         Load "dri"
  5.         Load "dbe"
  6.         Load "record"
  7.         Load "xtrap"
  8. EndSection
  9. (其中glx dri一定要有,其它的我也不清楚了)

  10. Section "Device"
  11.         Identifier      "Card0"
  12.         Driver          "radeon"
  13.         option          "DPMS"
  14.         option          "AGPMode" "4"
  15.         option          "BackingStore" "on"
  16.         Option          "MonitorLayout" "LVDS"
  17.         Option          "EnablePageFlip" "on"
  18.         Option          "AGPFastWrite" "on"
  19.         VendorName      "ATI Technologies Inc"
  20.         BoardName       "Radeon Mobility M6 LY"
  21. EndSection

  22. Section "DRI"
  23.         Mode 0666
  24. EndSection
复制代码

因为使用dri的radeon的驱动,所以不需要安装ati-drivers.(ati-drivers不支持radeon M6,装了也没用)。

good luck!
发表于 2004-11-28 13:16:05 | 显示全部楼层

回复: radeon mobility M6 LY的设置说明(dri opengl glx ati xorg agp)

最初由 performcanhe 发表
官方论坛有一篇帖子专门讲radeon mobility M6 LY的设置的。我先把我的设置说给你:

编译kernel的时候要注意把以下内容选中:

  1.       Device Drivers  --->  Character devices  --->         
  2. <*> /dev/agpgart (AGP Support)  
  3. <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support(注意,这一项要选中,否则下面的i830 driver的选项就不出现。我假设你的laptop的主板是i830,通常使用readon m6显卡的laptop都是这个主板.)
  4. [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
  5. <*>   ATI Radeon  
  6. <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i830 driver)  --->
  7. (我假设你的主板是i830等)
复制代码


xorg.conf设置相关的部分:

  1. Section "Module"
  2.         Load "extmod"
  3.         Load "glx"
  4.         Load "dri"
  5.         Load "dbe"
  6.         Load "record"
  7.         Load "xtrap"
  8. EndSection
  9. (其中glx dri一定要有,其它的我也不清楚了)

  10. Section "Device"
  11.         Identifier      "Card0"
  12.         Driver          "radeon"
  13.         option          "DPMS"
  14.         option          "AGPMode" "4"
  15.         option          "BackingStore" "on"
  16.         Option          "MonitorLayout" "LVDS"
  17.         Option          "EnablePageFlip" "on"
  18.         Option          "AGPFastWrite" "on"
  19.         VendorName      "ATI Technologies Inc"
  20.         BoardName       "Radeon Mobility M6 LY"
  21. EndSection

  22. Section "DRI"
  23.         Mode 0666
  24. EndSection
复制代码

因为使用dri的radeon的驱动,所以不需要安装ati-drivers.(ati-drivers不支持radeon M6,装了也没用)。

good luck!


謝謝,果然可以了
发表于 2004-12-8 12:10:49 | 显示全部楼层

回复: radeon mobility M6 LY的设置说明(dri opengl glx ati xorg agp)

最初由 performcanhe 发表

xorg.conf设置相关的部分:


  1. Section "Device"
  2.         Identifier      "Card0"
  3.         Driver          "radeon"
  4.         option          "DPMS"
  5.         option          "AGPMode" "4"
  6.         option          "BackingStore" "on"
  7.         Option          "MonitorLayout" "LVDS"
  8.         Option          "EnablePageFlip" "on"
  9.         Option          "AGPFastWrite" "on"
  10.         VendorName      "ATI Technologies Inc"
  11.         BoardName       "Radeon Mobility M6 LY"
  12. EndSection

  13. Section "DRI"
  14.         Mode 0666
  15. EndSection
复制代码


        option          "DPMS"
        option          "BackingStore" "on"
这两个参数是用来起什么作用的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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