SUMMARY Resume from sleep does not bring up the plasma gui STEPS TO REPRODUCE 1. Make the computer sleep using the 'Sleep' button 2. Wake up the computer using the power button OBSERVED RESULT Monitor shows some text but the desktop environment doesnt load EXPECTED RESULT Plasma desktop shows up SOFTWARE/OS VERSIONS Linux/KDE Plasma: 6.1.0 (available in About System) KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 ADDITIONAL INFORMATION System shows the following error: $ cat dump.txt PID: 20045 (kwin_wayland_wr) UID: 1001 (user) GID: 100 (users) Signal: 6 (ABRT) Timestamp: Mon 2024-06-24 22:22:41 IST (1min 2s ago) Command Line: /usr/bin/kwin_wayland_wrapper --xwayland Executable: /usr/bin/kwin_wayland_wrapper Control Group: /system.slice/sddm.service Unit: sddm.service Slice: system.slice Boot ID: 57b84afd3abb4d7fa8e4d529172d6240 Machine ID: 89f2a7d89f554966b885d7b2f9d86840 Hostname: desktop Storage: /var/lib/systemd/coredump/core.kwin_wayland_wr.1001.57b84afd3abb4d7fa8e4d529172d6240.20045.1719247961000000.zst (present) Size on Disk: 300.6K Message: Process 20045 (kwin_wayland_wr) of user 1001 dumped core. Stack trace of thread 20045: #0 0x000074c5f0bf2e44 n/a (libc.so.6 + 0x94e44) #1 0x000074c5f0b9aa30 raise (libc.so.6 + 0x3ca30) #2 0x000074c5f0b824c3 abort (libc.so.6 + 0x244c3) #3 0x000074c5f105b6b7 n/a (libQt6Core.so.6 + 0x8c6b7) #4 0x000074c5f105be5b _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x8ce5b) #5 0x00006086881a1bbb n/a (kwin_wayland_wrapper + 0x4bbb) #6 0x000074c5f0b83c88 n/a (libc.so.6 + 0x25c88) #7 0x000074c5f0b83d4c __libc_start_main (libc.so.6 + 0x25d4c) #8 0x00006086881a2d75 n/a (kwin_wayland_wrapper + 0x5d75) ELF object binary architecture: AMD x86-64 Nvidia driver: 555.52.04-1 Kernel: 6.6.35-2-lts Systemd: 256.1-1
# coredumpctl gdb PID: 20045 (kwin_wayland_wr) UID: 1001 (user) GID: 100 (users) Signal: 6 (ABRT) Timestamp: Mon 2024-06-24 22:22:41 IST (20min ago) Command Line: /usr/bin/kwin_wayland_wrapper --xwayland Executable: /usr/bin/kwin_wayland_wrapper Control Group: /system.slice/sddm.service Unit: sddm.service Slice: system.slice Boot ID: 57b84afd3abb4d7fa8e4d529172d6240 Machine ID: 89f2a7d89f554966b885d7b2f9d86840 Hostname: desktop Storage: /var/lib/systemd/coredump/core.kwin_wayland_wr.1001.57b84afd3abb4d7fa8e4d529172d6240.20045.1719247961000000.zst (present) Size on Disk: 300.6K Message: Process 20045 (kwin_wayland_wr) of user 1001 dumped core. Stack trace of thread 20045: #0 0x000074c5f0bf2e44 n/a (libc.so.6 + 0x94e44) #1 0x000074c5f0b9aa30 raise (libc.so.6 + 0x3ca30) #2 0x000074c5f0b824c3 abort (libc.so.6 + 0x244c3) #3 0x000074c5f105b6b7 n/a (libQt6Core.so.6 + 0x8c6b7) #4 0x000074c5f105be5b _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x8ce5b) #5 0x00006086881a1bbb n/a (kwin_wayland_wrapper + 0x4bbb) #6 0x000074c5f0b83c88 n/a (libc.so.6 + 0x25c88) #7 0x000074c5f0b83d4c __libc_start_main (libc.so.6 + 0x25d4c) #8 0x00006086881a2d75 n/a (kwin_wayland_wrapper + 0x5d75) ELF object binary architecture: AMD x86-64 GNU gdb (GDB) 14.2 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/kwin_wayland_wrapper... This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.archlinux.org> Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. (No debugging symbols found in /usr/bin/kwin_wayland_wrapper) [New LWP 20045] --Type <RET> for more, q to quit, c to continue without paging--c [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/kwin_wayland_wrapper --xwayland'. Program terminated with signal SIGABRT, Aborted. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
Seems systemd 256.1 causes this bug. The following changes fixed it, # cat /etc/systemd/system/systemd-suspend.service.d/override.conf [Service] Environment="SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=false" # cat /etc/systemd/system/systemd-homed.service.d/override.conf [Service] Environment="SYSTEMD_HOME_LOCK_FREEZE_SESSION=false"