I reinstalled the OS with the NEO ISO a few days ago. And now when i wake the system after it has gone to sleep from inactivity, everything is black except for the taskbar and i get the popup: desktop effects were restarted due to a graphics reset. So i need to restart my computer every time. I am using a NVIDIA 3070 and i have the latest ‘nvidia’ drivers installed. It might have something to do with wayland, since i haven’t used it before, but i’m not sure.
Output from neofetch:
I haven’t done any kernel module stuff before. Do i understand it correctly if I’m supposed to modprobe nvidia NVreg_PreserveVideoMemoryAllocations=1 and systemctl enable nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service just want to make sure i don’t mess anything up
The same lines you used in the systemd example? nvme_load=YES quiet NVreg_PreserveVideoMemoryAllocations=1 nvidia_drm.modeset=1 nvidia-drm.fbdev=1 pci=nommconf nowatchdog rw root=UUID=1fe53a1a-6f4f-47df-a8cd-2f3d78155d7c resume=UUID=0942ac91-77f1-46a0-b31e-e10933c7b1bb
I assume i also need to change the UUIDs
I created the .conf file in /etc/modprobe.d and added the options you put there, i also enabled the other services, nvidia-hibernate.service, and nvidia-resume.service. And i used grub-install to rebuild grub, idk if theres a better way to do it. But the problem is still here.
Edit: i realize rebuilding grub means sudo grub-mkconfig -o /boot/grub/grub.cfg but i tried that too, and it still doesn’t work.
Wake from sleep is working properly now, I’m not sure exactly what fixed it, but i did install drivers as shown here https://github.com/lutris/docs/blob/master/InstallingDrivers.md#nvidia-1 and i enabled nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service again, even though i already did that, and it didn’t seem to work.