This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma crashes when turning on main monitor

Tags: None
(comma "," separated)
billk
Registered Member
Posts
1
Karma
0
Hello. I have a dual monitor setup on my Arch Linux system. I have noticed Plasma crashing when turning my main monitor on after it has been turned off.

Reproduction steps are as follows:
1) Turn off both monitors
2) Turn secondary monitor on - nothing happens, system continues to function normally
3) Turn main monitor on - Plasma crashes

After the crash, Plasma restarts (taskbar & desktop icons vanish and reappear after a couple seconds), but the display configuration is messed up (main monitor becomes secondary and vice versa), and I have to restart my PC to get it back to normal.

I have to note the frequency of the issue though: on my previous Ryzen's integrated graphics (Ryzen 3 3200G) the issue occurred once in a while. After upgrading to a Sapphire Nitro+ RX 580 and changing my CPU to a Ryzen 5 2600 (no integrated graphics) it occurrs every single time I turn off and then turn on my main monitor. Changing from the HDMI to the DVI or DisplayPort port on my graphics card does not do anything.

Here are some crash logs:

(main monitor connected to DisplayPort)
Code: Select all
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x0000555ed87f41dd in  ()
#5  0x00007ff0204bea71 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007ff0204c0fcf in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#7  0x00007ff0204b1b56 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#8  0x00007ff021178b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007ff02048df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007ff0204d84b3 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#11 0x00007ff0204d8af2 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007ff01f0abafb in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#13 0x00007ff01f1085d9 in  () at /usr/lib/libglib-2.0.so.0
#14 0x00007ff01f0a9382 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#15 0x00007ff0204d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007ff0204866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#17 0x00007ff020491219 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#18 0x0000555ed87ca168 in  ()
#19 0x00007ff01fc3c790 in  () at /usr/lib/libc.so.6
#20 0x00007ff01fc3c84a in __libc_start_main () at /usr/lib/libc.so.6
#21 0x0000555ed87ca515 in  ()
[Inferior 1 (process 935) detached]


(main monitor connected to HDMI port as usual, ran "kstart5 plasmashell" from Konsole after a crash)
Code: Select all
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fe3a476c581 in ?? () from /usr/lib/libc.so.6
#5  0x00007fe39ef585d3 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#6  0x00007fe39ef58b77 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#7  0x00007fe39ef594ce in ?? () from /usr/lib/libQt5XcbQpa.so.5
#8  0x00007fe3a54ddd45 in QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) () from /usr/lib/libQt5Gui.so.5
#9  0x00007fe3a5b82e81 in ?? () from /usr/lib/libQt5Widgets.so.5
#10 0x00007fe3a5b833d5 in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007fe3a5b84ab9 in ?? () from /usr/lib/libQt5Widgets.so.5
#12 0x00007fe3a5bd0f09 in ?? () from /usr/lib/libQt5Widgets.so.5
#13 0x00007fe3a5b78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007fe3a4e8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007fe3a5340206 in QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*) () from /usr/lib/libQt5Gui.so.5
#16 0x00007fe3a5328885 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#17 0x00007fe39ef5f8d0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#18 0x00007fe3a330fafb in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007fe3a336c5d9 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007fe3a330d382 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007fe3a4ed8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#22 0x00007fe3a4e866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007fe3a4e91219 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#24 0x0000559c1b802b65 in ?? ()
#25 0x00007fe3a463c790 in ?? () from /usr/lib/libc.so.6
#26 0x00007fe3a463c84a in __libc_start_main () from /usr/lib/libc.so.6
#27 0x0000559c1b803425 in ?? ()
[Inferior 1 (process 15313) detached]


Also, this issue only occurs when using X11 as my window manager - on Wayland everything is fine. But, I really don't want to change to Wayland, since screen recording and similar features such as screen sharing do not work.

Any ideas as to what is happening here? Thanks in advance!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]