For whatever reason (old config, or nvidia unreasonable default) the new
driver got installed with `PreserveVideoMemoryAllocations=1`, which
without additional nvidia services doesn't work, and so suspend breaks.

To fix:
```shell
echo 'options nvidia NVreg_PreserveVideoMemoryAllocations=0' | sudo tee 
/etc/modprobe.d/nvidia.conf
sudo update-initramfs -u  # this took a long while to figure out
```

Make sure `/etc/modprobe.d/anything.conf` doesn't have conflicting
options.

Suspend now works, case closed.


https://www.youtube.com/watch?v=_36yNWw_07g

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953235

Title:
  systemctl suspend stopped working: laptop immeadeately wakes up again

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.11/+bug/1953235/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to