LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]ati 驱动问题

[复制链接]
发表于 2007-3-27 22:13:40 | 显示全部楼层 |阅读模式
ATI Technologies Inc Radeon Mobility M6 LY
内核配置:
  1.   <*> /dev/agpgart (AGP Support)                                                       │ │
  2.   â”‚ │               < >   ALI chipset support                                                            â”‚ │
  3.   â”‚ │               < >   ATI chipset support                                                            â”‚ │
  4.   â”‚ │               < >   AMD Irongate, 761, and 762 chipset support                                     │ │
  5.   â”‚ │               < >   AMD Opteron/Athlon64 on-CPU GART support                                       â”‚ │
  6.   â”‚ │               <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support                              â”‚ │
  7.   â”‚ │               < >   NVIDIA nForce/nForce2 chipset support                                          â”‚ │
  8.   â”‚ │               < >   SiS chipset support                                                            â”‚ │
  9.   â”‚ │               < >   Serverworks LE/HE chipset support                                              │ │
  10.   â”‚ │               < >   VIA chipset support                                                            â”‚ │
  11.   â”‚ │               < >   Transmeta Efficeon support                                                     â”‚ │
  12.   â”‚ │               <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)                  â”‚ │
  13.   â”‚ │               < >   3dfx Banshee/Voodoo3+                                                          │ │
  14.   â”‚ │               < >   ATI Rage 128                                                                   │ │
  15.   â”‚ │               <*>   ATI Radeon                                                                     â”‚ │
  16.   â”‚ │               < >   Intel I810                                                                     â”‚ │
  17.   â”‚ │               <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i830 driver)  --->
复制代码



使用了以前debian的xorg。conf
  1. /etc/X11/xorg.conf (xorg X Window System server configuration file)
  2. #
  3. # This file was generated by dexconf, the Debian X Configuration tool, using
  4. # values from the debconf database.
  5. #
  6. # Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
  7. # (Type "man /etc/X11/xorg.conf" at the shell prompt.)
  8. #
  9. # This file is automatically updated on xserver-xorg package upgrades *only*
  10. # if it has not been modified since the last upgrade of the xserver-xorg
  11. # package.
  12. #
  13. # If you have edited this file but would like it to be automatically updated
  14. # again, run the following command:
  15. #   sudo dpkg-reconfigure -phigh xserver-xorg

  16. Section "Files"
  17.         FontPath        "/usr/share/fonts/X11/misc"
  18.         FontPath        "/usr/X11R6/lib/X11/fonts/misc"
  19.         FontPath        "/usr/share/fonts/X11/cyrillic"
  20.         FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
  21.         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
  22.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  23.         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
  24.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  25.         FontPath        "/usr/share/fonts/X11/Type1"
  26.         FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
  27.         FontPath        "/usr/share/fonts/X11/100dpi"
  28.         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
  29.         FontPath        "/usr/share/fonts/X11/75dpi"
  30.         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
  31. # FontPath        "/usr/share/fonts/truetype/winxp"
  32.         # path to defoma fonts
  33. #       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  34.       #  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  35. #FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
  36. EndSection

  37. Section "Module"
  38.         Load    "i2c"
  39.         Load    "bitmap"
  40.         Load    "ddc"
  41.         Load    "dri"
  42.         Load    "extmod"
  43.         Load    "freetype"
  44.         Load    "glx"
  45.         Load    "int10"
  46.         Load    "type1"
  47.         Load    "vbe"
  48. EndSection

  49. Section "InputDevice"
  50.         Identifier      "Generic Keyboard"
  51.         Driver          "kbd"
  52.         Option          "CoreKeyboard"
  53.         Option          "XkbRules"      "xorg"
  54.         Option          "XkbModel"      "pc104"
  55.         Option          "XkbLayout"     "us"
  56. EndSection

  57. Section "InputDevice"
  58.         Identifier      "Configured Mouse"
  59.         Driver          "mouse"
  60.         Option          "CorePointer"
  61.         Option          "Device"                "/dev/input/mice"
  62.         Option          "Protocol"              "ImPS/2"
  63.         Option          "Emulate3Buttons"       "true"
  64. EndSection

  65. Section "InputDevice"
  66.         Identifier      "Synaptics Touchpad"
  67.         Driver          "synaptics"
  68.         Option          "SendCoreEvents"        "true"
  69.         Option          "Device"                "/dev/psaux"
  70.         Option          "Protocol"              "auto-dev"
  71.         Option          "HorizScrollDelta"      "0"
  72. EndSection

  73. Section "Device"
  74.         Identifier      "ATI Technologies Inc Radeon Mobility M6 LY"
  75.         Driver          "ati"
  76.         BusID           "PCI:1:0:0"
  77.         # Option                "UseFBDev"              "true"
  78. EndSection

  79. Section "Monitor"
  80.         Identifier      "Generic Monitor"
  81.         Option          "DPMS"          "true"
  82.         HorizSync       28-72
  83.         VertRefresh     43-60
  84.         DisplaySize 247 185 # 96 DPI @ 1024x768
  85. EndSection

  86. Section "Screen"
  87.         Identifier      "Default Screen"
  88.         Device          "ATI Technologies Inc Radeon Mobility M6 LY"
  89.         Monitor         "Generic Monitor"
  90.         DefaultDepth    24
  91.         SubSection "Display"
  92.                 Depth           1
  93.                 Modes           "1440x900" "1024x768" "800x600"
  94.         EndSubSection
  95.         SubSection "Display"
  96.                 Depth           4
  97.                 Modes           "1440x900" "1024x768" "800x600"
  98.         EndSubSection
  99.         SubSection "Display"
  100.                 Depth           8
  101.                 Modes           "1440x900" "1024x768" "800x600"
  102.         EndSubSection
  103.         SubSection "Display"
  104.                 Depth           15
  105.                 Modes           "1440x900" "1024x768" "800x600"
  106.         EndSubSection
  107.         SubSection "Display"
  108.                 Depth           16
  109.                 Modes           "1440x900" "1024x768" "800x600"
  110.         EndSubSection
  111.         SubSection "Display"
  112.                 Depth           24
  113.                 Modes           "1440x900" "1024x768" "800x600"
  114.         EndSubSection
  115. EndSection

  116. Section "ServerLayout"
  117.         Identifier      "Default Layout"
  118.         Screen          "Default Screen"
  119.         InputDevice     "Generic Keyboard"
  120.         InputDevice     "Configured Mouse"
  121.         InputDevice     "Synaptics Touchpad"
  122. EndSection

  123. Section "DRI"
  124.         Mode    0666
  125. EndSection
