CompositeByDefault

Differences between revisions 1 and 53 (spanning 52 versions)
Revision 1 as of 2006-11-09 17:18:32
Size: 624
Editor: 65
Comment:
Revision 53 as of 2007-05-10 15:56:21
Size: 5494
Editor: 195
Comment: Fix formatting.
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
## Register at https://launchpad.net/distros/ubuntu/+specs
 * '''Launchpad entry''': https://features.launchpad.net/distros/ubuntu/+spec/composite-by-default
 * '''Packages affected''':
 * '''Launchpad Entry''': UbuntuSpec:composite-by-default.
 * '''Packages affected''': compiz-core gnome-control-center ccs-settings libccs python-ccs compcomm-plugins (no actual name as of yet...) emerald emerald-theme-manager gnome-keybinding-settings
Line 8: Line 7:
     Deploy Compiz, with a set of plugins and settings backends as the default window manager in Gutsy Gibbon.
Line 11: Line 11:
== Use cases ==      Compiz is now able to function as a drop in replacement for Metacity. Due to increasing support for required GL extensions in both free drivers and proprietary drivers, and increasing stability in the project and it's assosciated plugins the software is usable and available for a broad base of users. User's have shown a large amount of interest in Compiz/Beryl for making their computing experience more usable and enjoyable. The highly visible effects of Compiz can act to encourage users to try Ubuntu.

== Use Cases ==

 * John is a new user coming from windows and finds the idea of workspaces/viewports completely foreign. The wall plugin for Compiz presents these to John in a tactile and intuitive way helping his workflow.

 * Steve is a power user and often works with dozens of windows. Plugins such as Scale (tile out all windows and let you pick one) helps him to stay organized and work faster.

 * Edward is visually impaired. The neg and zoom plugins help him to zoom in close on small text, and improve contrast in some interfaces.

 * Mark likes wobbly windows and other special effects and wants to have them on his Ubuntu desktop.
Line 15: Line 25:
    Deploying Compiz as the default window manager in Ubuntu involves changes in several areas. Work with Compiz will have to be done for integration in to the existing GNOME desktop, behavior should be consistent with metacity when possible (true to a degree already), and users should be able to both include their metacity settings, and use existing GNOME tools to configure Compiz (already true to a large degree again). libwnck will have to be patched (patch available, probably going in upstream) to properly support viewports.

    A theme for the Emerald decorator will have to be prepared, blending in with the Metacity human theme, but additionally including some of the effects allowed by compositing.

   Sane default plugin settings will have to be chosen, along with a sane default set of plugins such as to provide an impressive, but not overwhelming experience.
Line 16: Line 32:

    Integration with the GNOME desktop will be largely handled through the Compiz Configuration System (CCS). CCS is a plugin, library, set of backends, and tools for Compiz providing the following:
     
     * Consistent manner to access Compiz settings stored in GConf, ini (flat file), or kconfig backends.
     * Exporting, importing, and editing of profiles (For defaults, etc...) from/to any backend.
     * Python bindings around the library to enable easy manipulation of settings from Python apps.
     * Reading and writing of Compiz settings while Compiz is not running.
     * Translation in the GConf and KConfig backends from a large number of metacity/kwin settings to the equivalent Compiz settings, including watching for changes on the keys.
     * Support for multiple X Screens.
     
   Some applications such as gnome-keybinding will be patched to use CCS to add settings for Compiz specific keybindings.

   A default set of plugins, animations, etc is chosen, with the rest being shipped by default or available for the user to enable if they so desire.

   Desktop effects will be moved in to GNOME apperance properties.
Line 19: Line 50:
=== Code ===    * Plugins (which are desirable to have installed) were divided into two groups:
 list of standard plugins:
 * move
 * resize
 * place
 * snap
 * wall
 * expo
 * zoom
 * neg
 * video
 * animation
 * switcher
 * fade
 * ccp/gconf
 * dbus
 * decoration
 * extrawm
 * jpeg, png, svg (image loader plugins)
 * regex
 * text
 * scale
 
 * optional plugins (checkbox to turn on):
Line 21: Line 75:
=== Data preservation and migration ===  * ring (replacing switcher with same keybindings)
 * trailfocus
 * blur
 * wobbly
Line 23: Line 80:
== Unresolved issues ==    * A default set of animations was chosen as follows:
  * glide 1 for create Transients use fade
  * glide 2 for close Transients use fade
  * minimize/maximize zoom
  * shade - rollup
  * Focus - fade
Line 25: Line 87:
== BoF agenda and discussion ==  * A list of packages:
Line 27: Line 89:
----
CategorySpec
 * compiz-core
 * different plugins packages (one source package multiple binary packages?)
 * CCS Plugin/Library.
 * CCS Python bindings.
 * CCS Backends.
 * CCS Settings Managers.
 * CCS-GNOME/CCS-KDE metapackages.
        * emerald
        * emerald-theme-manager

    
Compiz-core will likely have to be a GIT snapshot as a stable release is unlikely to happen in the near future.

