Bug 365215

Summary: Animated tray icons cause plasmashell to use up a lot of CPU time
Product: [Plasma] plasmashell Reporter: Nicolas F. <kdebugs>
Component: System TrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version: 5.6.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolas F. 2016-07-07 22:08:53 UTC
Should a tray icon be animated, e.g. the quassel icon when receiving a highlight, or the Skype icon while logging in, the "plasmashell" process takes up a good 15% of the total CPU time (25% being maximum for one core), with additional CPU time used by Xorg as well. (So it's probably busy sending tons of drawing commands)

This is pretty bad when I receive a quassel highlight while I'm not looking, and then notice that plasmashell was busy draining my battery doing god-knows-what to re-render that small area on the screen.

Reproducible: Always

Steps to Reproduce:
1. Have a tray icon which is animated
2. Watch plasmashell shoot up in CPU usage



xf86-video-intel 2.99.917+674+g9154dff-1
xorg-server 1.18.3
no special optimus setup
compositing vsync prevention set to "automatic"

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
Comment 1 David Edmundson 2016-08-02 22:32:21 UTC

*** This bug has been marked as a duplicate of bug 356479 ***