复制代码


但是 glxinfo 显示不对呀
glxinfo |grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect


部分Xorg.0.log
  1. gentoo linux # cat /var/log/Xorg.0.log |grep EE
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. (II) Loading extension MIT-SCREEN-SAVER
  4. (EE) Failed to load module "synaptics" (module does not exist, 0)
  5. (EE) RADEON(0): Static buffer allocation failed.  Disabling DRI.
  6. (EE) RADEON(0): At least 9216 kB of video memory needed at this resolution and depth.
  7. (EE) AIGLX: Screen 0 is not DRI capable
  8. (EE) No Input driver matching `synaptics'
复制代码

  1. gentoo linux # cat /var/log/Xorg.0.log |grep WW
  2.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  3. (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
  4. (WW) The directory "/usr/X11R6/lib/X11/fonts/misc" does not exist.
  5. (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
  6. (WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
  7. (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
  8. (WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
  9. (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
  10. (WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
  11. (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
  12. (WW) The directory "/usr/X11R6/lib/X11/fonts/Type1" does not exist.
  13. (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
  14. (WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
  15. (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
  16. (WW) The directory "/usr/X11R6/lib/X11/fonts/75dpi" does not exist.
  17. (WW) FontPath is completely invalid.  Using compiled-in default.
  18. (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  19. (WW) Warning, couldn't open module synaptics
  20. (WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
  21. (WW) RADEON(0): Mode 1440x900 is out of range.
  22. (WW) RADEON(0): Valid modes must be between 320x200-1024x768
  23. (WW) RADEON(0): Direct rendering disabled
复制代码


帮帮忙吧 谢谢了
发表于 2007-3-27 23:44:53 | 显示全部楼层
如果你是笔记本,有触摸板,在/etc/make.conf定义
INPUT_DEVICES="keyboard mouse synaptics"
还有
VIDEO_CARDS="radeon r200"
然后xorg.conf里
Section "Device"
        ....
        Driver          "radeon" #change ati to radeon
        ....
EndSection

我的xorg.conf
http://robert.zhangle.googlepages.com/xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-28 07:12:12 | 显示全部楼层
Radeon Mobility M6 LY  也是属于r200系列的??
我的是IBM X24 老机了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-28 10:49:02 | 显示全部楼层
解决了 看了好几次日志和google
我的步骤

确保 Load "dri"
     Load "drm"
     Load "glx"
  
驱动 :ati to radeon

在 section "DRI"
添加 :Group "video"

可以忍受的话,把24位深改成16位的

在把当前用户添加到 video 组:usermod -g video joey
ok

  1. joey@gentoo ~ $ glxgears
  2. 1680 frames in 5.0 seconds = 335.766 FPS
  3. 1678 frames in 5.0 seconds = 335.460 FPS
  4. 1677 frames in 5.0 seconds = 335.398 FPS
  5. joey@gentoo ~ $ glxinfo |grep render
  6. direct rendering: Yes
  7. OpenGL renderer string: Mesa DRI Radeon 20061018 AGP 1x x86/MMX/SSE NO-TCL
复制代码


不过才 AGP 1x 的,不知道我的显卡是否支持 4x
回复 支持 反对

使用道具 举报

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

本版积分规则

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