|
|

楼主 |
发表于 2006-2-25 13:13:51
|
显示全部楼层
关于glx,在fedora里面专门做了aiglx 项目详细介绍:http://fedoraproject.org/wiki/RenderingProject/aiglx
fedora已经可以安装aiglx,安装方法如下: 可惜打开后我的显卡一进入的时候就死机
Installing aiglx on FC5 test 3 http://fedoraproject.org/wiki/RenderingProject/AiglxOnFedora
To run metacity with the accelerated compositing manager, you need to upgrade a few packages. First, add the following file to /etc/yum.repos.d/aiglx.repo
[aiglx]
name=aiglx $releasever - $basearch
baseurl=http://people.redhat.com/rstrode/aiglx/$basearch/
enabled=1
gpgcheck=0
Then, do:
yum install xorg-x11-server-Xair metacity gdm
(right now only i386 is supported)
Next, you need to configure gdm to use your next X server. First run /usr/sbin/gdm-restart to logout and get the new configuration settings (Note: I think there is a way to get gdm to learn the new settings without logging out, but I don't know command off the top of my head. If someone figures it out, could they update this page?). Then log in again, and select
System > Administration > Login Screen
from the panel menu and then click the "Security" tab in the dialog that pops up. Next, click the "Configure X Server..." button, select the item starting with 0 in the list and click "Add/Modify...". Finally, choose aiglx in the list, dismiss all the dialogs, and run /usr/sbin/gdm-restart as root. This will log you out and start the next X server.
Finally, you need to log in again turn on the compositing manager by typing:
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true
or by navigating to and setting the /apps/metacity/general/compositing_manager key in gconf-editor.
All make sure you have something like
Section "extensions"
Option "Composite"
EndSection
in your /etc/X11/xorg.conf
Adding Option "XAANoOffscreenPixmaps" to the "Device" section of your /etc/X11/xorg.conf will also give you increased performance.
Some options like page-flipping may make things not work very well.
Metacity may occasionally crash when the compositor is running. You'll know if it's done this because all your window borders will disappear for a few seconds. It's a known bug. You can work around it by exporting METACITY_SYNC=1 before starting metacity.
Uninstalling
Simply remove the xorg-x11-server-xair package, and change metacity to run with outthe compositing manager. You can do that by running:
gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool false |
|