Blender Freezes Whole System I recently started learning Blender and I'm really enjoying it, but it keeps freezing my system. I started a blender tutorial to create a donut and my setup keeps freezing. Every window freezes and starts flickering, but it seems that the desktop underneath still works, I can start any software, but the blender window stays on top. I'm using Manjaro and if I press F12 I can shutdown and restart my laptop from the terminal. However, this happens quite often and I cannot use Blender anymore.
My setup is the following:

Operating System: Manjaro Linux

KDE Plasma Version: 5.18.5

KDE    Frameworks Version: 5.70.0

Qt Version: 5.15.0

Kernel Version: 5.7.0-3-MANJARO

OS Type: 64-bit

Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz

Memory: 7,7 GiB of RAM


I checked top and it didn't seem like Blender was using too much memory or CPU. I'm open to any suggestions as I can hardly use the software and couldn't find anything when googling around.
Thanks in advance!
EDIT: Forgot to mention that since blender only becomes unresponsive and doesn't crash there aren't any logs.
This looks like an issue with the NVIDIA-Optimus powersaving technology, which is somewhat commonly found in laptops.
As the linux driver runs applications per default with the internal Intel graphics adapter, perfomance issues are to be expected.
Running blender with the prefix command prime-run, forces activation of the dedicated 3D adapter and should resolve the performance issues.