特殊:Badtitle/NS100:CompositeManager
文章出处: |
{{#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
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
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:
- CompositeManager/AIGLX, which is a part of Xorg which is the default in Ubuntu. More information about it [[1]]
- 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 [[2]]
- 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.
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
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. 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
- [Fusion forums]
- [Compiz]
- [AIGLX]