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.
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) mask=00000001/ 00002000
[ 56.240579] pcieport 0000:00:1c.0: device [8086:a112] error status/
[ 56.240581] pcieport 0000:00:1c.0: [ 0] RxErr
[ 60.021424] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 60.021663] <TASK> 0x140/0x140 [nvidia_uvm] q_flush+ 0x1a/0x70 [nvidia_uvm] 0xae/0x1f0 [nvidia_uvm] entry.part. 0+0x6e/ 0xa0 [nvidia_uvm] entry+0x24/ 0x30 [nvidia_uvm] suspend+ 0x33/0x50 [nvidia] system_ power_state+ 0x2e9/0x3d0 [nvidia] write_suspend+ 0xe9/0x180 [nvidia] write+0x5b/ 0xa0 0xb8/0x280 0x67/0xe0 write+0x19/ 0x20 64+0x5c/ 0x80 64+0x69/ 0x80 exit_to_ user_mode+ 0x26/0x50 close+0x11/ 0x50 64+0x69/ 0x80 0xab/0x110 user_mode_ prepare+ 0x37/0xb0 exit_to_ user_mode+ 0x26/0x50 64+0x69/ 0x80 64_after_ hwframe+ 0x44/0xae
[ 60.021671] ? _main_loop+
[ 60.021720] nv_kthread_
[ 60.021765] uvm_suspend+
[ 60.021817] uvm_suspend_
[ 60.021872] uvm_suspend_
[ 60.021920] nv_uvm_
[ 60.022523] nv_set_
[ 60.023035] nv_procfs_
[ 60.023553] proc_reg_
[ 60.023567] vfs_write+
[ 60.023580] ksys_write+
[ 60.023587] __x64_sys_
[ 60.023595] do_syscall_
[ 60.023605] ? do_syscall_
[ 60.023613] ? syscall_
[ 60.023626] ? __x64_sys_
[ 60.023635] ? do_syscall_
[ 60.023643] ? ksys_dup3+
[ 60.023654] ? exit_to_
[ 60.023667] ? syscall_
[ 60.023679] ? do_syscall_
[ 60.023687] entry_SYSCALL_
[ 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 moryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section > suspend+ 0x0/0x20 [nvidia] returns -5 suspend+ 0x0/0x160 returns -5
NVRM: GPU 0000:05:00.0: PreserveVideoMe
PM: pci_pm_suspend(): nv_pmops_
PM: dpm_run_callback(): pci_pm_
nvidia 0000:05:00.0: PM: failed to suspend async: error -5`