Merge lp:~vanvugt/compiz-core/fix-763005 into lp:compiz-core/0.9.5
Status: | Merged |
---|---|
Merged at revision: | 2804 |
Proposed branch: | lp:~vanvugt/compiz-core/fix-763005 |
Merge into: | lp:compiz-core/0.9.5 |
Diff against target: |
164 lines (+48/-18) 3 files modified
plugins/opengl/include/opengl/opengl.h (+4/-2) plugins/opengl/src/privates.h (+1/-0) plugins/opengl/src/screen.cpp (+43/-16) |
To merge this branch: | bzr merge lp:~vanvugt/compiz-core/fix-763005 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury | Approve | ||
compiz packagers | Pending | ||
Review via email: mp+73625@code.launchpad.net |
This proposal supersedes a proposal from 2011-08-12.
Description of the change
Fix slow/stuttering display when Sync To VBlank is enabled. (LP: #763005)
For fglrx the cause appears to be an ATI/AMD driver bug where glXGetVideoSyncSGI and glXWaitVideoSyncSGI are particularly slow, so we can't afford to call both on every redraw or we end up with 1/3-1/2 framerate. For intel and really all drivers, another cause appears to be excessive waiting in the compiz architecture not allowing enough CPU time to draw the full frame before the next vertical refresh.
This proposal addresses both possible problems, providing optimal framerates with sync-to-vblank support, most of the time.
Sam, can you look at this? Thanks!