Ubuntu Dapper下Intel显卡安装Beryl+AIGLX

字体大小: | |
不久前compiz项目已经分家了,产生了beryl这个分支。AIGLX一直是Intel集成显卡的最佳选择。
所以这篇HowTo介绍Intel的板载集成显卡在Dapper(Gnome的DM)下面安装AIGLX+Beryl。
我的显卡是Compaq nc6120的本本上915主板集成的GMA900。845和865的集成显卡也和915是一样的安装。nVidia的显卡请参照这篇nv+Beryl+XGL的文档

1. 增加源:
deb http://ubuntu.beryl-project.org/ dapper main aiglx
保存
apt-get update
apt-get dist-upgrade

2. 安装AIGLX
apt-get install xserver-xorg-air-core linux-dri-modules-common linux-dri-modules-`uname -r`

3. 修改xorg.conf
先备份: cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
接着编辑xorg.conf
注释掉Section "Module"裡的Load "GLcore"
添加红色的这行
Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Driver "i810"
Option "XAANoOffscreenPixmaps"
BusID "PCI:0:2:0"
EndSection
在最末段加上
Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "DRI"
Mode 0666
EndSection
保存退出

4. 修改gdm.conf-custom
先备份
cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom.bak
然后编辑,在最后的[servers]下面添加
0=aiglx
[server-aiglx]
name=aiglx server
command=/usr/bin/Xorg-air :0
flexible=true
保存退出

5. 复制文件
mkdir /usr/lib/xorg-air/modules/drivers
mkdir /usr/lib/xorg-air/modules/input
cp /usr/lib/xorg/modules/drivers/* /usr/lib/xorg-air/modules/drivers/
cp/usr/lib/xorg/modules/input/* /usr/lib/xorg-air/modules/input/

6. 安装beryl
在源裡加入
deb http://xgl.compiz.info/ dapper main aiglx
deb http://www.beerorkid.com/compiz dapper main aiglx
deb http://ubuntu.compiz.net/ dapper main aiglx
deb http://media.blutkind.org/xgl/ dapper main aiglx
保存后:
apt-get install update
apt-get install beryl beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-dev emerald-themes

7. 在“系统”-“首选项”-“会话”的“启动程序”中添加beryl-manager
然后重启电脑(只重启X好像没用)

这时在top中已经可以看到Xorg-air(代替了原来的Xorg)。面板的任务栏上会出现Beryl Manager的钻石的图标,点右键,选"Select Windows Manageer"-"Beryl"即可切换到AIGLX的绚丽桌面。

8. 设置beryl-manager
默认的风格可能不是太顺眼,特别是窗口最小化及还原时的流水风格。具体设置可能因个人口味而异。也可以参考我的设置,下载这个文件,替换掉~/.beryl/settings这个文件即可
cp settings ~/.beryl/settings

9. 一些问题及解决
(1)fcitx的输入法工具条会不停忽明忽暗的闪。
解决:禁用fading windows就可以了(我的这个配置文件中已经禁用了)
(2)运行glxgears一段时间后X Server会Crash掉。
未解决

一些截图,流口水了吧。

beryl-aiglx-1.png

beryl-aiglx-2.png

beryl-aiglx-3.png

beryl-aiglx-4.png

beryl-aiglx-5.png

beryl-aiglx-6.png






13 条评论:

  1. eva, 2006-10-16 03:01:49
    现在我只好开四个吊css...

    别讲,这个东东吊css还是蛮管用的..
    死乘把口 回复 eva 说:
    难怪你的delicious叫diaodai。
    (2006-10-16 09:51:39)
  2. Matrix Chou, 2006-10-14 09:24:38
    To:lecause, Ubuntu510及之后的版本的Kernel中已经带了915的driver。用的是i810的通用驱动。

    你可以dpkg-reconfigure xserver-xorg来重新生成一个xorg.conf来试试。还有,Load glx是要有的。



  3. lecause, 2006-10-14 00:54:13
    hi,你好

    我的本子也是915主板集成的GMA900

    我实在是菜鸟,安装了ubuntu可是连显卡驱动都不会安装= =



    现在的连电影都看不了,能否支点一二



    在下的gtalk是lecause@gmail.com



    万分感谢!
  4. Matrix Chou, 2006-10-13 21:37:21
    都不知道流到哪了,反正我是開了個專門吊css的googlepages的
  5. eva, 2006-10-13 21:14:35
    就这点CSS...流给谁叻....
  6. Matrix Chou, 2006-10-13 19:37:53
    送KF修吧,只要你買個3年全面服務什麽的就啥都不怕了。
  7. 海透透, 2006-10-13 19:07:49
    我的笔记本彻底崩溃了,啊啊啊啊啊啊
  8. Matrix Chou, 2006-10-11 19:40:10
    容量100M, 不过有流量限制,超出流量之后可能要过一天才会恢复。
  9. eva, 2006-10-11 18:58:19
    googlepage容量多少?

    居然说我带宽不够!

    十几个CSS而已么...
  10. eva, 2006-10-08 14:24:31
    还是不行...我放弃...
  11. Matrix Chou, 2006-10-07 16:50:33
    月餅
  12. allison, 2006-10-07 15:52:26
    老大吃月饼………………0000000
  13. eva, 2006-10-07 03:48:10
    不知道你在写点啥....

    月饼节好....

    就酱紫吧!

添加评论






显示隐藏侧边栏