QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4289|回复: 5

试用AIGLX

[复制链接]
发表于 2006-9-28 10:37:04 | 显示全部楼层 |阅读模式
我的软硬件环境:AMD2200+/1G/radeon7500AIW 64M/linux2.6.18/xorg-server-1.1.1-r2/dri有效/最新的portage/ACCEPT_KEYWORDS="~x86"

参照的文档 Gentoo-wiki : http://gentoo-wiki.com/HOWTO_AIGLX
查了一下,radeon7500支持aiglx。

如果是最新的portage,那么aiglx已经包含在xorg-server里了,所要做的只是装上compiz。HOWTO也提供了另外两个方案Hanno's Overlay和Xgl-Coffee Overlay。
如果没有安装或者不是最新版本则emerge以下包:
[code:1]
   emerge libdrm #一般情况已经安装好了
   emerge mesa #一般情况已经安装好了
   emerge xorg-server #一般情况已经安装好了
   emerge compiz
[/code:1]

设置xorg.conf
修改或者追加以下项:
[code:1]
Section "DRI"
        Group 0
        Mode 0666
EndSection

Section "ServerLayout"
             Option         "AIGLX" "true"
EndSection

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

Section "Device"
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "DRI"     "true"
EndSection
[/code:1]
注释掉下面的项(一般情况没有这些项,就不用做这一步):
[code:1]
Section "Device"
#       Option      "AllowGLXWithcomposite" "true"
EndSection
Section "Module"
#        Load        "GLcore"
EndSection
[/code:1]

重起X之后,在终端里执行
[code:1]
  compiz-aiglx &
[/code:1]
然后就可以看到标题栏变半透明,cube等特效就有了。

相比xgl,aiglx容易安装,稳定,几乎不占用资源,可以用realplayer或者mplayer播放视频(画面容易受影响),在我的7500下表现得非常好。

但是也发现了几点问题:
1 有几个plugin载入失败,不知道原因。
2 视频窗口不随边框变化,而且画面容易出现碎点。
3 compiz-aiglx脚本会把metacity变成非自动重起动,下次不想起特效是窗口没有边框,这时只要运行metacity就可以了。
发表于 2006-9-28 16:29:42 | 显示全部楼层
不错不错
回复

使用道具 举报

发表于 2006-9-30 22:24:03 | 显示全部楼层
[code:1]
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] gnome-base/libgnomecanvas-2.14.0  USE="X -debug -doc -static"
[ebuild  N    ] gnome-base/orbit-2.14.2  USE="ssl -debug -doc"
[ebuild  N    ] gnome-base/libbonobo-2.14.0  USE="-debug -doc"
[ebuild  N    ] gnome-base/gnome-mime-data-2.4.2  USE="-debug"
[ebuild  N    ] net-misc/neon-0.26.1-r1  USE="nls ssl zlib -expat -socks5 -static"
[ebuild  N    ] gnome-base/gconf-2.14.0  USE="-debug -doc"
[ebuild  N    ] app-admin/gamin-0.1.7  USE="-debug -doc"
[ebuild  N    ] gnome-base/gnome-vfs-2.14.2-r1  USE="ipv6 ssl -avahi -debug -doc -gnutls -hal -samba"
[ebuild  N    ] gnome-base/libgnome-2.14.1  USE="-debug -doc -esd -static"
[ebuild  N    ] gnome-base/libbonoboui-2.14.0  USE="X -debug -doc"
[ebuild  N    ] gnome-base/gnome-keyring-0.4.9  USE="-debug"
[ebuild  N    ] gnome-base/libgnomeui-2.14.1  USE="jpeg -debug -doc"
[ebuild  N    ] dev-perl/XML-NamespaceSupport-1.09
[ebuild  N    ] dev-perl/XML-SAX-0.14-r1
[ebuild  N    ] virtual/perl-Storable-2.15
[ebuild  N    ] dev-perl/XML-Simple-2.14
[ebuild  N    ] x11-misc/icon-naming-utils-0.7.2
[ebuild  N    ] x11-themes/gnome-icon-theme-2.14.2  USE="-debug"
[ebuild  N    ] x11-wm/metacity-2.14.5  USE="-debug -xinerama"
[ebuild  N    ] app-text/gnome-doc-utils-0.6.1  USE="-debug"
[ebuild  N    ] app-text/build-docbook-catalog-1.2
[ebuild  N    ] app-text/docbook-xsl-stylesheets-1.70.1
[ebuild  N    ] app-text/sgml-common-0.6.3-r5
[ebuild  N    ] app-text/docbook-xml-dtd-4.1.2-r6
[ebuild  N    ] app-text/scrollkeeper-0.3.14-r2  USE="nls"
[ebuild  N    ] gnome-base/gnome-desktop-2.14.2  USE="-debug -doc"
[ebuild  N    ] app-admin/eselect-esd-20060719
[ebuild  N    ] media-sound/esound-0.2.36-r2  USE="alsa ipv6 tcpd -debug"
[ebuild  N    ] gnome-base/gnome-menus-2.14.0  USE="-debug"
[ebuild  N    ] gnome-base/gail-1.8.11  USE="-debug -doc"
[ebuild  N    ] dev-util/desktop-file-utils-0.11
[ebuild  N    ] gnome-base/eel-2.14.3  USE="X -debug"
[ebuild  N    ] gnome-extra/libgsf-1.14.0  USE="-bzip2 -debug -doc -gnome -static"
[ebuild  N    ] dev-libs/libcroco-0.6.1  USE="-debug"
[ebuild  N    ] gnome-base/librsvg-2.14.4  USE="zlib -debug -doc -gnome"
[ebuild  N    ] gnome-base/nautilus-2.14.1  USE="X -beagle -debug -gnome"
[ebuild  N    ] x11-libs/libxklavier-2.2  USE="-doc"
[ebuild  N    ] gnome-base/control-center-2.14.2  USE="alsa -debug -eds -gstreamer"
[ebuild  N    ] x11-libs/libwnck-2.14.2  USE="-debug -doc"
[ebuild  N    ] media-libs/glitz-0.5.6
[ebuild  N    ] x11-wm/compiz-0.0.13_pre20060928  USE="-dbus -svg"
[/code:1]

装个compiz竟然依赖这么多的gnome组件?我用的是KDE,有必要安装这些组件吗?
回复

使用道具 举报

发表于 2006-10-1 13:12:36 | 显示全部楼层
beryl, 基于 gtk 的 compiz 的 fork, 基本上不依赖于 gnome, 效果据说比 compiz 还多。
回复

使用道具 举报

发表于 2006-10-2 11:29:13 | 显示全部楼层
哪里有cgwd的源代码?
回复

使用道具 举报

 楼主| 发表于 2006-10-2 16:30:23 | 显示全部楼层
我用gnome所以没有发觉这个问题。嗯,试一下新的分支beryl吧。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-20 22:10 , Processed in 0.189174 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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