Bug 437707

Summary: kded5, org_kde_powerdevil, polkit-kde-authentication-agent-1 and more have high CPU usage after logging out and in
Product: [I don't know] kde Reporter: Lyubomir <liubomirwm>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.22
Sentry Crash Report:
Attachments: System monitor

Description Lyubomir 2021-05-26 17:29:17 UTC
Created attachment 138814 [details]
System monitor

I have just installed today Kubuntu 21.04 and if i logout and login again i have high CPU usage from several processes. Till now it happened twice in a matter of hour and a half. When the issue appeared i took a screenshot and restarted. Upon login usage was normal - between 3 and 10 percent of CPU. When i logged out and then login again CPU started consistently to be at 100%. I am attaching two screenshots from the first and from the 2nd (last time this happened). I would be happy if you give instructions how to pinpoint/trace the issue.
Comment 1 Lyubomir 2021-05-26 17:32:33 UTC
Sorry, can't find the 2nd screenshot, but generally processes were the same.

Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-17-generic
OS Type: 64-bit
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 2 Nate Graham 2021-05-26 21:49:49 UTC
We've had some other reports of this, and it's already fixed in Plasma 5.22.

If you can still reproduce the issue after upgrading to that Plasma version once your distro offers it, please file individual bug reports for each process that is exhibiting high CPU usage. Thanks!
Comment 3 Lyubomir 2021-05-27 07:10:13 UTC
(In reply to Nate Graham from comment #2)
> We've had some other reports of this, and it's already fixed in Plasma 5.22.
> 
> If you can still reproduce the issue after upgrading to that Plasma version
> once your distro offers it, please file individual bug reports for each
> process that is exhibiting high CPU usage. Thanks!

Is this only with Wayland? I wonder if Ubuntu can backport it before October this year.
Comment 4 Nate Graham 2021-05-27 12:44:41 UTC
To my knowledge it was fixed on X11 as well.