To decide which devices to enable composite by default on a list will be created from Drivers/PCI ID's. ("This driver with this ID is ok.")

 

 
== Outstanding Issues ==
 Some driver bugs such as an Nvidia resource exhaustion bug (black windows when too many are present with TFP) need to be evaluated if they are not fixed. A whitelist of cards needs to be created (or a blacklist) for enabling/disabling Composite. A wrapper needs to be written which does system checks, etc.

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

  • Launchpad Entry: composite-by-default.

  • Packages affected: compiz-core gnome-control-center ccs-settings libccs python-ccs compcomm-plugins (no actual name as of yet...) emerald emerald-theme-manager gnome-keybinding-settings

Summary

  • Deploy Compiz, with a set of plugins and settings backends as the default window manager in Gutsy Gibbon.

Rationale

  • Compiz is now able to function as a drop in replacement for Metacity. Due to increasing support for required GL extensions in both free drivers and proprietary drivers, and increasing stability in the project and it's assosciated plugins the software is usable and available for a broad base of users. User's have shown a large amount of interest in Compiz/Beryl for making their computing experience more usable and enjoyable. The highly visible effects of Compiz can act to encourage users to try Ubuntu.

Use Cases

  • John is a new user coming from windows and finds the idea of workspaces/viewports completely foreign. The wall plugin for Compiz presents these to John in a tactile and intuitive way helping his workflow.
  • Steve is a power user and often works with dozens of windows. Plugins such as Scale (tile out all windows and let you pick one) helps him to stay organized and work faster.
  • Edward is visually impaired. The neg and zoom plugins help him to zoom in close on small text, and improve contrast in some interfaces.
  • Mark likes wobbly windows and other special effects and wants to have them on his Ubuntu desktop.

Scope

  • Deploying Compiz as the default window manager in Ubuntu involves changes in several areas. Work with Compiz will have to be done for integration in to the existing GNOME desktop, behavior should be consistent with metacity when possible (true to a degree already), and users should be able to both include their metacity settings, and use existing GNOME tools to configure Compiz (already true to a large degree again). libwnck will have to be patched (patch available, probably going in upstream) to properly support viewports. A theme for the Emerald decorator will have to be prepared, blending in with the Metacity human theme, but additionally including some of the effects allowed by compositing.
  • Sane default plugin settings will have to be chosen, along with a sane default set of plugins such as to provide an impressive, but not overwhelming experience.

Design

  • Integration with the GNOME desktop will be largely handled through the Compiz Configuration System (CCS). CCS is a plugin, library, set of backends, and tools for Compiz providing the following:
    • Consistent manner to access Compiz settings stored in GConf, ini (flat file), or kconfig backends.
    • Exporting, importing, and editing of profiles (For defaults, etc...) from/to any backend.
    • Python bindings around the library to enable easy manipulation of settings from Python apps.
    • Reading and writing of Compiz settings while Compiz is not running.
    • Translation in the GConf and KConfig backends from a large number of metacity/kwin settings to the equivalent Compiz settings, including watching for changes on the keys.
    • Support for multiple X Screens.
  • Some applications such as gnome-keybinding will be patched to use CCS to add settings for Compiz specific keybindings. A default set of plugins, animations, etc is chosen, with the rest being shipped by default or available for the user to enable if they so desire. Desktop effects will be moved in to GNOME apperance properties.

Implementation

  • Plugins (which are desirable to have installed) were divided into two groups:
    • list of standard plugins:
    • move
    • resize
    • place
    • snap
    • wall
    • expo
    • zoom
    • neg
    • video
    • animation
    • switcher
    • fade
    • ccp/gconf
    • dbus
    • decoration
    • extrawm
    • jpeg, png, svg (image loader plugins)
    • regex
    • text
    • scale
    • optional plugins (checkbox to turn on):
    • ring (replacing switcher with same keybindings)
    • trailfocus
    • blur
    • wobbly
  • A default set of animations was chosen as follows:
    • glide 1 for create Transients use fade
    • glide 2 for close Transients use fade
    • minimize/maximize zoom
    • shade - rollup
    • Focus - fade
  • A list of packages:
    • compiz-core
    • different plugins packages (one source package multiple binary packages?)
    • CCS Plugin/Library.
    • CCS Python bindings.
    • CCS Backends.
    • CCS Settings Managers.
    • CCS-GNOME/CCS-KDE metapackages.
    • emerald
    • emerald-theme-manager

Compiz-core will likely have to be a GIT snapshot as a stable release is unlikely to happen in the near future.

To decide which devices to enable composite by default on a list will be created from Drivers/PCI ID's. ("This driver with this ID is ok.")

Outstanding Issues

  • Some driver bugs such as an Nvidia resource exhaustion bug (black windows when too many are present with TFP) need to be evaluated if they are not fixed. A whitelist of cards needs to be created (or a blacklist) for enabling/disabling Composite. A wrapper needs to be written which does system checks, etc.

CompositeByDefault (last edited 2008-08-06 16:19:24 by localhost)