[regression] Animations of large or full-screen windows skip frames (not smooth)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Triaged
|
Wishlist
|
Unassigned | ||
Compiz Animations Plugin |
Fix Committed
|
High
|
Daniel van Vugt | ||
Compiz Core |
Triaged
|
Wishlist
|
Unassigned | ||
Compiz Main Plugins |
Fix Released
|
High
|
Daniel van Vugt | ||
Unity Distro Priority |
Fix Released
|
High
|
Unassigned | ||
compiz-plugins-main (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The issue here appears mostly when minimizing/
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 glXWaitVideoSyn
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.
Related branches
- Alan Griffiths: Approve
-
Diff: 19 lines (+5/-0)1 file modifiedanimation/src/animation.cpp (+5/-0)
- Alan Griffiths: Approve
-
Diff: 19 lines (+5/-0)1 file modifiedsrc/animation.cpp (+5/-0)
summary: |
- minimize animation is laggy with nvidia binary + Compiz 0.9.7.0-beta1 minimize animation is laggy with nvidia binary |
Changed in compiz-core: | |
status: | New → Incomplete |
Changed in compiz-core: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
summary: |
- Compiz 0.9.7.0-beta1 minimize animation is laggy with nvidia binary + Compiz 0.9.7.0-beta1 animations skip frames (not smooth) |
description: | updated |
summary: |
- Compiz 0.9.7.0-beta1 animations skip frames (not smooth) + [regression] Animations of large or full-screen windows skip frames (not + smooth) |
description: | updated |
Changed in compiz-animation-plugin: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in compiz-plugins-main: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Daniel van Vugt (vanvugt) |
Changed in compiz-core: | |
milestone: | none → 0.9.7.2 |
Changed in unity-distro-priority: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
tags: | added: distro-priority |
Changed in unity-distro-priority: | |
importance: | Medium → High |
Changed in compiz-core: | |
status: | Triaged → In Progress |
Changed in compiz-core: | |
status: | In Progress → Triaged |
Changed in compiz-core: | |
milestone: | 0.9.7.2 → 0.9.7.4 |
Changed in compiz-plugins-main: | |
milestone: | none → 0.9.7.2 |
Changed in compiz-plugins-main: | |
status: | Triaged → In Progress |
Changed in compiz-animation-plugin: | |
status: | Triaged → In Progress |
Changed in compiz-core: | |
status: | Triaged → In Progress |
Changed in compiz-core: | |
milestone: | 0.9.7.4 → none |
status: | In Progress → Triaged |
Changed in compiz-animation-plugin: | |
importance: | Medium → High |
Changed in compiz-plugins-main: | |
importance: | Medium → High |
Changed in unity-distro-priority: | |
status: | Fix Committed → Fix Released |
Changed in compiz: | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in compiz-core: | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
Changed in compiz: | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
same here. especially with maximized apps (most obvious with chromium). I was using vanvugt compiz ppa on onerick, and i think that this branch made animations laggy: /code.launchpad .net/~vanvugt/ compiz- core/fix- 880707. 2
https:/
It's great branch and fixes vsync issues, but i think that maybe has something with this, especially revision 2900 which fixed animations to last as they should, but affected performance.
I have nvidia too. (g105 m binary driver)
Now i'm on precise and compiz 0.9.7
i'll try vanvugt ppa on onerick again to check again if something from there causes this.