Plasma freeze at random intervall for no reason on Wayland and x11

Hi ,
For the past few months, Plasma has been experiencing freezes, particularly affecting elements like the taskbar, app menu, and application window.
For example, when I press the super key the desktop will freeze like 1-2 minutes and sometimes it completely fine. And they seem to appear at random intervals. I am pretty sure it is not because my laptop is lacking in the performance. I have also notice it happen on wayland and x11.
Here my system info :

Operating System: openSUSE Tumbleweed 20240508
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Memory: 14.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82NW
System Version: Legion 5 15ACH6A

here some journalctl log about plasma shell
journalctl log of plasma shell
Thank

As a first step, you might want to check the output of htop or btop while the freeze happens from a console terminal (Ctrl+Alt+F1 through F7).
Installing sysstat package and enabling metrics collections (sysstat.service) can help in identifying hotspots of previous system activity using sar.

Also could you provide the output of:

sudo coredumpctl list
sudo journalctl -p3 -b
sudo btrfs qgroup show / | head

here the coredump

TIME                          PID  UID  GID SIG     COREFILE EXE                                                            >
Mon 2024-04-29 18:37:32 EDT  6936 1000 1000 SIGTRAP present  /home/thomas/.local/share/Steam/ubuntu12_64/steamwebhelper     >
Tue 2024-04-30 20:01:14 EDT 12617 1000 1000 SIGABRT present  /app/extra/zoom/zoom.real                                      >
Wed 2024-05-01 08:14:10 EDT  2991 1000 1000 SIGSEGV present  /usr/bin/plasmashell                                           >
Wed 2024-05-01 23:44:41 EDT  2402    0    0 SIGABRT present  /usr/bin/Xorg.bin                                              >
Wed 2024-05-01 23:44:48 EDT  2459  462  462 SIGSEGV present  /usr/bin/sddm-greeter-qt6                                      >
Thu 2024-05-02 00:18:29 EDT  2388    0    0 SIGABRT present  /usr/bin/Xorg.bin                                              >
Thu 2024-05-02 00:18:31 EDT  2446  462  462 SIGSEGV present  /usr/bin/sddm-greeter-qt6                                      >
Thu 2024-05-02 00:18:32 EDT  3018    0    0 SIGABRT present  /usr/bin/Xorg.bin                                              >
Thu 2024-05-02 00:18:35 EDT  3070    0    0 SIGABRT present  /usr/bin/Xorg.bin                                              >
Thu 2024-05-02 00:18:38 EDT  3107    0    0 SIGABRT present  /usr/bin/Xorg.bin                                              >
Thu 2024-05-02 20:02:25 EDT  4558 1000 1000 SIGTRAP present  /usr/lib64/discord/Discord                                     >
Fri 2024-05-03 18:17:10 EDT  9093 1000 1000 SIGABRT present  /usr/bin/node21                                                >
Mon 2024-05-06 19:40:30 EDT  2287    0    0 SIGABRT present  /usr/bin/Xorg.bin                                              >
Tue 2024-05-07 12:07:36 EDT  3259 1000 1000 SIGABRT present  /jetbrains-toolbox                                             >
Wed 2024-05-08 16:38:53 EDT 12334 1000 1000 SIGABRT present  /home/thomas/Unity-2022.2.20f1/Editor/Unity                    >
Wed 2024-05-08 16:38:53 EDT 12325 1000 1000 SIGABRT present  /home/thomas/Unity-2022.2.20f1/Editor/Unity                    >
Thu 2024-05-09 12:40:18 EDT 26178 1000 1000 SIGTRAP present  /usr/lib64/discord/Discord                                     >
Thu 2024-05-09 12:41:17 EDT 19994 1000 1000 SIGSEGV present  /usr/bin/dolphin                                               >
Thu 2024-05-09 17:17:21 EDT  3336 1000 1000 SIGBUS  present  /jetbrains-toolbox                                             >
Mon 2024-05-13 10:38:26 EDT   315    0    0 SIGABRT present  /usr/lib/systemd/system-generators/systemd-cryptsetup-generator>
~

here the journalctl

mai 13 07:20:44 Legion kernel: integrity: Problem loading X.509 certificate -65
mai 13 11:20:56 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'.
mai 13 11:20:56 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'.
mai 13 11:20:57 Legion tlp[841]: Error: TLP's power saving will not apply on boot because tlp.service is not enabled --> Inv>
mai 13 11:20:57 Legion kernel: amdgpu 0000:03:00.0: [drm] *ERROR* link address NAK received
mai 13 11:20:58 Legion bluetoothd[1733]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Failed (0>
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to clear UUIDs: Failed (0x03)
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:20:58 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:20:59 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'.
mai 13 11:20:59 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'.
mai 13 11:21:00 Legion systemd[1]: Failed to start Postfix Mail Transport Agent.
mai 13 11:21:06 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'.
mai 13 11:21:06 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'.
mai 13 11:22:21 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'.
mai 13 11:22:21 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'.
mai 13 11:22:23 Legion jackdbus[3271]: default: failed to stat "/home/thomas/.config/jack/conf.xml", error is 2 (No such fil>
mai 13 11:22:23 Legion jackdbus[3271]: default: open() failed to open conf filename.
mai 13 11:22:23 Legion bluetoothd[1733]: Failed to set mode: Failed (0x03)
mai 13 11:22:23 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:22:23 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:22:23 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:22:23 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:22:23 Legion bluetoothd[1733]: Failed to add UUID: Failed (0x03)
mai 13 11:22:28 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'.
mai 13 11:22:28 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'.
mai 13 11:24:03 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-brscan4-libsane-type1.rules:9 Invalid key 'SYSFS'.
mai 13 11:24:03 Legion systemd-udevd[759]: /etc/udev/rules.d/55-brother-libsane-type1-inst.rules:14 Invalid key 'SYSFS'.

and for btrfs qgroup show

Qgroupid    Referenced    Exclusive   Path 
--------    ----------    ---------   ---- 
0/5           16.00KiB     16.00KiB   <toplevel>
0/256         16.00KiB     16.00KiB   @
0/257         74.51GiB     74.51GiB   @/var
0/258        486.38MiB    486.38MiB   @/usr/local
0/259         16.00KiB     16.00KiB   @/srv
0/260        796.90MiB    796.90MiB   @/root
0/261        845.52MiB    845.52MiB   @/opt
0/262        486.64GiB    141.49MiB   @/home

for now no new freeze has happen

Enabling quotas can cause problems. Disable by running as root btrfs quota disable / and watch for persisting trouble if any.

1 Like

That looks like major issues with everything from the display server (Xorg) and graphical shell (KDE Plasma) to the file manager (Dolphin) crashing.

To view details of the crash, use coredumpctl info <PID>.

Try disabling btrfs quota as @karlmistelberger pointed out and provide the output of btrfs check </path/to/btrfs/dev> from rescue ISO while the filesystem is unmounted.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.