Bug 494842

Summary: System crash on external monitor
Product: [Plasma] kwin Reporter: Abiral <abiralpokharel001>
Component: generic-crashAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: abiralpokharel001, kde
Priority: NOR    
Version First Reported In: 6.2.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: journalctl logs

Description Abiral 2024-10-16 04:54:11 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Plasma fails to start and loops to login screen (sddm) when external display is connected. 
When plasma is already running (booting without external display), connecting the external display 
closes every applications and log outs to sddm and starts looping again.
Journalctl shows a lot of kwin errors.

STEPS TO REPRODUCE
1.  Login to Plasma wayland session through sddm when external monitor is connected. 

OBSERVED RESULT
Crash and loop of sddm login screen.

EXPECTED RESULT
Login to plasma-shell and no crash. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.11.3-arch1-1
KDE Plasma Version:  6.2.1
KDE Frameworks Version:  6.7.0
Qt Version:  6.8.0

ADDITIONAL INFORMATION
Nvidia-open 560.35.03 is installed.
Comment 1 David Edmundson 2024-10-16 13:19:16 UTC
Please attach journald output.
Comment 2 Abiral 2024-10-16 14:32:28 UTC
Created attachment 174893 [details]
journalctl logs

I have attached the error logs from journalctl
Comment 3 Abiral 2024-10-18 22:31:58 UTC
The latest kwin 6.2.1.1-1 has fixed this issue. 
Closing this issue.