I recently had problems with the NVIDIA driver not loading so I reinstalled it. Now whenever I try to put my laptop into sleep mode (or when trying to wake it up) the fans spin up and the whole system freezes (black screen). Should I uninstall something or what should I try to solve this?
between code tags (the </> button above the editing area).
Also, you appear to run an old kernel and your system is not up to date, maybe you (re-)installed an incompatible Nvidia driver?
Since then, I updated the system and kernel as well, Tried with different kernel versions but none of the installed versions worked. The GPU itself works luckily.
Both cards are VGA, not a very common configuration, but at least the drivers seem OK.
Anyway, have a look at power management maybe the last few lines are useful.
Also, there are reports of problems with Raptor Lake GPUs, maybe your problem has nothing to do with Nvidia? A search of the net might help.
Just a guess, maybe try turning off Bluetooth before suspend? Current kernels have a bug where certain BT chipsets will crash the machine on resume if BT is enabled. My laptop is affected, and for the longest time I assumed it was an amdgpu problem.