个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/CompositeManager}}
 
{{From|https://help.ubuntu.com/community/CompositeManager}}
 
{{Languages|UbuntuHelp:CompositeManager}}
 
{{Languages|UbuntuHelp:CompositeManager}}
 
 
 
== Introduction ==
 
== Introduction ==
 
 
<!> Xgl is alpha software and AIGLX has only been available for two releases of Xorg, as of Xorg 7.2. Using them on a production machine is not recommended, but usually they should work. Some programs do not yet work well with composite managers. You have been warned.
 
<!> Xgl is alpha software and AIGLX has only been available for two releases of Xorg, as of Xorg 7.2. Using them on a production machine is not recommended, but usually they should work. Some programs do not yet work well with composite managers. You have been warned.
 
 
Recently, there has been a lot of interest in running 3D accelerated composite managers on X servers.  This is commonly referred to as Xgl or Compiz, though both of these packages are really just means to an end (and can be replaced).
 
Recently, there has been a lot of interest in running 3D accelerated composite managers on X servers.  This is commonly referred to as Xgl or Compiz, though both of these packages are really just means to an end (and can be replaced).
 
 
There are two steps involved in setting up a 3d accelerated composite manager:
 
There are two steps involved in setting up a 3d accelerated composite manager:
* Setting up an X server which supports it.
+
# Setting up an X server which supports it.
* Setting up the composite manager itself.
+
2. Setting up the composite manager itself.
 
+
 
Instructions for each of these are found below.
 
Instructions for each of these are found below.
 
 
== X Server ==
 
== X Server ==
 
 
Composite managers require an X server capable of making 3D acceleration available to the window manager. There are currently two options available to achieve this:
 
Composite managers require an X server capable of making 3D acceleration available to the window manager. There are currently two options available to achieve this:
* [[UbuntuHelp:CompositeManager/Xgl]], which is a GLX based X server that currently runs on top of the Xorg server. More information about it [http://www.novell.com/linux/xglrelease/ here]
+
# [[UbuntuHelp:CompositeManager/Xgl]], which is a GLX based X server that currently runs on top of the Xorg server. More information about it [http://www.novell.com/linux/xglrelease/ here]
* [[UbuntuHelp:CompositeManager/AIGLX]], which is a part of Xorg. More information about it [http://fedoraproject.org/wiki/RenderingProject/aiglx here]
+
2. [[UbuntuHelp:CompositeManager/AIGLX]], which is a part of Xorg. More information about it [http://fedoraproject.org/wiki/RenderingProject/aiglx here]
 
+
 
AIGLX is the solution that works with the current architecture without too many intrusive changes to the server or drivers.
 
AIGLX is the solution that works with the current architecture without too many intrusive changes to the server or drivers.
 
 
Xgl is an alternate solution that leads into a long term solution. The plan is to have Xgl running directly on the kernel framebuffer and DRI interfaces with no Xorg layer in between, also known as Xegl. The current Xgl that runs on top of the Xorg server should be considered a technology preview.
 
Xgl is an alternate solution that leads into a long term solution. The plan is to have Xgl running directly on the kernel framebuffer and DRI interfaces with no Xorg layer in between, also known as Xegl. The current Xgl that runs on top of the Xorg server should be considered a technology preview.
 
 
== 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 cool effects such as transparency and wobbliness.
 
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 cool effects such as transparency and wobbliness.
 
 
There are currently three composite managers available.
 
There are currently three composite managers available.
 
 
* [[UbuntuHelp:CompositeManager/Compiz]] - A basic combination of window manager and composite manager from Novell. Now referred to as Compiz Core.
 
* [[UbuntuHelp:CompositeManager/Compiz]] - A basic combination of window manager and composite manager from Novell. Now referred to as Compiz Core.
 
* [[UbuntuHelp:CompositeManager/Beryl]] - A fork of Compiz that adds a lot of additional features. It has been reunited with Compiz and discontinued as an independent project.  
 
* [[UbuntuHelp:CompositeManager/Beryl]] - A fork of Compiz that adds a lot of additional features. It has been reunited with Compiz and discontinued as an independent project.  
 
* [[UbuntuHelp:CompositeManager/CompizFusion]] - Compiz plus additional features from Beryl. Includes and requires Compiz Core.
 
* [[UbuntuHelp:CompositeManager/CompizFusion]] - Compiz plus additional features from Beryl. Includes and requires Compiz Core.
 
 
 
== 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 [[UbuntuWiki: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 [[UbuntuWiki: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>
 
XLIB_SKIP_ARGB_VISUALS=1 nedit
 
XLIB_SKIP_ARGB_VISUALS=1 nedit
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Replace 'nedit' with the name of the application you are having issues with.
 
Replace 'nedit' with the name of the application you are having issues with.
 
 
== Further reading ==
 
== Further reading ==
 
 
* [http://forum.beryl-project.org/ Beryl Forums & Community] - This is generally a good resource.
 
* [http://forum.beryl-project.org/ Beryl Forums & Community] - This is generally a good resource.
 
 
* [http://en.opensuse.org/Compiz OpenSuse Compiz]
 
* [http://en.opensuse.org/Compiz OpenSuse Compiz]
 
* [http://en.opensuse.org/Xgl OpenSuse Xgl]
 
* [http://en.opensuse.org/Xgl OpenSuse Xgl]
第59行: 第35行:
 
* [http://www.freedesktop.org/wiki/Software/Xgl Freedesktop Xgl]
 
* [http://www.freedesktop.org/wiki/Software/Xgl Freedesktop Xgl]
 
* [http://fedoraproject.org/wiki/RenderingProject/aiglx Fedora AIGLX]
 
* [http://fedoraproject.org/wiki/RenderingProject/aiglx Fedora AIGLX]
 
 
== Alternative 3D desktop ==
 
== Alternative 3D desktop ==
 
 
* LookingGlass
 
* LookingGlass
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 16:32的版本


Introduction

<!> Xgl is alpha software and AIGLX has only been available for two releases of Xorg, as of Xorg 7.2. Using them on a production machine is not recommended, but usually they should work. Some programs do not yet work well with composite managers. You have been warned. Recently, there has been a lot of interest in running 3D accelerated composite managers on X servers. This is commonly referred to as Xgl or Compiz, though both of these packages are really just means to an end (and can be replaced). There are two steps involved in setting up a 3d accelerated composite manager:

  1. Setting up an X server which supports it.

2. Setting up the composite manager itself. Instructions for each of these are found below.

X Server

Composite managers require an X server capable of making 3D acceleration available to the window manager. There are currently two options available to achieve this:

  1. UbuntuHelp:CompositeManager/Xgl, which is a GLX based X server that currently runs on top of the Xorg server. More information about it here

2. UbuntuHelp:CompositeManager/AIGLX, which is a part of Xorg. More information about it here AIGLX is the solution that works with the current architecture without too many intrusive changes to the server or drivers. Xgl is an alternate solution that leads into a long term solution. The plan is to have Xgl running directly on the kernel framebuffer and DRI interfaces with no Xorg layer in between, also known as Xegl. The current Xgl that runs on top of the Xorg server should be considered a technology preview.

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 cool effects such as transparency and wobbliness. There are currently three composite managers available.

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.

Further reading

Alternative 3D desktop

  • LookingGlass