Bug 440375 - KWin crashes completely when plugging in second monitor
Summary: KWin crashes completely when plugging in second monitor
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (other bugs)
Version First Reported In: 5.22.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-29 03:15 UTC by sowieso
Modified: 2021-07-30 03:23 UTC (History)
1 user (show)

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


Attachments
dump of kwin crash (51.86 KB, text/x-log)
2021-07-29 03:15 UTC, sowieso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sowieso 2021-07-29 03:15:49 UTC
Created attachment 140381 [details]
dump of kwin crash

SUMMARY
The moment I plug in a second monitor (HDMI) Kwin crashes and my session ceases. If the monitor is plugged in when logging in through SDDM, the session crashes immediately and I get thrown back to the log-in screen. The only way to use my computer currently is to not use a second monitor.

This started to happen after a rather big system upgrade, which updated Kwin from 5.22.2.1 to 5.22.3 and the KDE-Frameworks from 5.83.0 to 5.84.0. Update to Kwin 5.22.4 didn't fix the issue. Unfortunately the issue could be related to another component too. At the same time, I also updated the kernel from 5.12.14 to 5.13.4, but after a downgrade the issue remained.

POSSIBLY RELATED
During lots of restarts, once the configuration worked when KDE forgot the display configuration and the displays where aligned horizontally. The moment I changed it back to vertically inside system settings, it crashed and I wasn't able to try it out again. How do I delete the (two-) monitor configuration manually?
Also, the system is a notebook with Intel + Nvidia graphic cards, Kwin should run on the Intel card, but afaik the HDMI interface uses the Nvidia card somehow.
Also, inside the log there where issues with Thunderbolt. I don't know if Thunderbolt and HDMI are related. I removed ›bolt‹ for now, but it didn't change anything.

FURTHER
Please let me know how I can obtain more useful information for you. I guess it's hard to do anything right now.

ADDITIONAL INFORMATION
Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.5-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-10850H CPU @ 2.70GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 sowieso 2021-07-30 03:23:24 UTC
I don't know what the issue was, but this update just fixed it.

libcap-ng (0.8.2-1 -> 0.8.2-3)
libfilezilla (0.30.0-1 -> 0.31.0-1)
libpulse (14.2-3 -> 15.0-1)
xorg-server-common (1.20.12-1 -> 1.20.12-2)
xorg-server (1.20.12-1 -> 1.20.12-2)
filezilla (3.55.0-1 -> 3.55.0-2)
libnm (1.32.4-1 -> 1.32.6-1)
libqalculate (3.19.0-1 -> 3.20.1-1)
networkmanager (1.32.4-1 -> 1.32.6-1)
plasma-workspace (5.22.4-1 -> 5.22.4-2)
plasma-wayland-session (5.22.4-1 -> 5.22.4-2)
pulseaudio (14.2-3 -> 15.0-1)
pulseaudio-bluetooth (14.2-3 -> 15.0-1)
sudo (1.9.7.p1-1 -> 1.9.7.p2-1)
xorg-server-xvfb (1.20.12-1 -> 1.20.12-2)