ubuntu7.04下A卡用户安装compiz fusion

Ubuntu 发表评论

需安装驱动+XGL+compiz fusio
一,安装ATI显卡驱动
1.下载安装所需组件

sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx fglrx-control
sudo depmod -a

2.修改配置文件

sudo gedit /etc/X11/xorg.conf

使用替换功能 将

"ati"

(或者 “radeon”,”vesa”详见Device段)修改成

"fglrx"

在Device段添加两行:

Option      "VideoOverlay"      "on"
Option      "OpenGLOverlay"     "off"

在最后添加两端

ection "Extensions"
        Option  "Composite" "0"
EndSection

Section "ServerFlags"
        Option  "AIGLX" "off"
EndSection

重启后检查

fglrxinfo


二,安装XGL
1,下载安装相关组件

sudo apt-get install xserver-xgl

2,配置XGL

gksudo gedit /usr/local/bin/startxgl.sh

输入如下内容

#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
sudo chmod a+x /usr/local/bin/startxgl.sh
gksudo gedit /usr/share/xsessions/xgl.desktop

输入如下内容

Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/local/bin/startxgl.sh
Icon=
Type=Application

三,安装 compiz fusio
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-*

四,使用
一定记得重启后选择会话成XGL

ALT+F2
compiz --replace
收藏本文到: 百度搜藏 QQ书签 Google书签 Del.icio.us 新浪ViVi 雅虎收藏 饭否 365Key网摘 天极网摘 POCO网摘 和讯网摘

© Ksky for 何必呢转载请保留链接。 Permalink: ubuntu7.04下A卡用户安装compiz fusion

"ubuntu7.04下A卡用户安装compiz fusion" Got 7 Comments

  1. mg12 Says:

    在配置 XGL 的时候切勿 Ctrl+C, Ctrl+V 以上代码, 一些符号有问题…

    #!/bin/sh
    Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
    DISPLAY=:1
    cookie=”$(xauth -i nextract - :0 | cut -d ‘ ‘ -f 9)”
    xauth -i add :1 . “$cookie”
    exec dbus-launch –exit-with-session gnome-session

    [Reply to this Comment]

  2. mg12 Says:

    … 以上测试, 应该是 Blog 转换了字符, 部分代码可以参
    http://space.foodmate.net/html/36/27436_itemid_9916.html

    [Reply to this Comment]

  3. ksky Says:

    谢谢你的提出~

    [Reply to this Comment]

  4. mg12’s Blog - » Ubuntu 7.04 用上了 Compiz Fusion Says:

    [...] 但 “何必呢” 的这篇文章基本就可以将问题解决了. ubuntu7.04下A卡用户安装compiz fusion 但有些地方要注意, 文章中一些标点有问题, 部分代码可以参考 [...]

  5. kenshin Says:

    你好,我用了你提供的这个方法来安装ATI+CF。但是最后在进入XGL后发生了花屏现象,请问是什么原因呢?我是严格按照你的说的步骤进行安装的。
    我的A卡是ATI x1550 显示器是宽屏22

    [Reply to this Comment]

  6. ksky Says:

    有没有记录日志呢?~

    [Reply to this Comment]

  7. kenshin Says:

    好像是有,是不是由于我装的是闭源的驱动,所以不支持CF呢?我已经加你的gtalk了,有时间的话,请教一下!

    [Reply to this Comment]

Leave a reply