Merge lp:~vanvugt/compiz-core/fix-880707 into lp:compiz-core/0.9.5
Proposed by
Daniel van Vugt
Status: | Superseded |
---|---|
Proposed branch: | lp:~vanvugt/compiz-core/fix-880707 |
Merge into: | lp:compiz-core/0.9.5 |
Diff against target: |
145 lines (+11/-59) 2 files modified
plugins/composite/src/screen.cpp (+7/-8) plugins/opengl/src/screen.cpp (+4/-51) |
To merge this branch: | bzr merge lp:~vanvugt/compiz-core/fix-880707 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury | Approve | ||
Review via email: mp+81737@code.launchpad.net |
Description of the change
Reduced screen tearing still visible with "Sync To VBlank" enabled. (LP: #880707)
The composite plugin's frame timing logic did not correctly synchronize with the vblank support of other plugins (opengl). This would lead to excessive visible tearing even when "Sync To VBlank" is enabled in opengl.
This fix does NOT claim to eliminate all tearing, but it does eliminate most of it. To completely eliminate tearing more work has to be done to make the glXSwapBuffers code (opengl plugin) fast enough to use on every frame.
To post a comment you must log in.
I suspect this will fix bug 92599 too, so long as "Sync To VBlank" is enabled in OpenGL. Because composite will now ignore the rubbish framerate it gets from NVIDIA-Xrandr and will always use the natural refresh rate of the monitor instead.