LinuxSir.cn,穿越时空的Linuxsir!

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

请问ati显卡的开源驱动应该如何配置啊?

[复制链接]
发表于 2010-5-15 13:19:37 | 显示全部楼层 |阅读模式
显卡是ATI  Mobility Radeon X2300
系统debian lenny
貌似debian源里面的内核没有开启dri,所以如果不重编内核,我这里就无法使用开源驱动,会提示/dev/dri/card 0找不到,只能用fglrx。
在开源驱动下,将dri编进内核,可FPS只有400左右,但不影响使用,看视频也不闪,就是无法开启3d,不知在内核中还要进行什么配置啊?
前段时间用squeeze,也是用了开源驱动,但好像对我的显卡支持更差了,上网看在线视频,flash根本无法全屏。普通视频,在移动窗口时也会闪烁。不知道应该怎样配置。
开源驱动下,xorg.conf内容如下:
Section "Module"
  Load  "glx"
  Load  "dri"
  Load  "drm"
EndSection

Section "ServerLayout"
        Identifier        "Xorg Configured"
        Screen              0  "screen0" 0 0
EndSection

Section "Device"
        Identifier  "x700"
        Driver                "radeon"
        VendorName        "ATI Technologies Inc"
        BoardName        "ATI Mobility Radeon X700"
        Option          "DynamicClocks" "on"
        Option                "EnablePageFlip" "on"
EndSection

Section "Screen"
        Identifier "screen0"
        Device     "x700"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
        #        Depth        24
        #        Modes        "1280x800"
        EndSubSection
EndSection
发表于 2010-5-16 20:18:23 | 显示全部楼层
我的 xorg.conf..


  1. Section "Device"
  2.     Identifier "ATI Radeon HD 4330"
  3.     driver "radeon"
  4.     Option "AccelMethod" "EXA"
  5. EndSection

  6. Section "Module"
  7.     Load "evdev"
  8. EndSection

  9. Section "Extensions"
  10.     Option "Composite" "Enable"
  11. EndSection

  12. Section "ServerFlags"
  13.     Option "AIGLX" "On"
  14.     Option "AllowEmptyInput" "off"
  15. EndSection

  16. Section "DRI"
  17.     Mode 0666
  18. EndSection
复制代码


其实应该只要下面一段应该就可以了,其它的都可以自动识别的:
Section "Device"
    Identifier "xxxxx"
    driver "radeon"
EndSection
回复 支持 反对

使用道具 举报

发表于 2010-5-17 08:26:04 | 显示全部楼层
话说安装firmware-linux-nonfree了吗
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-17 12:20:51 | 显示全部楼层
安装firmware-linux-nonfree也没用
我发现,使用radeon,FPS只有350左右,但可以开启xv
而使用radeonhd,FPS可以达到1300左右,但不可以开启xv
两个都无法开启3D,glxinfo都显示3D为no
目前的xorg.conf如下:
Section "Module"
  Load  "glx"
  Load  "dri"
  Load  "drm"
EndSection

Section "ServerLayout"
        Identifier        "Xorg Configured"
        Screen              0  "screen0" 0 0
EndSection

Section "Extensions"
         Option  "Composite" "1"
EndSection

Section "ServerFlags"
         Option      "AIGLX"         "on"
EndSection

Section "Device"
        Identifier  "x700"
        Driver                "radeonhd"
        VendorName        "ATI Technologies Inc"
        BoardName        "ATI Mobility Radeon X700"
        Option          "DynamicClocks" "on"
        Option                "EnablePageFlip" "on"
        Option          "ColorTiling" "on"
        Option          "DRI" "on"
        #Option          "AGPMode" "8"
        #Option          "AccelMethod" "EXA"
EndSection

Section "Screen"
        Identifier "screen0"
        Device     "x700"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
        #        Depth        24
        #        Modes        "1280x800"
        EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode         0666
EndSection

Section "ServerFlags"
    Option "DontZap" "yes"
EndSection
回复 支持 反对

使用道具 举报

发表于 2010-5-21 15:52:38 | 显示全部楼层
Post by wgetfree;2090615
安装firmware-linux-nonfree也没用
我发现,使用radeon,FPS只有350左右,但可以开启xv
而使用radeonhd,FPS可以达到1300左右,但不可以开启xv
两个都无法开启3D,glxinfo都显示3D为no
目前的xorg.conf如下:
Section "Module"
  Load  "glx"
  Load  "dri"
  Load  "drm"
EndSection

Section "ServerLayout"
        Identifier        "Xorg Configured"
        Screen              0  "screen0" 0 0
EndSection

Section "Extensions"
         Option  "Composite" "1"
EndSection

Section "ServerFlags"
         Option      "AIGLX"         "on"
EndSection

Section "Device"
        Identifier  "x700"
        Driver                "radeonhd"
        VendorName        "ATI Technologies Inc"
        BoardName        "ATI Mobility Radeon X700"
        Option          "DynamicClocks" "on"
        Option                "EnablePageFlip" "on"
        Option          "ColorTiling" "on"
        Option          "DRI" "on"
        #Option          "AGPMode" "8"
        #Option          "AccelMethod" "EXA"
EndSection

Section "Screen"
        Identifier "screen0"
        Device     "x700"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
        #        Depth        24
        #        Modes        "1280x800"
        EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode         0666
EndSection

Section "ServerFlags"
    Option "DontZap" "yes"
EndSection

MESA完成Radeon的dri是最近的事,debian不可能这么快,debian也是乖乖的用fglrx吧。dri估计除非开sid才有戏
哦,你是X700啊?那应该dri完成也好久了……
我的是R600,DRI等的很悲剧,最后换N卡了
回复 支持 反对

使用道具 举报

发表于 2010-5-22 08:24:34 | 显示全部楼层
我已经换squeeze了,randeon能开启xv和3D加速,但性能不行。视频窗口拖动时还会闪烁,但不影响使用了。显卡是x2300,貌似属于R500系列。
xorg.conf:

Section "Module"
  Load  "glx"
  Load  "dri"
  Load  "drm"
EndSection

Section "ServerLayout"
        Identifier        "Xorg Configured"
        Screen              0  "screen0" 0 0
EndSection

Section "Extensions"
         Option  "Composite" "1"
EndSection

Section "ServerFlags"
         Option      "AIGLX"         "on"
EndSection

Section "Device"
        Identifier  "x2300"
        Driver                "radeon"
        VendorName        "ATI Technologies Inc"
        BoardName        "ATI Mobility Radeon X2300"
        Option          "DynamicClocks" "on"
        Option                "EnablePageFlip" "on"
        Option          "ColorTiling" "on"
        Option          "DRI" "on"
        Option "AccelMethod" "exa"
EndSection

Section "Screen"
        Identifier "screen0"
        Device     "x2300"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
        #        Depth        24
        #        Modes        "1280x800"
        EndSubSection
EndSection

Section "DRI"
    Group        "video"
    Mode         0666
EndSection

Section "ServerFlags"
    Option "DontZap" "yes"
EndSection
回复 支持 反对

使用道具 举报

发表于 2010-5-24 23:43:03 | 显示全部楼层
应该果断用闭源,因为比较省电
回复 支持 反对

使用道具 举报

发表于 2010-5-25 08:19:57 | 显示全部楼层
最新的squeeze中的ati闭源驱动已经不支持我的显卡了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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