“UbuntuHelp:BerylOnEdgy”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第78行: | 第78行: | ||
At the end of the file add the following: | At the end of the file add the following: | ||
<pre><nowiki>Section "Extensions" | <pre><nowiki>Section "Extensions" | ||
− | + | Option "Composite" "true" | |
EndSection</nowiki></pre> | EndSection</nowiki></pre> | ||
第108行: | 第108行: | ||
Add the "AIGLX" option in the "ServerLayout" section: | Add the "AIGLX" option in the "ServerLayout" section: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | Option "AIGLX" "true" | |
</nowiki></pre> | </nowiki></pre> | ||
第122行: | 第122行: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | deb http://ubuntu.beryl-project.org edgy main | |
</nowiki></pre> | </nowiki></pre> | ||
Run this commands to add Lupine's key to your trusted keys for repositories. | Run this commands to add Lupine's key to your trusted keys for repositories. | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -</nowiki></pre> | |
Don't forget to run an update to get the latest repositories. | Don't forget to run an update to get the latest repositories. | ||
第160行: | 第160行: | ||
If the changes to the Startup Programs did not change, there was a permission error to the configuration file. Execute the following and repeat the above steps. | If the changes to the Startup Programs did not change, there was a permission error to the configuration file. Execute the following and repeat the above steps. | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | sudo chown -R username:usergroup /home/username/.config/ | |
</nowiki></pre> | </nowiki></pre> | ||
Replace username and usergroup with your username. | Replace username and usergroup with your username. | ||
第167行: | 第167行: | ||
beryl 0.1.5 issue: if beryl-settings doesn't work, you need to install additional packages | beryl 0.1.5 issue: if beryl-settings doesn't work, you need to install additional packages | ||
<pre><nowiki> | <pre><nowiki> | ||
− | + | sudo apt-get install librsvg2-2 librsvg2-bin librsvg2-common python-gtk2 | |
</nowiki></pre> | </nowiki></pre> | ||
− | + | ||
=== Special situation: PPC === | === Special situation: PPC === |
2007年5月24日 (四) 09:06的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
目录
Introduction
Beryl is a fork of Compiz created by Quinn Storm and the developers on the compiz.net forums. This guide shows how to get it running on Ubuntu 6.10 (edgy). More extensive support for Beryl can be found at the Beryl webpage.
Card Support
Please make sure your card is supported for accelerated graphics. In a terminal type:
glxinfo | grep direct
If you get this output back, your card should work.
direct rendering: Yes
If you get a "no" from this test, please install the correct driver "nvidia" or "radeon" from the appropriate section on this article.
Driver install
NVIDIA
Lupine's Repository
Add the repository:
deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable
Then, authenticate, update your repository listing, and install the driver:
wget http://nvidia.limitless.lupine.me.uk/ubuntu/root@lupine.me.uk.gpg -O- | sudo apt-key add - sudo aptitude update sudo aptitude install nvidia-glx
Configure X to use the new driver and enable fun eye candy graphics:
sudo nvidia-xconfig --add-argb-glx-visuals
NOTE: If X will not load after restarting, run the following command to restore your previous xorg.conf settings:
sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
Restart X using CTRL+ALT+BACKSPACE. You should see an nVida splash on restart. If you would like to disable this splash, edit your /etc/X11/xorg.conf to include the following line in the "Device" section for you graphics card:
Envy
You may use Envy, a Python script that eases installation of the official Nvidia and ATI drivers. Please see http://albertomilone.com/nvidia_scripts1.html (>=9631 driver needed...)
Binary install
Alternatively you may install from the binary .run availiable at nvidia.com
Check out this guide at the USDF which has a more complete version of this guide: http://doc.gwos.org/index.php/BerylOnEdgy
ATI
If you have ATI Radeon 9500 or above try [[[UbuntuHelp:BinaryDriverHowto/ATI]]].
Please ensure X is set to use the "radeon" driver. Please make also sure that the package xorg-driver-fglrx is NOT installed, as it overwrites /usr/lib/libGL.so from the libs/libgl1-mesa-glx package. If you do not get direct rendering even after switching to the radeon driver, please do the following:
sudo apt-get remove --purge xorg-driver-fglrx
This should restore your original libGL. If you want to be 100% sure reinstall the following packages:
libgl1-mesa-glx libgl1-mesa-dri
Enable compositing in X
To make Beryl work correctly we have to make the following changes to your /etc/X11/xorg.conf
:
NVIDIA
Type:
sudo nvidia-xconfig --add-argb-glx-visuals
Intel
Make the following changes to xorg.conf:
Add to Section "Device"
Option "XAANoOffscreenPixmaps" "true"
At the end of the file add the following:
Section "Extensions" Option "Composite" "true" EndSection
ATI
Ensure you have the open source radeon drivers installed.
Add the following to xorg.conf in the "Device" section:
Option "AGPMode" "4" Option "DisableGLXRootClipping" "true" Option "AddARGBGLXVisuals" "true" Option "AllowGLXWithComposite" "true" Option "XAANoOffscreenPixmaps" "true" Option "EnablePageFlip" "true" Option "DRI" "true" Option "AccelMethod" "EXA" Option "EXANoOffscreenPixmaps" Option "ColorTiling" "on" Option "EnablePageFlip" "true" Option "RenderAccel" "true"
Not all video cards should have fastWrite turned on (my mobility radeon 9600 caused x to crash on startup) but if your card can handle this also add this to the "Device" section:
Option "AGPFastWrite" "on" Option "AGPFastWrite" "true" #which one is the working one? I use "true"
Add the "AIGLX" option in the "ServerLayout" section:
Option "AIGLX" "true"
Optionally, install driconf and enable HyperZ to help performance
sudo apt-get install driconf driconf
Add third-party Beryl repository
Add this repository using the Add Repositories HOWTO
deb http://ubuntu.beryl-project.org edgy main
Run this commands to add Lupine's key to your trusted keys for repositories.
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
Don't forget to run an update to get the latest repositories.
sudo apt-get update
Install Beryl
sudo apt-get install beryl emerald-themes
Run Beryl
Alt+F2 then Enter
beryl-manager
click the beryl icon top right and select the beryl window manager.
Add beryl to your session startup
Please only do this step if beryl loaded correctly in the previous step.
Go to System->Preferences->Sessions, click the "Startup Programs" tab, click the "Add" button, and in the dialog that pops up put "beryl-manager" in the "Startup Command" text box.
Now logout and then login again and beryl-manager should load. Click on the gem next to your click, go to "Select Window Manager", make sure Beryl is chosen.
Troubleshooting
If the changes to the Startup Programs did not change, there was a permission error to the configuration file. Execute the following and repeat the above steps.
sudo chown -R username:usergroup /home/username/.config/
Replace username and usergroup with your username.
beryl 0.1.5 issue: if beryl-settings doesn't work, you need to install additional packages
sudo apt-get install librsvg2-2 librsvg2-bin librsvg2-common python-gtk2
Special situation: PPC
highly experimental
On ppc, an endianess bug is in edgy's xserver-xorg-core. i'd build a patched one, and beryl/emerald debs. If supported, activate 3D rendering in xorg.conf. Change
Driver "ati"
to
Driver "radeon"
Deb(s) are on that repository:
deb http://mental-ppc.tuxfamily.org/dists edgy-mppc main incoming
Add it in your sources.list. Then run:
sudo aptitude update && sudo aptitude dist-upgrade
sudo aptitude install beryl emerald-themes
restart X and run
beryl-managerThe information on this page should be merged into the existing pages found at UbuntuHelp:CompositeManager.