[Bug 1016920] New: high cpu load for plasmashell [fix inside]
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920 Bug ID: 1016920 Summary: high cpu load for plasmashell [fix inside] Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: All Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: cfd_s12@web.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- There is a bug in plasmashell for Plasma versions < 5.9 https://bugs.kde.org/show_bug.cgi?id=356479 A animation in the task bar (e.g. file copying) causes a high cpu load for the plasmashell process. Because of this the system may become unresponsive. The bug has been fixed upstream but it seems it will not be backported for Plasma 5.8 by the folks at KDE. Users successfully backported this patch several weeks ago and had no problems. openSUSE Leap 42.2 (and probably 42.3) will stay with Plasma 5.8 since it is a LTS release. Therefore it would be nice to apply the patch downstream in openSUSE Leap 42.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c1
Fabian Vogt
There is a bug in plasmashell for Plasma versions < 5.9 https://bugs.kde.org/show_bug.cgi?id=356479
A animation in the task bar (e.g. file copying) causes a high cpu load for the plasmashell process. Because of this the system may become unresponsive. The bug has been fixed upstream but it seems it will not be backported for Plasma 5.8 by the folks at KDE. Users successfully backported this patch several weeks ago and had no problems. openSUSE Leap 42.2 (and probably 42.3) will stay with Plasma 5.8 since it is a LTS release. Therefore it would be nice to apply the patch downstream in openSUSE Leap 42.2.
We already have a very similiar patch (the workaround patch I posted in that bug report) in the package. It does basically the same and I tested that the solution accepted upstream is actually slightly worse in performance. Thus there was no reason to take the risk and swap the fix in the package. If you can verify that this bug is fixed in the KDE:Frameworks5:LTS repo, we can submit it as update. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c2
Wolfgang Bauer
If you can verify that this bug is fixed in the KDE:Frameworks5:LTS repo, we can submit it as update.
That upstream patch is not yet in KDE:Frameworks5:LTS though. It has been backported to 5.8 upstream, but will only be in 5.8.6. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c3
--- Comment #3 from Fabian Vogt
(In reply to Fabian Vogt from comment #1)
If you can verify that this bug is fixed in the KDE:Frameworks5:LTS repo, we can submit it as update.
That upstream patch is not yet in KDE:Frameworks5:LTS though. It has been backported to 5.8 upstream, but will only be in 5.8.6.
That is true, I mixed it up with KDE:Frameworks5 where I removed the tray icon cache. So we need a package with this fix for testing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c4
--- Comment #4 from Wolfgang Bauer
So we need a package with this fix for testing.
I created one, it's available here: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Fra... Shall I submit it to KDE:Frameworks5:LTS, or do we want to wait for feedback first? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c5
--- Comment #5 from Fabian Vogt
(In reply to Fabian Vogt from comment #3)
So we need a package with this fix for testing.
I created one, it's available here: http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/ Frameworks5:/LTS/openSUSE_Leap_42.2/
Thanks!
Shall I submit it to KDE:Frameworks5:LTS, or do we want to wait for feedback first?
What about both? :P Just make a request with a note to this bug report's state. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c6
P. Otato
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c7
--- Comment #7 from Wolfgang Bauer
This bug was fixed in the currently released Plasma 5.8.6.
Yes, see comment#2.
Is it possible to backport the bug fix or update Plasma in Leap 42.2?
Did you test it as you been asked? We are waiting for your feedback. The current plan is to keep Fabian's patch instead of the upstream fix. See comment#1 and comment#4. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c8
--- Comment #8 from P. Otato
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c9
--- Comment #9 from Fabian Vogt
Created attachment 715262 [details] CPU history during file transfer
The problem still persists (see attachment above). For a dual-core CPU "top" shows a CPU usage of 53% for kwin_x11, 22% for plasmashell and 13% for X.
Which packages did you try? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c10
--- Comment #10 from Wolfgang Bauer
Switching to wolfi323's repo gave via "zypper dup --from" also gave me some conflicts which could be resolved by changing vendors.
Please try again. That repo still contained 5.8.5, while KDE:Frameworks5:LTS already had 5.8.6. Meanwhile, 5.8.6 has been built there too though. Oh, and in case it wasn't clear, that's to be used on top of KDE:Frameworks5:LTS, it only contains plasma5-workspace with the upstream fix instead of our own. In other words: - Please add KDE:Frameworks5:LTS, upgrade all packages, and test this. - Then additionally upgrade plasma5-workspace to http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Fra... and test again. Which one works better? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c11
--- Comment #11 from P. Otato
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c12
--- Comment #12 from Fabian Vogt
First of all, there is no difference in CPU usage during file transfer between (Leap + Frameworks5:LTS) and (Leap + Frameworks5:LTS + home:wolfi323).
Ok, that means the upstream fix is not effective either. There's nothing we can do at this point, please open a new bug upstream and reopen this one here once a fix or workaround we can apply is available. Just to verify that you're using the right package, run
rpm -q --changelog plasma5-workspace | head
and make sure that the first entry starts with "Thu Feb 23 16:18:32 UTC 2017 - wbauer@tmo.at". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920#c13
P. Otato
First of all, there is no difference in CPU usage during file transfer between (Leap + Frameworks5:LTS) and (Leap + Frameworks5:LTS + home:wolfi323).
Ok, that means the upstream fix is not effective either. There's nothing we can do at this point, please open a new bug upstream and reopen this one here once a fix or workaround we can apply is available.
I'll do that. Thank you both for your attention to this matter and everything you've done.
Just to verify that you're using the right package, run
rpm -q --changelog plasma5-workspace | head
and make sure that the first entry starts with "Thu Feb 23 16:18:32 UTC 2017 - wbauer@tmo.at".
Yeah it does. duda@linux-22y8:~> rpm -q --changelog plasma5-workspace | head * Thu Feb 23 2017 wbauer@***.at - Remove 0001-Revert-Systray-Move-all-icon-resolution-to-dataengin.patch and add-tray-icon-cache.patch to use the upstream fix for "High load due to animated tray icons" (boo#1016920, kde#356479) * Tue Feb 21 2017 fabian@***********.de - Update to 5.8.6 * New bugfix release * For more details please see: * https://www.kde.org/announcements/plasma-5.8.6.php -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
Mikhail B
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
Mikhail B
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
Mikhail B
http://bugzilla.opensuse.org/show_bug.cgi?id=1016920
Bastian Holst
participants (1)
-
bugzilla_noreply@novell.com