[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 <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Dr. Werner Fink from comment #0)
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 <werner@suse.com> --- Here a snapshot of the top joela 4058 78.22 0.978 3455316 157716 71436 20 0 R 1 132:49 /usr/bin/plasmashell --shut-up joela 4071 61.39 0.089 570152 14392 10160 39 19 S 0 104:04 /usr/lib/trackerminer-apps joela 4079 44.55 0.141 556820 22668 8868 20 0 R 7 74:26 /usr/lib/tracker-store root 2235 38.61 0.388 457068 62528 46016 20 0 R 5 68:43 /usr/bin/Xorg -br :1 vt8 -nolisten tcp -novtswitch -layout Seat0.1 -seat seat0 -auth /var/lib/kdm/AuthFiles/A:1-j6pmla -- 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#c4 --- Comment #4 from Dr. Werner Fink <werner@suse.com> --- Created attachment 693196 --> http://bugzilla.opensuse.org/attachment.cgi?id=693196&action=edit strace -f from plasamshell -- 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#c5 --- Comment #5 from Dr. Werner Fink <werner@suse.com> --- Created attachment 693197 --> http://bugzilla.opensuse.org/attachment.cgi?id=693197&action=edit strace -f from tracker-miner-apps -- 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#c6 --- Comment #6 from Dr. Werner Fink <werner@suse.com> --- Created attachment 693198 --> http://bugzilla.opensuse.org/attachment.cgi?id=693198&action=edit strace -f tracker-store -- 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#c7 --- Comment #7 from Dr. Werner Fink <werner@suse.com> --- Hmm ... sending SIGSEGV causes a new peocess joela 13525 81.19 0.896 3535588 144496 72724 20 0 R 6 1:01 /usr/bin/plasmashell -s --crashes 1 same high load. -- 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#c9 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(wbauer@tmo.at) | --- Comment #9 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Dr. Werner Fink from comment #8)
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 <wbauer@tmo.at> --- PS: another thing I would try is disabling compositing ("Configure Desktop"/"System Settings"->Display and Monitor->Compositor, or just press Shift+Alt+F12 to disable it temporarily) and see whether the problem still occurs. It may be related to the graphics driver or KDE's use of it. That's just guessing though. -- 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#c13 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME Flags|needinfo?(werner@suse.com) | --- Comment #13 from Dr. Werner Fink <werner@suse.com> --- OK found the reason. For a better support I had switched pulseaudio from user based configuration to a system wide configuration. The reason for this change is to have a better audio support for several open X sessions on vt7, vt8, and vt9 at the same time and also supporting hibernation. This change had caused trouble with KDE plasmashell due to a missconfigured system mode of pulseaudio which is now fixed. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com