个人工具

“UbuntuHelp:CompositeManager”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的2个中间版本)
第4行: 第4行:
 
This guide intends to provide information on what exactly a composite manager is, and assist you in troubleshooting common issues with the default compositing manager in Ubuntu known as Compiz.
 
This guide intends to provide information on what exactly a composite manager is, and assist you in troubleshooting common issues with the default compositing manager in Ubuntu known as Compiz.
 
== X Server ==
 
== X Server ==
There are a few methods for setting up Compiz on Ubuntu, each require an X server capable of making 3D acceleration available to the window manager. There are currently two options available to achieve this:
+
Recent versions of Ubuntu have Compiz Fusion (the merged successor to Compiz and Beryl) enabled by default, along with AIGLX, which is now merged into mainline X.org. XGL is no longer maintained.
<ol><li>[[CompositeManager/AIGLX]], which is a part of Xorg which is the default in Ubuntu. More information about it [[http://fedoraproject.org/wiki/RenderingProject/aiglx|here]]
+
</li><li>[[CompositeManager/Xgl]], which is a GLX based X server that currently runs on top of the Xorg server. This is not recommended as upstream is moving towards a complete Xorg replacement. More information about it [[http://www.novell.com/linux/xglrelease/|here]]
+
</li><li>[[CompositeManager/Xgl/simple]], which is a SIMPLERSETUP of the GLX based X server that currently runs on top of the Xorg server and the composite effects manager. Information about this can be found at the above link, but note again that this is only necessary if your version of Ubuntu doesn't support AIGLX.</li></ol>
+
 
+
AIGLX is the solution that works with the current architecture without too many intrusive changes to the server or drivers.
+
Xgl is no longer maintained at all. The maintainers are currently working on a solution that runs directly on the kernel framebuffer and DRI interfaces with no Xorg layer in between, also known as Xegl. Xgl is only intended as a technology preview, and should not be used by most. There has currently been no decision made about whether Ubuntu will use Xegl when it is finished.
+
 
== Composite Manager ==
 
== Composite Manager ==
When running AIGLX or Xgl, all windows are rendered to an off-screen buffer. The composite manager is then responsible for drawing the windows to the screen, and has the opportunity to manipulate them, adding in effects such as transparency and wobbliness.
+
When running AIGLX, all windows are rendered to an off-screen buffer. The composite manager is then responsible for drawing the windows to the screen, and has the opportunity to manipulate them, adding in effects such as transparency and wobbliness.
 
There are currently two composite managers available.
 
There are currently two composite managers available.
* [[CompositeManager/Compiz]] - A basic combination of window manager and composite manager from Novell. Now referred to as Compiz Core.
+
* [[UbuntuHelp:CompositeManager/Compiz|CompositeManager/Compiz]] - A basic combination of window manager and composite manager from Novell. Now referred to as Compiz Core.
* [[CompositeManager/CompizFusion]] - Compiz plus additional features. Includes and requires Compiz Core. If you are familiar with Beryl, this is likely what you want.
+
* [[UbuntuHelp:CompositeManager/CompizFusion|CompositeManager/CompizFusion]] - Compiz plus additional features. Includes and requires Compiz Core. If you are familiar with Beryl, this is likely what you want.
 
Ubuntu currently includes both by default, and takes advantage of both extensively provided your video card can support them.
 
Ubuntu currently includes both by default, and takes advantage of both extensively provided your video card can support them.
 
== Known Issues & Troubleshooting ==
 
== Known Issues & Troubleshooting ==
 
=== Some applications won't start or are displayed incorrectly ===
 
=== Some applications won't start or are displayed incorrectly ===
Some applications do not function properly when run along side a composite manager. If after enabling a composite manager you encounter an application that stops working entirely or is displayed incorrectly (often with unwanted transparency), please [[ReportingBugs|file a bug]].
+
Some applications do not function properly when run along side a composite manager. If after enabling a composite manager you encounter an application that stops working entirely or is displayed incorrectly (often with unwanted transparency), please [[UbuntuHelp:ReportingBugs|file a bug]].
 
In some cases, you can work around the problem by temporarily disabling alpha visuals for the application, by launching it from the terminal as such:
 
In some cases, you can work around the problem by temporarily disabling alpha visuals for the application, by launching it from the terminal as such:
 
<pre><nowiki>
 
<pre><nowiki>
第28行: 第22行:
 
This is a symptom of the way that Gutsy starts Xgl.  See https://bugs.launchpad.net/ubuntu/+bug/144758 for a more detailed description and a workaround or fix.
 
This is a symptom of the way that Gutsy starts Xgl.  See https://bugs.launchpad.net/ubuntu/+bug/144758 for a more detailed description and a workaround or fix.
 
== Further reading ==
 
== Further reading ==
* [[http://forum.compiz-fusion.org/|Compiz Fusion forums]]
+
* [http://forum.compiz-fusion.org/ Compiz Fusion forums]
* [[http://en.opensuse.org/Compiz|OpenSuse Compiz]]
+
* [http://en.opensuse.org/Compiz OpenSuse Compiz]
* [[http://fedoraproject.org/wiki/RenderingProject/aiglx|Fedora AIGLX]]
+
* [http://fedoraproject.org/wiki/RenderingProject/aiglx Fedora AIGLX]
 
== Alternative 3D desktop ==
 
== Alternative 3D desktop ==
 
* [[UbuntuHelp:LookingGlass|LookingGlass]]
 
* [[UbuntuHelp:LookingGlass|LookingGlass]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年12月16日 (二) 18:10的最新版本


Introduction

This guide intends to provide information on what exactly a composite manager is, and assist you in troubleshooting common issues with the default compositing manager in Ubuntu known as Compiz.

X Server

Recent versions of Ubuntu have Compiz Fusion (the merged successor to Compiz and Beryl) enabled by default, along with AIGLX, which is now merged into mainline X.org. XGL is no longer maintained.

Composite Manager

When running AIGLX, all windows are rendered to an off-screen buffer. The composite manager is then responsible for drawing the windows to the screen, and has the opportunity to manipulate them, adding in effects such as transparency and wobbliness. There are currently two composite managers available.

  • CompositeManager/Compiz - A basic combination of window manager and composite manager from Novell. Now referred to as Compiz Core.
  • CompositeManager/CompizFusion - Compiz plus additional features. Includes and requires Compiz Core. If you are familiar with Beryl, this is likely what you want.

Ubuntu currently includes both by default, and takes advantage of both extensively provided your video card can support them.

Known Issues & Troubleshooting

Some applications won't start or are displayed incorrectly

Some applications do not function properly when run along side a composite manager. If after enabling a composite manager you encounter an application that stops working entirely or is displayed incorrectly (often with unwanted transparency), please file a bug. In some cases, you can work around the problem by temporarily disabling alpha visuals for the application, by launching it from the terminal as such:

XLIB_SKIP_ARGB_VISUALS=1 nedit

Replace 'nedit' with the name of the application you are having issues with.

Gnome Panels in Dual-Head Configuration Extend Across Both Monitors

This is a symptom of the way that Gutsy starts Xgl. See https://bugs.launchpad.net/ubuntu/+bug/144758 for a more detailed description and a workaround or fix.

Further reading

Alternative 3D desktop