Bug 502268

Summary: Kde plasma crashes when I plug in my monitor directly over usb c
Product: [Plasma] kwin Reporter: pramhof+kde
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, xaver.hugl
Priority: NOR Keywords: drkonqi, multiscreen
Version First Reported In: 6.3.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/99357/events/5f39d257d400495ea5c9ff2f3318efc2/
Attachments: New crash information added by DrKonqi
plasma-kwin_wayland.service log

Description pramhof+kde 2025-04-01 08:12:08 UTC
Application: kwin_wayland (6.3.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.3
Frameworks Version: 6.12.0
Operating System: Linux 6.13.8-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 6.3.3 [CoredumpBackend]

-- Information about the crash:
When I plug in my monitor in over usb c kde tries to connect to it but shows only a black screen with a white cursor in the left corner. When I plug in my usb hub whith hdmi to it everything works fine. After disconnecting the monitor the screen on my laptop reappears and shows the crash handler.

System: Minisforum V3

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  KWin::DrmPipeline::prepareAtomicPresentation (this=this@entry=0x57d6f1c33170, commit=0x57d6f1eedb10, frame=std::shared_ptr<KWin::OutputFrame> (use count 1, weak count 0) = {...}) at /usr/src/debug/kwin/kwin-6.3.3.1/src/backends/drm/drm_property.cpp:153
#6  0x00007ecc76638aeb in KWin::DrmPipeline::present (this=0x57d6f1c33170, frame=std::shared_ptr<KWin::OutputFrame> (use count 1, weak count 0) = {...}) at /usr/include/c++/14.2.1/bits/unique_ptr.h:193
#7  KWin::DrmPipeline::present (this=this@entry=0x57d6f1c33170, frame=std::shared_ptr<KWin::OutputFrame> (use count 1, weak count 0) = {...}) at /usr/src/debug/kwin/kwin-6.3.3.1/src/backends/drm/drm_pipeline.cpp:51
#8  0x00007ecc7663a944 in KWin::DrmOutput::present (this=0x57d6f212cfb0, frame=std::shared_ptr<KWin::OutputFrame> (use count 1, weak count 0) = {...}) at /usr/src/debug/kwin/kwin-6.3.3.1/src/backends/drm/drm_output.cpp:326
#9  0x00007ecc76376d60 in KWin::WaylandCompositor::composite (this=0x57d6f0920090, renderLoop=<optimized out>) at /usr/src/debug/kwin/kwin-6.3.3.1/src/compositor_wayland.cpp:448


Reported using DrKonqi
Comment 1 pramhof+kde 2025-04-01 08:12:09 UTC
Created attachment 179905 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 pramhof+kde 2025-04-01 08:14:23 UTC
Please note this is my first bug report in general. I will add additional info if missing.
Comment 3 Zamundaaa 2025-04-01 14:45:16 UTC
Please attach the output of
> journalctl --user-unit plasma-kwin_wayland --boot 0
after triggering the crash.
Comment 4 pramhof+kde 2025-04-01 17:10:11 UTC
Created attachment 179914 [details]
plasma-kwin_wayland.service log
Comment 5 pramhof+kde 2025-04-01 17:10:33 UTC
(In reply to pramhof+kde from comment #4)
> Created attachment 179914 [details]
> plasma-kwin_wayland.service log

See in the attachments
Comment 6 Nate Graham 2025-04-11 18:30:34 UTC

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