Version: (using KDE KDE 4.0.0) Installed from: Ubuntu Packages OS: Linux Hello, first, my congratulations for the great 4.0 release of KDE. I like it. You guys rock! On my system (kubuntu feisty, intel driver, GM945 chipset) kwin causes around 65 wakeups/sec even while the system is idle, when run in compositing mode. When I turn compositing off, powertop does not even list kwin anymore. After reading http://bugs.kde.org/show_bug.cgi?id=152829 I tried using plastique instead of oxygen, but it does not make a change here, so I filed this under kwin.
It should not matter, but I run gutsy and not feisty of course. Sorry for the mistake. Btw, I tried today on another desktop-PC with onboard intel G915 graphics, and I see also around 65 wakeups. Without compositing again, kwin does not even appear in the list of processes in powertop.
The compositing repaint timer. Not really that important since compositing itself is not exactly resource-friendly.
Out of curiosity... :-) Would it be possible for kwin-compositing to be event based, instead of having a static timer? I guess kwin knows whenever an application paints something, and it could update the offscreen pixmap just in that case...? Sorry in case I misunderstand the whole thing. Apart of that, my respect to you Lubos for your work. Kwin compositing is really nice and makes using KDE even a better experience.
Any advance in this field? Thanks.
This still occurs with KDE 4.1 Beta. Incidentally, Compiz wakes up between 11 - 20 times per second.
On Ubuntu Hardy I measured even less than 10 wakeups for compiz, I remember around 6. But this probably depends on the amount of effects/plugins loaded.
Judging by the commit message, the change in http://websvn.kde.org/?view=rev&revision=850941 by Lubos may have fixed this.
No, now :). r854913
Thanks, this is great news! I see the commit is against trunk, i.e. future 4.2.x. Any chance this fix will make it to 4.1.x, as well?
Thank you Lubos, you definitely rock!
#9: Probably not. The fix can make whole compositing non-functional if there is a problem and needs more testing.
I just dist-upgraded my aside-install of kubuntu intrepid, which, being based on kde 4.1, seems to have some compositing features backported from 4.2 trunk... :-) There is cube, one can choose the window-switching effect, and ... wakeups of kwin are down to ~2 :-))) I want to thank the kwin team for their great work!