Bug 445298 - [Wayland] unplugging a screen causes some applications to use 100% CPU load
Summary: [Wayland] unplugging a screen causes some applications to use 100% CPU load
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-10 22:05 UTC by Germano Massullo
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
GDB KeepassXC (14.28 KB, text/plain)
2021-11-10 22:06 UTC, Germano Massullo
Details
GDB Konsole (14.03 KB, text/plain)
2021-11-10 22:06 UTC, Germano Massullo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2021-11-10 22:05:50 UTC
My laptop when it's connected to an external screen, disables its screen to just let me use the external monitor.
The external monitor has various inputs and I have connected various computers to it.
As soon I selected another video input on the external screen, my laptop started to behave in a strange way, for example it acted like if the screen has been unplugged. Moreover the most important thing is that various applications crashed (Firefox Wayland) or started to use 100% CPU load (Konsole, KeepassXC).
I attach GDB trace of Konsole and KeepassXC while using 100% CPU load

plasma 5.23.2
KDE Frameworks 5.87.0
Qt 5.15.2
Comment 1 Germano Massullo 2021-11-10 22:06:19 UTC
Created attachment 143425 [details]
GDB KeepassXC
Comment 2 Germano Massullo 2021-11-10 22:06:37 UTC
Created attachment 143426 [details]
GDB Konsole
Comment 3 David Edmundson 2023-09-06 10:38:20 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.