https://bugs.kde.org/show_bug.cgi?id=468971
Bug ID: 468971 Summary: (KDE / NVidia / Wayland) Monitor freezes when another monitor is turned on Classification: Plasma Product: KScreen Version: 5.27.4 Platform: Archlinux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: OSD Assignee: kscreen-bugs-n...@kde.org Reporter: nick...@outlook.com Target Milestone: --- SUMMARY I am running into a issue on KDE / NVidia / Wayland where if I turn on a third monitor, one of my existing monitors freezes up completely (See Video for more info - https://youtu.be/H2KAJl2yJWI). No windows can be moved, no mouse movements show up on it, etc. It's like the monitor is completely frozen on a screenshot of the desktop. When looking into journalctl, it seems like the process "kscreen_osd_ser" is crashing right around the time the third monitor is turned on (see in additional information below). The output of running "coredumpctl info" and "coredumpctl gdb" with debuginfod is shown in the "Additional Information" section below. A journalctl log of all the messages since boot is also attached below STEPS TO REPRODUCE 1. Boot into KDE with nvidia drivers installed and wayland session. Have 1 or 2 monitors already on. 2. Turn on a third screen/monitor 3. One of the screens will freeze up OBSERVED RESULT A monitor that is completely frozen. No windows can be moved, and no mouse movements are visible. It's essentially frozen on a screenshot of the desktop. EXPECTED RESULT The monitor is expected not to freeze when another monitor is turned on SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 NVidia Packages: - nvidia-dkms 530.41.03-1 - nvidia-settings 530.41.03-1 - nvidia-utils 530.41.03-1 Wayland Related Packages: - egl-wayland 2:1.1.11-4 - kwayland 5.105.0-1 - kwayland-integration 5.27.4-1 - plasma-wayland-session 5.27.4.1-1 - qt5-wayland 5.15.9+kde+r55-1 - wayland 1.22.0-1 - wayland-utils 1.1.0-1 - xorg-xwayland 23.1.1-1 Kernel Version: 6.2.12-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 ADDITIONAL INFORMATION ---------- kscreen_osd_ser core dump ---------- Apr 25 13:41:13 nickarchlinux systemd-coredump[12900]: [🡕] Process 12435 (kscreen_osd_ser) of user 1000 dumped core. Stack trace of thread 12435: #0 0x00007f096dca08ec n/a (libc.so.6 + 0x878ec) #1 0x00007f096dc51ea8 raise (libc.so.6 + 0x38ea8) #2 0x00007f096dc3b53d abort (libc.so.6 + 0x2253d) #3 0x00007f096ca9fede _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fede) #4 0x00007f096d0fa6d2 n/a (libQt5Gui.so.5 + 0xfa6d2) #5 0x00007f096d157cf9 _ZN7QCursorC2EN2Qt11CursorShapeE (libQt5Gui.so.5 + 0x157cf9) #6 0x00007f096d157e99 _ZN14QWindowPrivate9setCursorEPK7QCursor (libQt5Gui.so.5 + 0x157e99) #7 0x00007f096e035361 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x235361) #8 0x00007f096e0351b6 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x2351b6) #9 0x00007f096e0351b6 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x2351b6) #10 0x00007f096e0351b6 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x2351b6) #11 0x00007f096e029b4b _ZN10QQuickItem13setParentItemEPS_ (libQt5Quick.so.5 + 0x229b4b) #12 0x00007f096e02a162 _ZN10QQuickItemD1Ev (libQt5Quick.so.5 + 0x22a162) #13 0x00007f094eb7a00b n/a (libqtquicktemplates2plugin.so + 0x3500b) #14 0x00007f096e0ba459 _ZN10QQuickViewD2Ev (libQt5Quick.so.5 + 0x2ba459) #15 0x00007f096e0ba47e _ZN10QQuickViewD0Ev (libQt5Quick.so.5 + 0x2ba47e) #16 0x0000564f104a7876 n/a (kscreen_osd_service + 0xa876) #17 0x0000564f104a78dd n/a (kscreen_osd_service + 0xa8dd) #18 0x00007f096ccb4c75 _ZN14QObjectPrivate14deleteChildrenEv (libQt5Core.so.5 + 0x2b4c75) #19 0x00007f096ccb5439 _ZN7QObjectD2Ev (libQt5Core.so.5 + 0x2b5439) #20 0x0000564f104a24ee n/a (kscreen_osd_service + 0x54ee) #21 0x00007f096dc3c790 n/a (libc.so.6 + 0x23790) #22 0x00007f096dc3c84a __libc_start_main (libc.so.6 + 0x2384a) #23 0x0000564f104a2685 n/a (kscreen_osd_service + 0x5685) Stack trace of thread 12452: #0 0x00007f096dd139df __poll (libc.so.6 + 0xfa9df) #1 0x00007f096b16c17f n/a (libglib-2.0.so.0 + 0xb717f) #2 0x00007f096b10e1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2) #3 0x00007f096ccd8d3c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x> #4 0x00007f096cc8668c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28668c) #5 0x00007f096cae771f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe771f) #6 0x00007f096e371cba n/a (libQt5DBus.so.5 + 0x23cba) #7 0x00007f096cae424a n/a (libQt5Core.so.5 + 0xe424a) #8 0x00007f096dc9ebb5 n/a (libc.so.6 + 0x85bb5) #9 0x00007f096dd20d90 n/a (libc.so.6 + 0x107d90) Stack trace of thread 12462: #0 0x00007f096dd139df __poll (libc.so.6 + 0xfa9df) #1 0x00007f096b16c17f n/a (libglib-2.0.so.0 + 0xb717f) #2 0x00007f096b10e1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2) #3 0x00007f096ccd8d3c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x> #4 0x00007f096cc8668c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28668c) #5 0x00007f096cae771f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe771f) #6 0x00007f096dac0120 n/a (libQt5Qml.so.5 + 0x2c0120) #7 0x00007f096cae424a n/a (libQt5Core.so.5 + 0xe424a) #8 0x00007f096dc9ebb5 n/a (libc.so.6 + 0x85bb5) #9 0x00007f096dd20d90 n/a (libc.so.6 + 0x107d90) Stack trace of thread 12505: #0 0x00007f096dd139df __poll (libc.so.6 + 0xfa9df) #1 0x00007f095aa98fff n/a (libnvidia-eglcore.so.530.41.03 + 0x1498fff) #2 0x00007f095aa9797a n/a (libnvidia-eglcore.so.530.41.03 + 0x149797a) #3 0x00007f096dc9ebb5 n/a (libc.so.6 + 0x85bb5) #4 0x00007f096dd20d90 n/a (libc.so.6 + 0x107d90) ELF object binary architecture: AMD x86-64 ---------- result of running "coredumpctl info" ---------- PID: 12435 (kscreen_osd_ser) UID: 1000 (nicholas) GID: 1000 (nicholas) Signal: 6 (ABRT) Timestamp: Tue 2023-04-25 13:41:13 CDT (1h 18min ago) Command Line: /usr/lib/kscreen_osd_service Executable: /usr/lib/kscreen_osd_service Control Group: /user.slice/user-1000.slice/user@1000.service/background.slice/plasma-kscreen-osd.service Unit: user@1000.service User Unit: plasma-kscreen-osd.service Slice: user-1000.slice Owner UID: 1000 (nicholas) Boot ID: 9e49eade90d149b1aae8ce642137c41c Machine ID: 8029caac84454ad5b54416a03781a00b Hostname: nickarchlinux Storage: /var/lib/systemd/coredump/core.kscreen_osd_ser.1000.9e49eade90d149b1aae8ce642137c41c.12435.1682448073000000.zst (present) Size on Disk: 3.1M Message: Process 12435 (kscreen_osd_ser) of user 1000 dumped core. Stack trace of thread 12435: #0 0x00007f096dca08ec n/a (libc.so.6 + 0x878ec) #1 0x00007f096dc51ea8 raise (libc.so.6 + 0x38ea8) #2 0x00007f096dc3b53d abort (libc.so.6 + 0x2253d) #3 0x00007f096ca9fede _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fede) #4 0x00007f096d0fa6d2 n/a (libQt5Gui.so.5 + 0xfa6d2) #5 0x00007f096d157cf9 _ZN7QCursorC2EN2Qt11CursorShapeE (libQt5Gui.so.5 + 0x157cf9) #6 0x00007f096d157e99 _ZN14QWindowPrivate9setCursorEPK7QCursor (libQt5Gui.so.5 + 0x157e99) #7 0x00007f096e035361 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x235361) #8 0x00007f096e0351b6 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x2351b6) #9 0x00007f096e0351b6 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x2351b6) #10 0x00007f096e0351b6 _ZN17QQuickItemPrivate11derefWindowEv (libQt5Quick.so.5 + 0x2351b6) #11 0x00007f096e029b4b _ZN10QQuickItem13setParentItemEPS_ (libQt5Quick.so.5 + 0x229b4b) #12 0x00007f096e02a162 _ZN10QQuickItemD1Ev (libQt5Quick.so.5 + 0x22a162) #13 0x00007f094eb7a00b n/a (libqtquicktemplates2plugin.so + 0x3500b) #14 0x00007f096e0ba459 _ZN10QQuickViewD2Ev (libQt5Quick.so.5 + 0x2ba459) #15 0x00007f096e0ba47e _ZN10QQuickViewD0Ev (libQt5Quick.so.5 + 0x2ba47e) #16 0x0000564f104a7876 n/a (kscreen_osd_service + 0xa876) #17 0x0000564f104a78dd n/a (kscreen_osd_service + 0xa8dd) #18 0x00007f096ccb4c75 _ZN14QObjectPrivate14deleteChildrenEv (libQt5Core.so.5 + 0x2b4c75) #19 0x00007f096ccb5439 _ZN7QObjectD2Ev (libQt5Core.so.5 + 0x2b5439) #20 0x0000564f104a24ee n/a (kscreen_osd_service + 0x54ee) #21 0x00007f096dc3c790 n/a (libc.so.6 + 0x23790) #22 0x00007f096dc3c84a __libc_start_main (libc.so.6 + 0x2384a) #23 0x0000564f104a2685 n/a (kscreen_osd_service + 0x5685) Stack trace of thread 12452: #0 0x00007f096dd139df __poll (libc.so.6 + 0xfa9df) #1 0x00007f096b16c17f n/a (libglib-2.0.so.0 + 0xb717f) #2 0x00007f096b10e1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2) #3 0x00007f096ccd8d3c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8d3c) #4 0x00007f096cc8668c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28668c) #5 0x00007f096cae771f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe771f) #6 0x00007f096e371cba n/a (libQt5DBus.so.5 + 0x23cba) #7 0x00007f096cae424a n/a (libQt5Core.so.5 + 0xe424a) #8 0x00007f096dc9ebb5 n/a (libc.so.6 + 0x85bb5) #9 0x00007f096dd20d90 n/a (libc.so.6 + 0x107d90) Stack trace of thread 12462: #0 0x00007f096dd139df __poll (libc.so.6 + 0xfa9df) #1 0x00007f096b16c17f n/a (libglib-2.0.so.0 + 0xb717f) #2 0x00007f096b10e1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2) #3 0x00007f096ccd8d3c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8d3c) #4 0x00007f096cc8668c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28668c) #5 0x00007f096cae771f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe771f) #6 0x00007f096dac0120 n/a (libQt5Qml.so.5 + 0x2c0120) #7 0x00007f096cae424a n/a (libQt5Core.so.5 + 0xe424a) #8 0x00007f096dc9ebb5 n/a (libc.so.6 + 0x85bb5) #9 0x00007f096dd20d90 n/a (libc.so.6 + 0x107d90) Stack trace of thread 12505: #0 0x00007f096dd139df __poll (libc.so.6 + 0xfa9df) #1 0x00007f095aa98fff n/a (libnvidia-eglcore.so.530.41.03 + 0x1498fff) #2 0x00007f095aa9797a n/a (libnvidia-eglcore.so.530.41.03 + 0x149797a) #3 0x00007f096dc9ebb5 n/a (libc.so.6 + 0x85bb5) #4 0x00007f096dd20d90 n/a (libc.so.6 + 0x107d90) ELF object binary architecture: AMD x86-64 ---------- result of running "coredumpctl gbd" with debuginfod ---------- [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/lib/kscreen_osd_service'. Program terminated with signal SIGABRT, Aborted. warning: Section `.reg-xstate/12435' in core file too small. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0; [Current thread is 1 (Thread 0x7f096a7de680 (LWP 12435))] (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007f096dca0953 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007f096dc51ea8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007f096dc3b53d in __GI_abort () at abort.c:79 #4 0x00007f096ca9fede in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914 #5 QMessageLogger::fatal (this=this@entry=0x7fffbe43e620, msg=msg@entry=0x7f096d56b3e0 "QPixmap: Must construct a QGuiApplication before a QPixmap") at global/qlogging.cpp:893 #6 0x00007f096d0fa6d2 in qt_pixmap_thread_test () at image/qpixmap.cpp:76 #7 qt_pixmap_thread_test () at image/qpixmap.cpp:73 #8 QPixmap::QPixmap (this=<optimized out>, this=<optimized out>) at image/qpixmap.cpp:111 #9 0x00007f096d157cf9 in QCursorData::QCursorData (s=Qt::ArrowCursor, this=0x564f113ccf00) at kernel/qcursor.cpp:754 #10 QCursorData::initialize () at kernel/qcursor.cpp:785 #11 QCursorData::initialize () at kernel/qcursor.cpp:780 #12 QCursor::QCursor (this=<optimized out>, shape=<optimized out>, this=<optimized out>, shape=<optimized out>) at kernel/qcursor.cpp:479 #13 0x00007f096d157e99 in QWindowPrivate::setCursor (this=0x564f10b5caf0, newCursor=newCursor@entry=0x0) at kernel/qwindow.cpp:2895 #14 0x00007f096d157f10 in QWindow::unsetCursor (this=<optimized out>) at kernel/qwindow.cpp:2868 #15 0x00007f096e035361 in QQuickItemPrivate::derefWindow (this=0x564f10b7a930) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3039 #16 0x00007f096e0351b6 in QQuickItemPrivate::derefWindow (this=0x564f10a48dd0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3062 #17 0x00007f096e0351b6 in QQuickItemPrivate::derefWindow (this=0x564f10a49b70) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3062 #18 0x00007f096e0351b6 in QQuickItemPrivate::derefWindow (this=0x564f10b0c800) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:3062 #19 0x00007f096e029b4b in QQuickItem::setParentItem (this=0x564f10bea240, parentItem=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:2717 #20 0x00007f096e02a162 in QQuickItem::~QQuickItem (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickitem.cpp:2335 #21 0x00007f09630e438b in QQuickControl::~QQuickControl (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt5-quickcontrols2/qtquickcontrols2/src/quicktemplates2/qquickcontrol.cpp:1001 #22 0x00007f094eb7a00b in QQmlPrivate::QQmlElement<QQuickControl>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtQml/qqmlprivate.h:144 #23 QQmlPrivate::QQmlElement<QQuickControl>::~QQmlElement (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtQml/qqmlprivate.h:144 #24 0x00007f096e0ba459 in QQuickView::~QQuickView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickview.cpp:209 #25 0x00007f096e0ba47e in QQuickView::~QQuickView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/items/qquickview.cpp:210 #26 0x0000564f104a7876 in std::default_delete<QQuickView>::operator() (__ptr=<optimized out>, this=<optimized out>) at /usr/include/c++/12.2.1/bits/unique_ptr.h:89 #27 std::unique_ptr<QQuickView, std::default_delete<QQuickView> >::~unique_ptr (this=<optimized out>, this=<optimized out>) at /usr/include/c++/12.2.1/bits/unique_ptr.h:396 --Type <RET> for more, q to quit, c to continue without paging--c #28 KScreen::Osd::~Osd (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kscreen/kscreen-5.27.4/osd/osd.cpp:37 #29 0x0000564f104a78dd in KScreen::Osd::~Osd (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kscreen/kscreen-5.27.4/osd/osd.cpp:37 #30 0x00007f096ccb4c75 in QObjectPrivate::deleteChildren (this=this@entry=0x564f107fe3f0) at kernel/qobject.cpp:2137 #31 0x00007f096ccb5439 in QObject::~QObject (this=<optimized out>, this=<optimized out>) at kernel/qobject.cpp:1115 #32 0x0000564f104a24ee in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kscreen/kscreen-5.27.4/osd/main.cpp:18 -- You are receiving this mail because: You are watching all bug changes.