[Bug 999738] New: At screen lock the plasmashell causes high load
http://bugzilla.opensuse.org/show_bug.cgi?id=999738 Bug ID: 999738 Summary: At screen lock the plasmashell causes high load Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Major Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: werner@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Every time a KDE user locks his screen the plasmashell or better /usr/bin/plasmashell --shut-up uses nearly 100% CPU time. If the virtual console is switched to an other graphical or text console the load goes doewn. Going back to the original graphical console od the KDE user does cause an increasing load again. Could be a dup of bug 959854 but as this bug now hangs around 2015-12-21 I've open this one! PLease fix and lower the noise of the fans here, thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c1
Wolfgang Bauer
PLease fix and lower the noise of the fans here, thanks!
Well, it's definitely not a general problem. There are other bug reports about such things, but we'd need your help. What process is using the CPU time anyway? Is it plasmashell? Does it happen on a fresh user account? It may be caused by some particular applet. Or it may be a kernel problem after all, specific to the particular hardware in use. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c3
--- Comment #3 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c4
--- Comment #4 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c5
--- Comment #5 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c6
--- Comment #6 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c7
--- Comment #7 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c9
Wolfgang Bauer
What is going on on this bug entry ... I'd like to have a solution. How to avoid this nasty polling loop?
Sorry, busy with other stuff... For a "solution", we'd need to find out what exactly is causing it though and that may not be easy. Some comments: (In reply to Dr. Werner Fink from comment #2)
To reproduce this the user has to have to lock his screen within KDE plasmashell. And the account of the user is not an fresh KDE but an older
It doesn't happen here. Is the desktop still usable when the CPU usage goes high, or is the desktop frozen? Or does it only happen while the screen is locked?
This does not happen with other session managers from other users.
With "session managers" you mean other desktop environments than Plasma5? As it's plasmashell that takes the CPU, that's to be expected I suppose. Can you try if it happens on a fresh user account too, please? Would at least show whether this happens with the default setup as well, or is caused by something extra. (In reply to Dr. Werner Fink from comment #5)
Created attachment 693197 [details] strace -f from tracker-miner-apps
(In reply to Dr. Werner Fink from comment #6)
Created attachment 693198 [details] strace -f tracker-store
Tracker is GNOME's file indexer and unrelated to KDE/Plasma. You probably should not even have it installed when using Plasma5, KDE has its own (baloo), and you probably have both running which of course can also drain your CPU. I would suggest to uninstall it or remove KDE from the "OnlyShowIn" line in tracker's autostart .desktop file (in /etc/xdg/autostart/), but I don't really think it would cause your Plasma problem. (In reply to Dr. Werner Fink from comment #4)
Created attachment 693196 [details] strace -f from plasamshell
I see many references to PulseAudio in there. Can you try to disable PulseAudio as a test? YaST->Hardware->Sound->Other->PulseAudio Configuration And/or disable the volume control in the "System Tray Settings". (In reply to Dr. Werner Fink from comment #7)
Hmm ... sending SIGSEGV causes a new peocess
Yes, plasmashell gets restarted automatically if it crashes. This is by design. Googling for your problem, I found this: https://bugs.launchpad.net/ubuntu/+source/plasma-workspace/+bug/1435641 That's an older bug report, it seemed to have been caused by the IM applet, so try to disable that one too if you use it. The last comment (probably unrelated to the original report) states that it happens when connecting/disconnecting to/from a docking station or after hibernating. And https://forum.kde.org/viewtopic.php?f=289&t=121533&start=45 indicates a similar problem when using skype (which may relate to PulseAudio too). Are you using skype? Does it happen too when skype is not running? Also, we added a patch recently (to the 5.8 packages) that should fix a high CPU usage problem in plasmashell. https://build.opensuse.org/package/view_file/KDE:Frameworks5:LTS/plasma5-wor... Unfortunately backporting it to 5.5 will not be possible because the system tray has been rewritten from scratch in 5.8 (though the question is if that particular problem even existed in 5.5). You could try to remove the system tray completely though as a test (click on toolbox icon on the right edge to open the toolbox, then right-click on the system tray, there should be a "Remove" option then). Another possible option would be to try upgrading to 42.2 beta, which has the latest Plasma and much newer Qt5 packages (5.8 and 5.6.1 respectively). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c10
--- Comment #10 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=999738
http://bugzilla.opensuse.org/show_bug.cgi?id=999738#c13
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com