LinuxSir.cn,穿越时空的Linuxsir!

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

请教ati9550开源驱动3d性能不佳

[复制链接]
发表于 2009-2-28 00:03:41 | 显示全部楼层 |阅读模式
pacman -S xf86-video-ati libgl

xorg.conf应该也没写错,照arch的wiki写的

glxinfo | grep direct rending 也是yes

但是

glxgear 只有140帧

而且kde的桌面特效无法开启
发表于 2009-2-28 01:11:24 | 显示全部楼层
paste your xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-28 10:46:09 | 显示全部楼层
Post by zhuqin_83;1953844
paste your xorg.conf


Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
#        InputDevice    "Keyboard0" "CoreKeyboard"
#        InputDevice    "S/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
       
EndSection

Section "Files"
#        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/cyrillic"
#        FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#        FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
#        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/share/fonts/defoma/CID"
        FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "drm"
        Load  "bitmap" # bitmap-fonts
        Load  "type1"
        Load  "freetype"
        Load  "record"
        #   Load  "synaptics"
EndSection

#Section "InputDevice"
#        Identifier  "Keyboard0"
#        Driver      "keyboard"
#       Option      "CoreKeyboard"
#        Option "XkbRules" "xorg"
#        Option "XkbModel" "pc105"
#        Option "XkbLayout" "us"
#        Option "XkbVariant" ""
#EndSection

#Section "InputDevice"
#        Identifier  "Serial Mouse"
#        Driver      "mouse"
#        Option      "rotocol" "Microsoft"
#        Option      "Device" "/dev/ttyS0"
#        Option      "Emulate3Buttons" "true"
#        Option      "Emulate3Timeout" "70"
#        Option            "SendCoreEvents"  "true"
#EndSection

#Section "InputDevice"
#        Identifier  "S/2 Mouse"
#        Driver      "mouse"
#        Option      "rotocol" "auto"
#        Option          "ZAxisMapping"          "4 5"
#        Option      "Device" "/dev/psaux"
#        Option      "Emulate3Buttons" "true"
#        Option      "Emulate3Timeout" "70"
#        Option            "SendCoreEvents"  "true"
#EndSection

#Section "InputDevice"
#        Identifier      "USB Mouse"
#       Driver          "mouse"
#        Option          "Device"                "/dev/input/mice"
#        Option                "SendCoreEvents"        "true"
#        Option          "rotocol"              "IMPS/2"
#       Option          "ZAxisMapping"          "4 5"
  #      Option          "Buttons"               "5"
#EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
        Identifier "Monitor0"
                Option "DPMS" "true"
#        HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#        VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT
        ModeLine "1024x768x60"     65.00   1024 1056 1192 1344    768  771  777  806 -hsync -vsync
        Option "referredMode" "1024x768x60"

       
EndSection

# Auto-generated by Archie mkxcfg


Section "Device"
        Identifier  "Card0"
        Driver "radeon"
        Option "XAANoOffscreenPixmaps" "true"
        Option "AGPMode" "8"
        Option "ColorTiling" "on"
#        Option "AccelMethod" "EXA"
        Option "EnablePageFlip" "on"
#        Option "AGPFastWrite" "yes"
        Option "RenderAccel" "true"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
                Modes "1024x768x60"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
#        Mode "1024x768x60"     65.00   1024 1056 1192 1344    768  771  777  806 -hsync -vsync
        Option "referredMode" "1024x768x60"
EndSection

Section "DRI"
        Group "video"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "1"
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-28 10:51:30 | 显示全部楼层
我卸载驱动,又重装了一次就好了
arch也抽风么
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-28 11:17:10 | 显示全部楼层
搞清楚了
运行
LIBGL_DEBUG=verbose glxinfo > /dev/null
可以看到
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r300_dri.so
原来r300_dri.so这个文件不见了,重装了一次就看到这个文件了
回复 支持 反对

使用道具 举报

发表于 2009-2-28 11:49:08 | 显示全部楼层
use exa rather than xxa, should be much faster.
also add
  1. Option      "AccelDFS"                "on"
复制代码
to the device section
回复 支持 反对

使用道具 举报

发表于 2009-2-28 14:02:52 | 显示全部楼层
我的显卡也是ATI R9550,试试再说。
回复 支持 反对

使用道具 举报

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

本版积分规则

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