特殊:Badtitle/NS100:CompositeManager:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:CompositeManager}} | {{Languages|UbuntuHelp:CompositeManager}} | ||
== Introduction == | == Introduction == | ||
<!> I'm not sure that the note below still applies, as Ubuntu is shipping these capabilities in gutsy. | |||
<!> 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). | ||
第12行: | 第13行: | ||
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: | ||
<ol><li>[[UbuntuHelp:CompositeManager/Xgl|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] | <ol><li>[[UbuntuHelp:CompositeManager/Xgl|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] | ||
</li><li>[[UbuntuHelp:CompositeManager/Xgl/simple|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. | |||
</li><li>[[UbuntuHelp:CompositeManager/AIGLX|CompositeManager/AIGLX]], which is a part of Xorg. More information about it [http://fedoraproject.org/wiki/RenderingProject/aiglx here]</li></ol> | </li><li>[[UbuntuHelp:CompositeManager/AIGLX|CompositeManager/AIGLX]], which is a part of Xorg. More information about it [http://fedoraproject.org/wiki/RenderingProject/aiglx here]</li></ol> | ||
第18行: | 第20行: | ||
== 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 | There are currently two composite managers available. | ||
* [[UbuntuHelp:CompositeManager/Compiz|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. | ||
* [[UbuntuHelp:CompositeManager/CompizFusion|CompositeManager/CompizFusion]] - Compiz plus additional features. Includes and requires Compiz Core. | |||
* [[UbuntuHelp:CompositeManager/CompizFusion|CompositeManager/CompizFusion]] - Compiz plus additional features | |||
== Known Issues & Troubleshooting == | == Known Issues & Troubleshooting == | ||
=== Some applications won't start or are displayed incorrectly === | === Some applications won't start or are displayed incorrectly === | ||
第30行: | 第31行: | ||
</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. | ||
=== 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 == | == Further reading == | ||
* [http://forum. | * [http://forum.compiz-fusion.org/ Compiz Fusion forums] | ||
* [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] |
2008年4月23日 (三) 10:32的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CompositeManager }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/af | • {{#if: UbuntuHelp:CompositeManager|Afrikaans| [[::CompositeManager/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ar | • {{#if: UbuntuHelp:CompositeManager|العربية| [[::CompositeManager/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/az | • {{#if: UbuntuHelp:CompositeManager|azərbaycanca| [[::CompositeManager/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/bcc | • {{#if: UbuntuHelp:CompositeManager|جهلسری بلوچی| [[::CompositeManager/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/bg | • {{#if: UbuntuHelp:CompositeManager|български| [[::CompositeManager/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/br | • {{#if: UbuntuHelp:CompositeManager|brezhoneg| [[::CompositeManager/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ca | • {{#if: UbuntuHelp:CompositeManager|català| [[::CompositeManager/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/cs | • {{#if: UbuntuHelp:CompositeManager|čeština| [[::CompositeManager/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/de | • {{#if: UbuntuHelp:CompositeManager|Deutsch| [[::CompositeManager/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/el | • {{#if: UbuntuHelp:CompositeManager|Ελληνικά| [[::CompositeManager/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/es | • {{#if: UbuntuHelp:CompositeManager|español| [[::CompositeManager/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/fa | • {{#if: UbuntuHelp:CompositeManager|فارسی| [[::CompositeManager/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/fi | • {{#if: UbuntuHelp:CompositeManager|suomi| [[::CompositeManager/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/fr | • {{#if: UbuntuHelp:CompositeManager|français| [[::CompositeManager/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/gu | • {{#if: UbuntuHelp:CompositeManager|ગુજરાતી| [[::CompositeManager/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/he | • {{#if: UbuntuHelp:CompositeManager|עברית| [[::CompositeManager/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/hu | • {{#if: UbuntuHelp:CompositeManager|magyar| [[::CompositeManager/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/id | • {{#if: UbuntuHelp:CompositeManager|Bahasa Indonesia| [[::CompositeManager/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/it | • {{#if: UbuntuHelp:CompositeManager|italiano| [[::CompositeManager/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ja | • {{#if: UbuntuHelp:CompositeManager|日本語| [[::CompositeManager/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ko | • {{#if: UbuntuHelp:CompositeManager|한국어| [[::CompositeManager/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ksh | • {{#if: UbuntuHelp:CompositeManager|Ripoarisch| [[::CompositeManager/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/mr | • {{#if: UbuntuHelp:CompositeManager|मराठी| [[::CompositeManager/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ms | • {{#if: UbuntuHelp:CompositeManager|Bahasa Melayu| [[::CompositeManager/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/nl | • {{#if: UbuntuHelp:CompositeManager|Nederlands| [[::CompositeManager/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/no | • {{#if: UbuntuHelp:CompositeManager|norsk| [[::CompositeManager/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/oc | • {{#if: UbuntuHelp:CompositeManager|occitan| [[::CompositeManager/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/pl | • {{#if: UbuntuHelp:CompositeManager|polski| [[::CompositeManager/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/pt | • {{#if: UbuntuHelp:CompositeManager|português| [[::CompositeManager/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ro | • {{#if: UbuntuHelp:CompositeManager|română| [[::CompositeManager/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/ru | • {{#if: UbuntuHelp:CompositeManager|русский| [[::CompositeManager/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/si | • {{#if: UbuntuHelp:CompositeManager|සිංහල| [[::CompositeManager/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/sq | • {{#if: UbuntuHelp:CompositeManager|shqip| [[::CompositeManager/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/sr | • {{#if: UbuntuHelp:CompositeManager|српски / srpski| [[::CompositeManager/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/sv | • {{#if: UbuntuHelp:CompositeManager|svenska| [[::CompositeManager/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/th | • {{#if: UbuntuHelp:CompositeManager|ไทย| [[::CompositeManager/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/tr | • {{#if: UbuntuHelp:CompositeManager|Türkçe| [[::CompositeManager/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/vi | • {{#if: UbuntuHelp:CompositeManager|Tiếng Việt| [[::CompositeManager/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/yue | • {{#if: UbuntuHelp:CompositeManager|粵語| [[::CompositeManager/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/zh | • {{#if: UbuntuHelp:CompositeManager|中文| [[::CompositeManager/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/zh-hans | • {{#if: UbuntuHelp:CompositeManager|中文(简体)| [[::CompositeManager/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager | UbuntuHelp:CompositeManager | {{#if: | :}}CompositeManager}}/zh-hant | • {{#if: UbuntuHelp:CompositeManager|中文(繁體)| [[::CompositeManager/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CompositeManager|:CompositeManager|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CompositeManager/zh | | {{#ifexist: CompositeManager/zh | | {{#ifeq: {{#titleparts:CompositeManager|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CompositeManager|1|-1|}} | zh | | }}
Introduction
<!> I'm not sure that the note below still applies, as Ubuntu is shipping these capabilities in gutsy. <!> 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:
- Setting up an X server which supports it.
- 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:
- CompositeManager/Xgl, which is a GLX based X server that currently runs on top of the Xorg server. More information about it here
- 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.
- 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 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.
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.