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
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
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:

gnome-shell-3.15.91-1.fc22.x86_64
gtk3-3.15.12-1.fc22.x86_64
xorg-x11-server-Xorg-1.17.1-6.fc22.x86_64
(I used Fedora 22 Beta TC2 Live image, currently available here:
http://dl.fedoraproject.org/pub/alt/stage/22_Beta_TC2/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-22_Beta-TC2.iso )

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:
https://lists.fedoraproject.org/pipermail/test/2015-March/125369.html
https://lists.fedoraproject.org/pipermail/test/2015-March/125371.html
https://lists.fedoraproject.org/pipermail/test/2015-March/thread.html#125284

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:
https://bugzilla.redhat.com/show_bug.cgi?id=1204242