Installed nvidia drivers

`sudo apt install nvidia-driver-470 --install-recommends`

suspend broke. Did `sudo prime-select on-demand`, but no luck.


```
user@myLaptop:~$ journalctl -b | grep suspend
Dec 06 23:01:18 myLaptop ModemManager[1620]: <info>  [sleep-monitor] system is 
about to suspend
Dec 06 23:01:24 myLaptop kernel: PM: suspend entry (deep)
Dec 06 23:01:25 myLaptop kernel: printk: Suspending console(s) (use 
no_console_suspend to debug)
Dec 06 23:01:25 myLaptop kernel: NVRM: GPU 0000:01:00.0: 
PreserveVideoMemoryAllocations module parameter is set. System Power Management 
attempted without driver procfs suspend interface. Please refer to the 
'Configuring Power Management Support' section in the driver README.
Dec 06 23:01:25 myLaptop kernel: PM: pci_pm_suspend(): 
nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
Dec 06 23:01:25 myLaptop kernel: PM: dpm_run_callback(): 
pci_pm_suspend+0x0/0x170 returns -5
Dec 06 23:01:25 myLaptop kernel: PM: Device 0000:01:00.0 failed to suspend 
async: error -5
Dec 06 23:01:25 myLaptop kernel: PM: Some devices failed to suspend, or early 
wake event detected
Dec 06 23:01:26 myLaptop kernel: PM: suspend exit
Dec 06 23:01:26 myLaptop kernel: PM: suspend entry (s2idle)
Dec 06 23:01:28 myLaptop kernel: printk: Suspending console(s) (use 
no_console_suspend to debug)
Dec 06 23:01:28 myLaptop kernel: NVRM: GPU 0000:01:00.0: 
PreserveVideoMemoryAllocations module parameter is set. System Power Management 
attempted without driver procfs suspend interface. Please refer to the 
'Configuring Power Management Support' section in the driver README.
Dec 06 23:01:28 myLaptop kernel: PM: pci_pm_suspend(): 
nv_pmops_suspend+0x0/0x30 [nvidia] returns -5
Dec 06 23:01:28 myLaptop kernel: PM: dpm_run_callback(): 
pci_pm_suspend+0x0/0x170 returns -5
Dec 06 23:01:28 myLaptop kernel: PM: Device 0000:01:00.0 failed to suspend 
async: error -5
Dec 06 23:01:28 myLaptop kernel: PM: Some devices failed to suspend, or early 
wake event detected
Dec 06 23:01:28 myLaptop systemd-sleep[3748]: Failed to suspend system. System 
resumed again: Input/output error
Dec 06 23:01:28 myLaptop kernel: PM: suspend exit
Dec 06 23:01:29 myLaptop systemd[1]: systemd-suspend.service: Main process 
exited, code=exited, status=1/FAILURE
Dec 06 23:01:29 myLaptop systemd[1]: systemd-suspend.service: Failed with 
result 'exit-code'.
Dec 06 23:01:29 myLaptop systemd[1]: suspend.target: Job suspend.target/start 
failed with result 'dependency'.
```

-- 
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