compiz team mailing list archive
-
compiz team
-
Mailing list archive
-
Message #51824
[Bug 1288747] Re: [334] Parts of the UI randomly flicker when moving the mouse
I am using ubuntu 14.04 (amd64) at Clevo P151HM: i7-2670QM + GF116M [GeForce GT 560M].
My results:
* nvidia driver 331.38 + native compiz 0.9.11 = no bug
* nvidia driver 340.24 + native compiz + high performance mode + no flip = no bug
* nvidia driver 340.24 + native compiz + adaptive mode + flipping = bug presents
* nvidia driver 340.24 + patched compiz = no bug + tons of messages in log "Sync object is not ready -- were events handled properly?" (1-2 message every second), sometimes hangs
I download compiz source (from ubuntu), apply the patch,
then add following code in method PrivateGLScreen::prepareDrawing ():
if (currentSync) {
if (!currentSync->isReady()) {
for (std::vector<XToGLSync*>::size_type i = xToGLSyncs.size()/2; i>0; i--) {
updateXToGLSyncs(); /* try to check next sync */
if (!currentSync) { break; } /* method updateXToGLSync may disable syncs */
if (currentSync->isReady()) { break; }
}
}
}
just before check:
if (currentSync)
{
if (!currentSync->isReady())
As a result - no bug, no messages in log, no hangs, uptime 1day (during this time: live switching to dual-monitor mode and back, several cycles of suspend/resume, work with power supply and from battery.... it seems all is ok).
ps. Sorry for my bad english
--
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/1288747
Title:
[334] Parts of the UI randomly flicker when moving the mouse
To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1288747/+subscriptions