Bug 371844 - CPU load high if animated icon in system tray
Summary: CPU load high if animated icon in system tray
Status: RESOLVED DUPLICATE of bug 356479
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.8.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-29 21:01 UTC by Christian Lichtsinn
Modified: 2016-10-30 21:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
high cpu load with animated icon in systray (192.97 KB, image/png)
2016-10-29 21:01 UTC, Christian Lichtsinn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lichtsinn 2016-10-29 21:01:18 UTC
Created attachment 101890 [details]
high cpu load with animated icon in systray

Whenever an icon is animated in the system tray I have a high cpu load (see screenshot). This happens if I start a download via a KDE application (like a mp3 download in Akregator), so that the notification icon spins and tells me the status of the download or with Quassel, if I get highlighted. The Quassel icon then pulsates, which also results in high cpu load.

I had this problem in multiple versions in plasma, not just in the newest one.
Comment 1 Branko 2016-10-30 08:08:37 UTC
For me CPU load is 10% higher when animated icon is shown in systray. In my case it's Konversation icon.

Gentoo linux, Plasma 5.7.5
Comment 2 S. Christian Collins 2016-10-30 16:42:34 UTC
I get this when using qjackctl as well. Whenever there is an xrun, qjackctl's icon will continue to pulse with a red background until manually reset, and this will not only cause high CPU usage by plasmashell, but the CPU usage will slowly creep up over time. When it starts, plasmashell uses around 4-5% CPU on my system. When I originally discovered this bug, qjackctl had been running for a while, and CPU usage was around 25%. Turning off the system tray icon in qjackctl settings returns plasmashell CPU usage to 0%.

I made a video showing this bug in action on my system:
https://youtu.be/BAD0xI-g_5A

I'm not sure if this is related, but when running plasmashell from a terminal, during the icon animation, the terminal is flooded with endless copies of the following message:
kde.systemtray: Wrong IconThemePath "/home/chris/.dropbox-dist/dropbox-lnx.x86_64-13.4.21/images" : too short or does not end with 'icons'

Stopping dropbox removes its icon from the system tray and stops the above messages, but seems to have no effect on plasmashell's CPU usage. There is a separate bug report opened for the systemtray messages: bug #365240.
Comment 3 S. Christian Collins 2016-10-30 16:44:21 UTC
My system info, in case it's useful:
 . OS: KDE Neon 5.8.2 64-bit (Plasma Desktop 5.8.2, KDE Frameworks 5.27.0, Qt 5.7.0)
 . PC: HP Pavilion m6-1035dx
 . CPU/GPU: AMD A10-4600M APU with Radeon HD 7660G Graphics (using xorg radeon driver)
 . RAM: 6GB DDR3 800 MHz
 . Linux Kernel: 4.4.0.45-generic
Comment 4 David Edmundson 2016-10-30 21:22:34 UTC
Thanks, please reopen if you have problems after 5.9

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