LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1367|回复: 2

openSUSE 10.2 安装xgl-aiglx 及 compiz-beryl

[复制链接]
发表于 2007-3-27 14:01:28 | 显示全部楼层 |阅读模式
本文内容全部来自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
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/softwar ... /XGL/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会花屏,文字、图标会花得看不清。
发表于 2007-3-27 14:45:10 | 显示全部楼层
aiglx   直接在beryl里面选不就可以了??~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-28 07:55:43 | 显示全部楼层
Post by biosxjj
aiglx   直接在beryl里面选不就可以了??~~

如果没有
Option "AIGLX" "true"
在beryl选也没用。就象XGL没打开,你强制XGL是没有效果的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表