- 论坛徽章:
- 0
|
以前是用ATI+fglrx+XGL+COMPIZ FUSION实现桌面特效,系统占有率不是很理想;换成ATI+开源驱动+AIGLX+COMPIZ FUSION后就好多了,现转贴安装过程如下:
这个配置和[fglrx驱动(即官方闭源驱动)+XGL+CF] 一样稳定,不过我只有x300移动版,别的显卡我没有办法保证是否一样稳定,但我有信心应该没有问题的!!
开源的大家都知到那些A卡不支持了吧,这里我不说了,自己看:
http://forum.ubuntu.org.cn/viewtopic.php?t=66801&highlight=%E5%BC%80%E6%BA%90%E9%A9%B1%E5%8A%A8
发现fcitx的确和XGL有冲突,现在没事了。不过mplayer在CF下还是有点问题,想用mplayer的话就得先退出CF。
有错误的地方大家一定要指出啊!!!不用客气。
![]()
1.首先更新所有的软件
sudo apt-get update
sudo apt-get upgrade
2. 配置AIGLX和开源的 ATI 显卡驱动
注意:如果你已经安装了fglrx驱动,一定要卸载,在受限制的驱动对话框中把启动勾掉或用终端卸载:
sudo apt-get remove xorg-driver-fglrx
(卸载之后把xorg.conf里的fglix改为ati,不改可能进不了桌面,之前没有装过显卡驱动的可以不用做这一步)然后重启或Ctrl-Alt-Backspace 重启图形服务器
打开终端
输入
glxinfo | grep vendor
如果出现
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.
则可以继续
安装开源驱动
输入命令
sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri
备份配置文件
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo gedit /etc/X11/xorg.conf
把
Section "Device"
Identifier "ATI Technologies Inc Radeon ***"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
替换成
Section "Device"
Identifier "ATI Technologies Inc Radeon ***" (这里保持原来标示)
Driver "radeon"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "DisableGLXRootClipping" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
EndSection
然后把
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
替换成
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
然后如果没有以下两段的话则在文件最后加上
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
然后保存文件
重启系统或者Ctrl-Alt-Backspace 重启图形服务器
重启后打开终端
输入
glxinfo | grep vendor
应该得到
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.
然后运行
glxinfo | grep "direct rendering"
应该得到
direct rendering: Yes
安装compiz fusion:
1、得到密匙
代码:
sudo wget
http://download.tuxfamily.org/3v1deb/DD800CD9.gpg
-O- | sudo apt-key add -
2、添加源:
代码:
deb
http://download.tuxfamily.org/3v1deb
feisty eyecandy
deb-src
http://download.tuxfamily.org/3v1deb
feisty eyecandy
3、更新:
代码:
sudo apt-get update
sudo apt-get dist-upgrade
4、安装Compiz及Compiz fusion
代码:
sudo apt-get install compiz compiz-gnome
sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-fusion-*
5、运行Compiz Fusion
现在你就可以享受Fusion带来的惊喜啦,同时你也可以关闭Compiz及Beryl啦,在“系统-首选项-会话”新建一个新的会话如下:
代码:
compiz --replace(建议不是这样做,最好进入桌面后再用alt+F2 >compiz --replace。不知为什么,个人觉得这样会稳定一点。)
最后要谢谢hsy541的 [教学]ATI+feisty+aiglx+beryl 详细安装过程:
http://forum.ubuntu.org.cn/viewtopic.php?t=48064&highlight=%E5%BC%80%E6%BA%90%E9%A9%B1%E5%8A%A8
和coffer的:compiz fusion 安装及特效--更新2007-8-5(解决Compiz fusion无边框问题)
http://forum.ubuntu.org.cn/viewtopic.php?t=61686
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19906/showart_367994.html |
|