I updated to day to Pop OS! 22.04 (based on Ubuntu 22.04) and I am pretty sure that the bug I am going to present you now is related to the one mentioned in this thread.
I can't suspend my laptop anymore after the update. I tried both with nvidia drivers 470 and 515. What happens is that if I try to suspend, the system shows some dmesg log and stays there forever. Using another TTY i got the full dmesg log: https://pastebin.com/1ki2pmFK. There are three things that took my attention: [ 56.240577] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID) [ 56.240579] pcieport 0000:00:1c.0: device [8086:a112] error status/mask=00000001/00002000 [ 56.240581] pcieport 0000:00:1c.0: [ 0] RxErr [ 60.021424] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 60.021663] <TASK> [ 60.021671] ? _main_loop+0x140/0x140 [nvidia_uvm] [ 60.021720] nv_kthread_q_flush+0x1a/0x70 [nvidia_uvm] [ 60.021765] uvm_suspend+0xae/0x1f0 [nvidia_uvm] [ 60.021817] uvm_suspend_entry.part.0+0x6e/0xa0 [nvidia_uvm] [ 60.021872] uvm_suspend_entry+0x24/0x30 [nvidia_uvm] [ 60.021920] nv_uvm_suspend+0x33/0x50 [nvidia] [ 60.022523] nv_set_system_power_state+0x2e9/0x3d0 [nvidia] [ 60.023035] nv_procfs_write_suspend+0xe9/0x180 [nvidia] [ 60.023553] proc_reg_write+0x5b/0xa0 [ 60.023567] vfs_write+0xb8/0x280 [ 60.023580] ksys_write+0x67/0xe0 [ 60.023587] __x64_sys_write+0x19/0x20 [ 60.023595] do_syscall_64+0x5c/0x80 [ 60.023605] ? do_syscall_64+0x69/0x80 [ 60.023613] ? syscall_exit_to_user_mode+0x26/0x50 [ 60.023626] ? __x64_sys_close+0x11/0x50 [ 60.023635] ? do_syscall_64+0x69/0x80 [ 60.023643] ? ksys_dup3+0xab/0x110 [ 60.023654] ? exit_to_user_mode_prepare+0x37/0xb0 [ 60.023667] ? syscall_exit_to_user_mode+0x26/0x50 [ 60.023679] ? do_syscall_64+0x69/0x80 [ 60.023687] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 60.023697] RIP: 0033:0x7f9156b14a37 [ 60.101307] note: nvidia-sleep.sh[4753] exited with preempt_count 1 I tried to disable the three systemd services but when I try I get the following errors: Stopping disk NVRM: GPU 0000:05: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 > PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x20 [nvidia] returns -5 PM: dpm_run_callback(): pci_pm_suspend+0x0/0x160 returns -5 nvidia 0000:05:00.0: PM: failed to suspend async: error -5` -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-470 in Ubuntu. https://bugs.launchpad.net/bugs/1946303 Title: No video after wake from S3 due to Nvidia driver crash Status in nvidia-graphics-drivers-470 package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-510 package in Ubuntu: Confirmed Bug description: Since upgrading to Ubuntu 21.10, my computer sometimes fails to properly wake from suspend. It does start running again, but there is no video output. I'm attaching text for two crashes from kernel log output. First is: /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv.c:3967 nv_restore_user_channels+0xce/0xe0 [nvidia] Second is: /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv.c:4162 nv_set_system_power_state+0x2c8/0x3d0 [nvidia] Apparently I'm not the only one having this problem with 470 drivers. https://forums.linuxmint.com/viewtopic.php?t=354445 https://forums.developer.nvidia.com/t/fixed-suspend-resume-issues-with-the-driver-version-470/187150 Driver 470 uses the new suspend mechanism via /usr/lib/systemd/system- sleep/nvidia. But I was using that mechanism with driver 460 in Ubuntu 21.04 and sleep was reliable then. Right now I'm going back to driver 460. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: nvidia-driver-470 470.63.01-0ubuntu4 ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13 Uname: Linux 5.13.0-16-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu70 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: KDE Date: Wed Oct 6 23:24:02 2021 SourcePackage: nvidia-graphics-drivers-470 UpgradeStatus: Upgraded to impish on 2021-10-02 (4 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-470/+bug/1946303/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp