After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746535 - gtk spinner consumes a lot of CPU
gtk spinner consumes a lot of CPU
Status: RESOLVED DUPLICATE of bug 732199
Product: gtk+
Classification: Platform
Component: Widget: Other
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2015-03-20 15:39 UTC by Kamil Páral
Modified: 2015-03-20 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Kamil Páral 2015-03-20 15:39:37 UTC
When I use the latest and greatest gtk and run the spinner demo from gtk3-demo, I see the following processes and their CPU usage:

gnome-shell  10%
Xorg         10%
gtk3-demo     9%

That's a total of almost _30%_ of CPU for showing just two gtk spinners. Spinners, which should indicate work in the background, and not steal a lot of CPU power and batter life by themselves. It's crazy.

When I pause the spinner demo, the CPU usage of the affected processes goes immediately to almost zero (0-1%). When I resume the animation, it again reaches those numbers.

I have Thinkpad X220 with Intel graphics. From my experience, this issue is generic and not related to a certain hardware. The software version is:

(I used Fedora 22 Beta TC2 Live image, currently available here: )

This issue is causing us many troubles in Fedora when performing manual and automatic installation testing. It makes the installation run 3 times as long, just because the spinners slow down the processing immensely. More information and some numbers here:

Please look into this. Thank you.
Comment 1 Emmanuele Bassi (:ebassi) 2015-03-20 15:55:33 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 732199 ***
Comment 2 Kamil Páral 2015-03-20 16:48:22 UTC
Here's an anaconda installer bug report documenting the issues we see with gtk spinner during Fedora installation: