先确定glx开启了(前提当然是显卡驱动了)
运行 glxinfo |grep direct
输出 direct rendering: Yes 即可
没有glxinfo命令的话装 mesa-utils 包
添加安装源到/etc/apt/source.list
deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git
下载密钥并安装
wget http://download.tuxfamily.org/osrdebian/61B8DB62.gpg
apt-key add 61B8DB62.gpg
开始安装
apt-get update
apt-get install compiz compiz-fusion-plugins-main compizconfig-settings-manager compiz-fusion-plugins-extra compiz-gnome emerald fusion-icon
PS:装两个红色的其他的会自动依赖进来。
原文里提到的修改xorg应该不用了~
我自己的安装过程参照http://shame.tuxfamily.org/repo/?cat=11:
查看操作系统版本
lsb_release -a
结果显示为testing(lenny)
添加源/etc/apt/sources.list
deb http://download.tuxfamily.org/shames/debian-lenny/desktopfx/unstable/ ./
apt-get update
获得gpg key ignore this step if it prompts errors, such as refused connect.
wget http://download.tuxfamily.org/shames/A42A6CF5.gpg -O- | apt-key add -
安装
apt-get install compiz compiz-fusion-gnome
使用
compiz-manager
报错:
checking for xgl: not present...
查看显卡驱动
glxinfo | grep direct
显示
direct rendering: No
明显显卡驱动没装,郁闷哪
查看显卡型号
lspci -v
显示VGA 和Display adapter为虚拟机(我在VMWARE上安装的),机器显卡为intel82945G chipset family集成显卡,官网没有提供安装包
然后我在EPC上试验,no glxinfo command, so i install the mesa-utils , all right, it is ok!
按照intel官网的方法去获取源码安装
http://intellinuxgraphics.org/download.html
http://www.sxnsx.com/how-to-enable-3d-direct-rendering-of-intel-gma915-on-ubuntu-hardy/