相信已有不少朋友得到Ati悄悄放出一个支持AIGLX的驱动,该驱动尚未在Ati官方网站的驱动下载列表中出现。要想能够开启Compiz,就需要显卡驱动支持AIGLX。这个驱动应该能让不少Ati User兴奋,在前面的文章石头说过借来的这套Ati集成显卡的平台。当然要拿来下载测试了,先是卸载了Ubuntu的受限驱动,然后重启的时候,就只能以低分辨率进入桌面(这是之前安装的Ati 8.40老驱动的作用),然后使用命令:
$sudo /etc/init.d/gdm stop
这就可以杀掉Gnome桌面,再按下Ctrl+Alt+F1进入终端并登录,我下载该驱动保存在主文件夹下的,那么就可以使用命令:
$sudo sh ati-driver-installer-8.42.3-x86.x86_64.run
随后就可以跟着显卡驱动向导来进行操作,安装完毕后使用命令:
$sudo reboot
重启之后,比起8.40版驱动,这个8.42.3驱动可以直接自动设置为最佳分辨率了,而不是之前需要先安装8.40驱动能够进入桌面后再安装受限驱动才能自动设置为最佳分辨率。
不过也许是石头我的人品不好?这个8.42.3驱动安装好了之后Compiz依旧不能启动,下面的图片应该显示我已安装正确了的:
搜索到一个Blogger提供的编译方法来安装这个驱动:
And here’s how I managed to get it to run on Ubuntu 7.10 Gutsy Gibbon
Remove Xgl (whoohoo) (if present)
sudo apt-get remove xserver-xgl
Remove the old driver (if present)
Go to System → Administration → Restricted Drivers Manager and choose disable.
Alternatively remove it yourself:
sudo apt-get remove xorg-driver-fglrx
Delete old fglrx debs (might not be necessary)
sudo rm -f /usr/src/fglrx-kernel*.deb
Blacklist old fglrx module
sudo gedit /etc/default/linux-restricted-modules-common
And insert fglrx – it should look like this then:
DISABLED_MODULES=”fglrx”
Alternatively remove the linux-restricted-modules-* package for your kernel (that’s what I did, because I don’t need them – don’t do this, if you use an Atheros chip).
You may want to reboot now. I did.
Download the driver installer to your home folder
wget http://www2.ati.com/drivers/linux/ati-driver-installer-8.42.3-x86.x86_64.run
Install necessary packages
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic
Create .deb packages
bash ./ati-driver-installer-8.42.3-x86.x86_64.run –buildpkg Ubuntu/gutsy
Install .deb packages
sudo dpkg -i fglrx-kernel-source_8.42.3-1_i386.deb xorg-driver-fglrx_8.42.3-1_i386.deb
Compile kernel module
sudo m-a prepare,update
sudo m-a build,install fglrx-kernel
sudo depmod
Set up the driver
sudo gedit /etc/X11/xorg.conf
Make sure “fglrx” is set for the Driver in the Section “Device”.
And if present, remove (whoohoo again)
Section “Extensions”
Option “Composite” “0” # or “Disable”
EndSectionAs well as
Section “ServerFlags”
Option “AIGLX” “off”
EndSection
Reboot
Enjoy
SKIP_CHECKS=yes compiz
(necessary because fglrx is not on Ubuntu’s whitelist)
If it works, do this:
mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager
This will create a file in your home folder which makes sure that Compiz will run without the above prefix from then on.
结果依旧不能开启Compiz……继续等待Ati提供更为成熟的显卡驱动吧,也许看到此文的朋友会有人品比石头我要好的能成功安装这个驱动还能成功启动Compiz的Ati User的!