特殊:Badtitle/NS100:BerylOnEdgy:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
 
第1行: 第1行:
#REDIRECT [[UbuntuHelp:CompositeManager/Beryl/Edgy]]
{{From|https://help.ubuntu.com/community/BerylOnEdgy}}
{{From|https://help.ubuntu.com/community/BerylOnEdgy}}
{{Languages|UbuntuHelp:BerylOnEdgy}}
{{Languages|UbuntuHelp:BerylOnEdgy}}
== 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 [http://wiki.beryl-project.org/wiki/Install/Ubuntu/Edgy/XGL Beryl] webpage.
== Card Support ==
Please make sure your card is supported for accelerated graphics. In a terminal type:
<pre><nowiki>
glxinfo | grep direct
</nowiki></pre>
If you get this output back, your card should work.
<pre><nowiki>direct rendering: Yes
</nowiki></pre>
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:
<code><nowiki>deb http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable</nowiki></code>
Then, authenticate, update your repository listing, and install the driver:
<pre><nowiki>wget http://nvidia.limitless.lupine.me.uk/ubuntu/[email protected] -O- | sudo apt-key add -
sudo aptitude update
sudo aptitude install nvidia-glx</nowiki></pre>
Configure X to use the new driver and enable fun eye candy graphics:
<pre><nowiki>sudo nvidia-xconfig --add-argb-glx-visuals
</nowiki></pre>
NOTE: If X will not load after restarting, run the following command to restore your previous xorg.conf settings:
<code><nowiki>sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf</nowiki></code>
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:
<code><nowiki>sudo apt-get remove --purge xorg-driver-fglrx</nowiki></code>
This should restore your original libGL. If you want to be 100% sure reinstall the following packages:
<code><nowiki>libgl1-mesa-glx libgl1-mesa-dri</nowiki></code>
=== Enable compositing in X ===
To make Beryl work correctly we have to make the following changes to your <code><nowiki>/etc/X11/xorg.conf</nowiki></code>:
==== NVIDIA ====
Type:
<pre><nowiki>sudo nvidia-xconfig --add-argb-glx-visuals
</nowiki></pre>
==== Intel ====
Make the following changes to xorg.conf:
Add to Section "Device"
<pre><nowiki>Option "XAANoOffscreenPixmaps" "true"
</nowiki></pre>
At the end of the file add the following:
<pre><nowiki>Section "Extensions"
Option "Composite" "true"
EndSection</nowiki></pre>
==== ATI ====
Ensure you have the open source radeon drivers installed.
Add the following to xorg.conf in the "Device" section:
<pre><nowiki>
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"
</nowiki></pre>
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:
<pre><nowiki>
Option "AGPFastWrite" "on"
Option "AGPFastWrite" "true"  #which one is the working one?  I use "true"
</nowiki></pre>
Add the "AIGLX" option in the "ServerLayout" section:
<pre><nowiki>
Option          "AIGLX"        "true"
</nowiki></pre>
Optionally, install driconf and enable HyperZ to help performance
<pre><nowiki>
sudo apt-get install driconf
driconf
</nowiki></pre>
== Add third-party Beryl repository ==
Add this repository using the [https://help.ubuntu.com/community/Repositories/CommandLine Add Repositories HOWTO]
<pre><nowiki>
deb http://ubuntu.beryl-project.org edgy main
</nowiki></pre>
Run this commands to add Lupine's key to your trusted keys for repositories.
<pre><nowiki>
wget http://ubuntu.beryl-project.org/[email protected] -O- | sudo apt-key add -</nowiki></pre>
Don't forget to run an update to get the latest repositories.
<pre><nowiki>
sudo apt-get update
</nowiki></pre>
== Install Beryl ==
<pre><nowiki>sudo apt-get install beryl emerald-themes
</nowiki></pre>
== Run Beryl ==
Alt+F2 then Enter
<pre><nowiki>
beryl-manager
</nowiki></pre>
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.
https://help.ubuntu.com/community/BerylOnEdgy?action=AttachFile&do=get&target=beryl-session.png
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.
<pre><nowiki>
sudo chown -R username:usergroup /home/username/.config/
</nowiki></pre>
Replace username and usergroup with your username.
beryl 0.1.5 issue: if beryl-settings doesn't work, you need to install additional packages
<pre><nowiki>
sudo apt-get install librsvg2-2 librsvg2-bin librsvg2-common python-gtk2
</nowiki></pre>
=== 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
<pre><nowiki> Driver "ati"
</nowiki></pre>
to
<pre><nowiki> Driver "radeon"
</nowiki></pre>
Deb(s) are on that repository:
<pre><nowiki>deb http://mental-ppc.tuxfamily.org/dists edgy-mppc main incoming
</nowiki></pre>
Add it in your sources.list.
Then run:
<pre><nowiki> sudo aptitude update && sudo aptitude dist-upgrade
</nowiki></pre>
<pre><nowiki> sudo aptitude install beryl emerald-themes
</nowiki></pre>
restart X and run
<pre><nowiki>beryl-manager
</nowiki></pre>
[[category:CategoryCleanup]] The information on this page should be merged into the existing pages found at [[UbuntuHelp:CompositeManager]].


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年11月22日 (四) 12:05的最新版本

{{#ifexist: :BerylOnEdgy/zh | | {{#ifexist: BerylOnEdgy/zh | | {{#ifeq: {{#titleparts:BerylOnEdgy|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BerylOnEdgy|1|-1|}} | zh | | }}