2006-06-30

XGL

Laptop 上的 Ubuntu 一直是我拿來亂搞的系統, 現在裝了 True Image 以後更是變本加厲, 連 XGL 都給裝上了. :p

雖然只有 Intel 855GM 內建的顯示, 跑起來仍然相當順暢. 加上現在可以用 apt 直接裝不需要自己 compile, 更是輕鬆不少. 不過聽說有問題的影片播放部份我還沒試過.

我安裝的步驟如下:

1. 在 /etc/apt/source.list 加上底下兩行
deb http://xgl.compiz.info/ dapper aiglx
deb http://xgl.compiz.info/ dapper main

2.更新套件列表 (apt-get update; apt-get-upgrade,.....)

3. 安裝必要的套件 (linux-dri-modules-common, linux-dri-modules-`uname -r`)
執行/sbin/ldm-manager 更新 modules.dep
更新完後安裝 compiz-vanilla-aiglx, compiz-vanilla, compiz-vanilla-gnome
(我用的是 vanilla 的版本, 也可以選 quinn 的版本)

4. 修改 /etc/X11/xorg.conf, 確定以下幾項
DefaultDeoth 24

Section "Device"
Option "XAANoOffscreenPixmaps"

Section "ServerLayout"
Option "AIGLX" "true"

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

5. 修改/etc/gdm/gdm.conf-custom, 加上以下幾項
[server]
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xorg-air :0
flexiable=true

6. 重新啟動gdm
/etc/init.d/gdm restart

7. Enjoy XGL!!

終於在 Linux 上看到各種漂亮的特效, 挺感動的.

2 則留言:

  1. 要玩XGL不是直接抓他們的live cd下來跑就好了嗎 XD

    回覆刪除
  2. 你說到我的痛處了... 我的 Laptop 到現在還沒有可以拿來開機的 CDROM 啊 :~~~~

    回覆刪除