I spent a long time troubleshooting this issue, but nothing actualy found. So just share my observations.
My environment:
Distro: Debian Unstable (Sid)
Desktop: Plasma 6 Wayland
Kernel: linux-image-rt-amd64 (PREEMPT_RT)
Display: Dual monitors, Internal display set to 165% scaling
In daily use, plasma-plasmashell.service might restart 3-5 times by systemd in a day, but log just show: systemd\[2116\]: plasma-plasmashell.service: Main process exited, code=killed, status=9/KILL
I tried rebuilding the plasmashell applet config from scratch, but the issue persisted.
I recently switched back to the generic kernel (linux-image-amd64 with lazy/full dynamic preempt). The issue are gone and the desktop is perfectly stable now.
This is strange, as most people don’t use RT kernels for desktop.