ATI 9600显卡使用开源驱动配置AIGLX和Beryl

GnomeShell/Unity/Beryl/AiGLX/XGL/Compiz Fusion
沧海月明
帖子: 66
注册时间: 2005-10-29 16:49
送出感谢: 0
接收感谢: 0

ATI 9600显卡使用开源驱动配置AIGLX和Beryl

#1

帖子 沧海月明 » 2007-02-14 15:14

受不了ATI的官方驱动,也受不了Xgl的系统资源占用量,尝鲜用了开源驱动,配置下来花了不少功夫,

现在用的版本是7.04feisty,ubuntu下的ATI开源驱动一般都自动安装好了,只需要修改一下etc/X11/xorg.conf,就可以了

我的ATI9600显卡的配置如下,仅供参考:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"

EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "dbe"

Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"

# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "PHILIPS 107B"
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
Driver "radeon"
BusID "PCI:2:0:0" #根据命令 lspci | grep VGA 的结果来修改
Option "DRI" "true"
Option "ColorTiling" "true"
Option "EnablePageFlip" "true"
Option "AGPMode" "8" #AGP接口规范
Option "RenderAccel" "true"
Option "AGPFastWrite" "on" #显存快写,AGP 4X的显卡不支持
Option "AccelMethod" "XAA"
Option "GartSize" "128" #显存容量
Option "BusType" "AGP"
Option "XAANoOffscreenPixmaps" "true"
Option "AddARGBGLXVisuals" "True" #For ati if not you can find problems with window
borders
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
Monitor "PHILIPS 107B"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection



红色部分是与采用官方驱动时的不同处。

修改后,按Ctrl+Alt+Backspace键,重启图形界面,

终端输入命令:glxinfo | grep direct

得到以下结果,说明3D驱动成功。

libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes

然后用新利得安装Beryl

可以在终端输入命令beryl,或者在会话中添加beryl自动启动

开源驱动有些特效不支持,但也够炫了。
黑夜给了我黑色的眼睛,我却用它来寻找ubuntu 。
头像
wenhacxx
帖子: 171
注册时间: 2006-05-13 14:38
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 wenhacxx » 2007-02-14 19:53

6.10的可以吗?
野草
帖子: 56
注册时间: 2006-12-27 23:37
送出感谢: 0
接收感谢: 0

#3

帖子 野草 » 2007-02-14 20:04

楼主是说ATI的显卡装Beryl可以不装XGL?
沧海月明
帖子: 66
注册时间: 2005-10-29 16:49
送出感谢: 0
接收感谢: 0

#4

帖子 沧海月明 » 2007-02-14 22:10

版本的影响不大,

beryl可以在aiglx下运行,不需要xgl。
黑夜给了我黑色的眼睛,我却用它来寻找ubuntu 。
头像
sinoyster
帖子: 958
注册时间: 2005-10-16 13:24
来自: 四川成都
送出感谢: 2 次
接收感谢: 0
联系:

#5

帖子 sinoyster » 2007-02-15 9:54

性能呢?给个开源和专有驱动的对比塞
Thank you Ubuntu Team!!!!
I still can't belive this is free...
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#6

帖子 zhuqin_83 » 2007-02-15 10:01

性能没有太多的可比性,开源驱动对9800以上的显卡支持很不好。所以几乎只能用xgl。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
wenhacxx
帖子: 171
注册时间: 2006-05-13 14:38
送出感谢: 0
接收感谢: 0
联系:

#7

帖子 wenhacxx » 2007-02-15 11:07

例如有什么效果不能正常显示的????说几个来看看~看看是不是无关痛痒的~如果真的,我也想搞搞,xgl真的很费资源~~
沧海月明
帖子: 66
注册时间: 2005-10-29 16:49
送出感谢: 0
接收感谢: 0

#8

帖子 沧海月明 » 2007-02-15 12:33

大概测了一下,效率比XGL高

特效只有snapping windwos 和缩放桌面不能用,

无关痛痒啦,可喜的是googleearth不用加参数就可以使用了。
黑夜给了我黑色的眼睛,我却用它来寻找ubuntu 。
头像
wenhacxx
帖子: 171
注册时间: 2006-05-13 14:38
送出感谢: 0
接收感谢: 0
联系:

#9

帖子 wenhacxx » 2007-02-15 17:16

好的,谢谢拉。回去试试~好彩我的是9550~~
头像
wenhacxx
帖子: 171
注册时间: 2006-05-13 14:38
送出感谢: 0
接收感谢: 0
联系:

#10

帖子 wenhacxx » 2007-02-17 12:56

试过了,奇怪的是感觉比XGL还卡~~~特别是新建窗口和最大化的时候,明显的延迟,但xgl的一点都没事,十分顺畅。。。。无奈,还是回到了xgl。(在xfce下)
野草
帖子: 56
注册时间: 2006-12-27 23:37
送出感谢: 0
接收感谢: 0

#11

帖子 野草 » 2007-02-17 14:58

我也试过了。。。滾动网页的速度很慢。。。无奈,还是回到了xgl
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
送出感谢: 0
接收感谢: 7 次
联系:

#12

帖子 zhuqin_83 » 2007-03-16 21:54

x1000以下的ati显卡用开源的驱动都很不错的。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
86Ubuntu
帖子: 369
注册时间: 2006-12-21 17:54
送出感谢: 0
接收感谢: 0
联系:

#13

帖子 86Ubuntu » 2007-03-17 1:49

Mark
fivex
帖子: 16
注册时间: 2007-03-15 18:51
送出感谢: 0
接收感谢: 0

#14

帖子 fivex » 2007-03-19 9:43

wenhacxx 写了:6.10的可以吗?
同问~~!
linto8
帖子: 22
注册时间: 2007-01-26 23:17
送出感谢: 0
接收感谢: 0
联系:

#15

帖子 linto8 » 2007-03-24 19:49

官方驱动好像也可以达到这种效果吧
回复

回到 “桌面特效”