Bug 421676

Summary: kwin_x11 or plasmashell gets stuck in memory after logout, causes high cpu usage and can prevent re-login
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: grahamperrin, nate, plasma-bugs, postix, schwancarl
Priority: NOR    
Version: 5.19.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: kwin_x11 causing high cpu usage on Wayland session
two instances of plasmashell running on Wayland, one of them causing high cpu usage

Description Patrick Silva 2020-05-17 14:47:47 UTC
Created attachment 128543 [details]
kwin_x11 causing high cpu usage on Wayland session

SUMMARY
Sometimes my cpu fan rotates faster immediately after logout, then I noticed that when such behavior occurs plasmashell or kwin_x11 process is stuck in memory and causing high cpu usage.
Please see the attached screenshots showing kwin_x11 and plasmashell causing high cpu usage on Wayland session. I can't reproduce this problem consistently though.

STEPS TO REPRODUCE
1. boot your system
2a. start and restart X11 a few times (at some point kwin_x11 will get stuck in memory after logout)
2b. start and restart Wayland session a few times (at some point plasmashell will get stuck in memory after logout)

EXPECTED RESULT
kwin_x11 and plasmashell should never get stuck in memory after logout

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0 rc2
Comment 1 Patrick Silva 2020-05-17 14:48:40 UTC
Created attachment 128544 [details]
two instances of plasmashell running on Wayland, one of them causing high cpu usage
Comment 2 carl 2020-06-03 13:10:52 UTC
I got the same problem the first time I opened a Wayland session. Killing kwin_x11 was a workaround that worked for me.
Comment 3 Patrick Silva 2020-06-10 19:36:03 UTC
This problem is still happening.

Operating System: Arch Linux 
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Comment 4 Patrick Silva 2020-10-03 13:49:15 UTC
yesterday kwin_x11 got stuck in the memory after logout on my Arch running Plasma 5.20 beta.
Comment 5 Patrick Silva 2020-10-25 12:52:44 UTC
With Plasma 5.20.1, when kwin_X11 process gets stuck in memory after logout, X11 session can not be started again. My system just gets stuck in SDDM after I enter my password.
Comment 6 Nate Graham 2020-10-25 16:44:18 UTC

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