← Back to team overview

dx-packages team mailing list archive

[Bug 930192] Re: [regression] Animations of large or full-screen windows skip frames (not smooth)

 

** Changed in: compiz-core
     Assignee: Daniel van Vugt (vanvugt) => (unassigned)

** Changed in: compiz
     Assignee: Daniel van Vugt (vanvugt) => (unassigned)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to compiz-plugins-main in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/930192

Title:
  [regression] Animations of large or full-screen windows skip frames
  (not smooth)

Status in Compiz:
  Triaged
Status in Compiz Animations Plugin:
  Fix Committed
Status in Compiz Core:
  Triaged
Status in Compiz Main Plugins:
  Fix Released
Status in Unity Distro Priority:
  Fix Released
Status in “compiz-plugins-main” package in Ubuntu:
  Fix Released

Bug description:
  The issue here appears mostly when minimizing/restoring full screen windows. The animation is no longer smooth when using compiz 0.9.7 (precise) or ppa:vanvugt/compiz (oneiric). It appears the problem is the combination of two facts:
    1. The minimize/restore animations use only regional damage logic, not full screen.
    2. The new compiz code needs to call glFinish in order to eliminate tearing. But it only needs to call glFinish for regional damage, not full screen damage.

  WORKAROUND:
  Run ccsm
  Go to Workarounds
  Enable "Force full screen redraws (buffer swap) on repaint"

  THE CORRECT SOLUTION:
  The ideal long-term solution to this problem is described by bug 901097. That will allow us to use glXSwapBuffers (and glXSwapIntervalSGI) on every frame and avoid the need to call glFinish (because we no longer need to call glXWaitVideoSyncSGI).

  A QUICK SOLUTION:
  There are really two options for a quick solution:
  (a) Modify the animation plugin to use full-screen damage, and hence use the high-performance code path during animations; or
  (b) Modify composite to detect when the regional damage is large (say >= one third of the screen) and automatically switch to full-screen damage mode.
  ... or both?

  ORIGINAL DESCRIPTION:
  using nvidia binary driver one precise with gtx9800+ with the release candidate of compiz 0.9.7 the minimize/raise animation feels slow if you have a few apps opened.. I then reverted compiz to stable version of precise and didn't notice the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/930192/+subscriptions