Plasma freezes randomly, when I play CS:GO/Minecraft/Terraria in fullscreen. It freezes on Garuda, Manjaro, MX Linux and Endeavour (current distro), but doesn’t on the same distributions with Xfce/Gnome. I had one case of freeze even when watching the series in the browser.
I download the NVIDIA drivers using nvidia-inst -q -p or manually from their website, then enable hybrid mode using optimus-manager or envycontrol and just launch the game. Freeze occurs even if I afk in the initial menu. At the same time, I can move the cursor and hear sounds. Freeze is fixed with Alt+SysRq+R + Ctrl+Alt+F2 and back, but it’s super inconvenient.
I also have Present-flip spam, but did not notice it, because it turned off logging by itself due to spam.
But why it happens only on kde? I seem to have prime-sync enabled on xfce, and kernel version was the same. I didn’t have this bug a few years ago on an older kernel, but I doubt it was older than 5.11 when async flipping came along.
I have a similar problem, it sometime freeze and only mouse cursor is moving.
But, as we are 2 users on my computer, I can see it’s still possible to switch to my GF session and here everything is fine: no freeze on her session
The only way I found to fix the problem when it occurs is to go to her session to open Konsole or to open a terminal session CTRLALTF2, and kill process started with my user: /usr/bin/kwin_x11 --replace
Then I can switch back to my session and everything is fine.
Also, I have a NVidia GC with proprietary driver installed.
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-58-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 62,7 GiB of RAM
Graphics Processor: NV136
(I know, need to upgrade system to last 5.27 KDE Neon)
I have this issue as well, I think it is a problem with the Wayland version of KDE, I switched from an Nvidia GPU to an AMD and I still this get issue, if the session locks and then I go full screen on a video on a browser for example, the image freezes and I can’t do anything not even ctl + alt f2 does anything.
EDIT: found this reported and it was closed 432545 – KDE desktop freezes after auto lock, will try to reproduce and follow up