← Back to team overview

compiz team mailing list archive

[Bug 803943] Re: compiz consuming a lot of cpu

 

This bug makes it particularly painful to use Google Chrome/Chromium as reported here:
http://code.google.com/p/chromium/issues/detail?id=98200

One easy test case:
Enable the compiz benchmark plugin (compiz-plugins-extra)

Open google chrome with two tabs, one blank the other one pointing to:
http://www.lri.fr/~kn/test.html (this is a blank page with a bit of javascript that changes the title of the page every two seconds).
right click on the tab with the javascript code and choose pin tab. Now bring the other, non pinned tab in front. After two seconds.
the pinned tab starts glowing to notify of the title change in the background tab. While the background tab is glowing, one can see
1) compiz renders at 60 FPS, burning between 15% and 20% CPU (depending on the machine I tested on).
2) strace of compiz shows that it is polling the X server socket at a very high rate (see linked bugreport).

I could confirm this on precise, both on my laptop and desktop, both Intel graphic cards.
Disabling V-sync does not help.
Also this does not happen with compiz launched alone.

If compiz is launched alone (just X, xterm, compiz and google-chrome),
then compiz stays at a moderate 11FPS when the tab is glowing.


** Bug watch added: code.google.com/p/chromium/issues #98200
   http://code.google.com/p/chromium/issues/detail?id=98200

-- 
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/803943

Title:
  compiz consuming a lot of cpu

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/803943/+subscriptions