← Back to team overview

compiz team mailing list archive

[Bug 1092674] [NEW] Fade plugin together with trailfocus causes high CPU usage

 

Public bug reported:

To reproduce:

1. Enable the Fade and Trailfocus plugins. Set Trailfocus "Saturation
Level of Unfocused Windows" to 80.

2. Open a few windows and close one of them.

3. Observe that compiz uses a lot more CPU (30% for me) than usual.

Steps I have used to debug:

1. In gdb, set breakpoint to CompositeScreen::handlePaintTimeout and
check 'scheduled' at the end of the function. Observe that it repaints
constantly.

2. Set breakpoint to PrivateCompositeScreen::scheduleRepaint. Observe
that calls come from FadeWindow::glPaint.

3. In FadeWindow::glPaint, the new saturation value seems to always be
different than the value in fAttrib. Both values remain constant from
call to call.

My hunch is that the two plugins are competing to set the saturation
value. However I haven't studied the source code in depth so I can't be
sure if that is a correct guess.

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Fade plugin together with trailfocus causes high CPU usage

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


Follow ups

References