+ -
当前位置:首页 → 问答吧 → openSUSE 10.2 安装xgl-aiglx 及 compiz-beryl

openSUSE 10.2 安装xgl-aiglx 及 compiz-beryl

时间:2007-03-27

来源:互联网

本文内容全部来自en.opensuse.org,有什么不明白的,可以看原文。
kde桌面(使用gnome的勿看)
X.org 7.2 final/ATI mobility readeon 9600 8.34驱动
xorg 7.2 final源
type: http (if this doesn't work change it to ftp)
server: ftp.skynet.be
directory: /pub/software.opensuse.org/xorg72/openSUSE_10.2/
[color]确定升级 libdrm 到 2.3[/color]
xorg.conf其它重要设置

fglrx驱动最好和最稳定的设置如下
Section "Device"
Option "BlockSignalsOnLock" "on"
Option "KernelModuleParm" "locked-userpages=0"
Option "OpenGLOverlay" "off"
Option "UseFastTLS" "2"
Option "UseInternalAGPGART" "no"
Option "VideoOverlay" "on"
Option "mtrr" "off"
Option "no_accel" "no"
Option "no_dri" "no"
Option "EnablePrivateBackZ" "no"
Option "backingstore" "true"

一.xgl-compiz
见置顶略过
二.xgl-beryl
1.安装ATI显卡打开3D,见置顶略过。

2.加源安装:http://ftp.skynet.be/pub/software.op...openSUSE_10.2/
# xgl 使用OpenGL的Xserver
# beryl-core Beryl窗口管理器核心
# beryl-plugins Beryl插件
# emerald : window decorator 与Beryl配合工作的Theme主题管理器
# emerald-themes Emerald主题
# aquamarine KDE主题
# beryl-settings Beryl配置
# beryl-manager Beryl管理器
# compiz 窗口管理器
使用xgl-compiz,可以不装beryl,使用xgl-beryl可以不装compiz,http://en.opensuse.org/Beryl 上说,安装beryl要卸载compiz,两者有冲突,其实可以不用卸载的,不过不能使用0.4的compiz,只能用0.2的。compiz带有gnome-xgl-switch命令方便开关xgl。

3.开启xgl
su
gnome-xgl-switch --enable-xgl
4.重启 x server
rcxdm restart
5.运行beryl
beryl-manager

三.beryl-aiglx
1.如果开启xgl,关闭它
nome-xgl-switch --disable-xgl
2.安装步骤同前,略
3.备份xorg.conf
su
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.$(date +%y%m%d-%H%M%S)
4.编辑/etc/X11/xorg.conf
分别加入下列段,下列内容:
Section "ServerLayout", 加:
Option "AIGLX" "true"

Section "DRI", 加:
Group 0
Mode 0666

Section "Device", 加:
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"

如果没有下列段,自行加在xorg.conf的末尾
Section "Extensions"
Option "Composite" "Enable"
EndSection

5.重启x:rcxdm restart
6.运行beryl:beryl-manager

配置beryl自动运行:
(以非root用户运行)建立软链接
ln -s /usr/bin/beryl-manager ~/.kde/Autostart/beryl-manager
ln -s /usr/bin/beryl ~/.kde/Autostart/beryl

使用其他的装饰器(decorations)
1. Compiz (GTK-W-D) and Metacity
gtk-window-decorator --replace &

2.使用KDE装饰器代替emerald
(as user, not root):
aquamarine --replace &

恢复emerald:
emerald --replace &


本显卡不支持ailglx,启动aiglx会花屏,文字、图标会花得看不清。

作者: clxer   发布时间: 2007-03-27

aiglx 直接在beryl里面选不就可以了??~~

作者: biosxjj   发布时间: 2007-03-27

引用:
作者: biosxjj
aiglx 直接在beryl里面选不就可以了??~~
如果没有
Option "AIGLX" "true"
在beryl选也没用。就象XGL没打开,你强制XGL是没有效果的。

作者: clxer   发布时间: 2007-03-28