[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
** Changed in: ubutter Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
This bug was fixed in the package compiz - 1:0.9.8.0-0ubuntu1 --- compiz (1:0.9.8.0-0ubuntu1) quantal-proposed; urgency=low * debian/control, debian/rules: - enable gles on armel and armhf - use dh-translations rather than custom code [ Sam Spilsbury ] * Enable OpenGL ES building - Refresh debian/patches/workaround_broken_drivers.patch - Remove non-ported plugins from compiz-plugins - Add FindOpenGLES2.cmake to compiz-dev [ Timo Jyrinki ] * New upstream release. - Code to make compiz work on GLES. This includes several changes to the compiz API. (LP: #201342) (LP: #901097) (LP: #1004251) (LP: #1037710) - Draft first 0.9.8.0 NEWS and bump VERSION * debian/patches/compiz-package-gles2.patch: - Remove, obsoleted by the upstream GLES work * Disable plugins that don't work on pure GLES on armhf/armel: - bench, firepaint, mblur, showmouse, splash, showrepaint, td, widget -- Sebastien Bacher seb...@ubuntu.com Fri, 31 Aug 2012 22:59:50 +0200 ** Changed in: compiz (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
** Changed in: compiz Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
Fix committed into lp:compiz at revision 3320 ** Changed in: compiz Status: In Progress = Fix Committed ** Also affects: ubutter Importance: Undecided Status: New ** Changed in: ubutter Status: New = Fix Committed ** Changed in: ubutter Importance: Undecided = Low -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
This will be fixed by the fix for bug 901097 in the gles2 branch, which is going to land soon to be released in compiz 0.9.8.0. ** Also affects: compiz Importance: Undecided Status: New ** Branch linked: lp:~compiz-linaro-team/compiz/gles2 ** Changed in: compiz Status: New = In Progress ** Changed in: compiz Assignee: (unassigned) = Compiz Linaro Team (compiz-linaro-team) ** Changed in: compiz Importance: Undecided = Low ** Changed in: compiz Milestone: None = 0.9.8.0 -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
great, thank you! eliminate all tearing once and for all sounds too good to be true! :-) -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
Added a workaround in the bug description. I think it's exactly what Aaron P. of Nvidia was talking about... WORKAROUND: Enable Force full screen redraws (buffer swap) on repaint in the Workarounds section of CCSM. If you don't have ccsm installed, you can get it by installing package compizconfig-settings-manager. ** Description changed: Binary package hint: compiz When using 2 separate X screens with Vsync on, Compiz should honor each screen's refreshrate independently. Instead it pushes a single refresh, causing tearing on one of the screens when both screens are not in perfect sync. Ubuntu Hardy compiz-core 1:0.7.2-0ubuntu1 Dell XPS M1330 laptop (Intel Core2Duo T7500, 2GB ram, Nvidia 8400M GS, internal monitor and external Dell 2405FPW) - Steps to reproduce: + WORKAROUND: + + Enable Force full screen redraws (buffer swap) on repaint in the + Workarounds section of CCSM. If you don't have ccsm installed, you can + get it by installing package compizconfig-settings-manager. + + TEST CASE: 1) Use a dual-monitor setup with 2 separate X screens 2) Start Compiz with Vsync enabled 3) Move a window around both screens You will find that screen 0 shows no sign of tearing, screen 1 will show a single large tearline running down the screen, timed at the clock difference between both screens. A bit more information taken from a post to Nvidia corp.: [question] i have a twinview setup with 2 lcd's: nvidia-settings says screen 1 has a 59.99hz refreshrate, screen 2 has 59.95hz. as a result, with vsync on (without is undoable), one of the screens always has one major tearline running down very slowly. the other one is smooth. depending on which screen i make primary, the other one starts to tear. so i guess that sort of makes sense, as the screens are slightly out of sync, but isnt there a way to make both screen vsync correctly? i tried running 2 separate x screens but that doesnt seem to be the solution (compiz is still only using 1 global refreshrate). - [answer] In TwinView, there's only one video memory surface for the screen, so it's only possible to sync to one or the other. To sync to both at the same time, you'd need to wait for the refreshes to line up again, which happens every 1/(59.99 Hz - 59.95 Hz) = 25 seconds = unacceptable. One thing you could try is to use identical mode timings for both screens, if your display devices can handle it. With two separate X screens, you can swap each one independently so you should be able to get tear-free swaps on both screens. If Compiz can't do it, that sounds like a bug in Compiz. -AaronP, Nvidia Corporation. -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
** Summary changed: - Uses single refreshrate for separate X screens + Tearing on secondary monitors even when Sync To VBlank is turned on. -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp
[Compiz] [Bug 201342] Re: Tearing on secondary monitors even when Sync To VBlank is turned on.
This is still an issue in Ubuntu 11.04 and 11.10beta2. Since I have uploaded fixes to the relevant compiz code recently, I have two suggestions that might fix this for compiz: 1. Switch GLX contexts at the right time. It seems like compiz is still in the context of screen 0 when it's doing the wait for sync on screen N0. I got this idea from the official docs: http://www.opengl.org/registry/specs/SGI/video_sync.txt 2. Remove the old-fashioned Vsync waiting calls from compiz and use SGI_GLX_swap_control for everything: http://www.opengl.org/wiki/Swap_Interval http://www.opengl.org/registry/specs/SGI/swap_control.txt I have *partially* implemented #2 in compiz as part of the fix for bug 763005 already. However we won't be able to remove the Vsync waiting logic until/unless the compiz opengl plugin is changed to use glXSwapBuffers for every single frame. Presently compiz only calls glXSwapBuffers occasionally, so SGI_GLX_swap_control can't yet be used for all frames. -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/201342 Title: Tearing on secondary monitors even when Sync To VBlank is turned on. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/201342/+subscriptions ___ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp