System hangs on resume

Hi,

I’m having an issue where my system fails to wake up correctly after suspending. I cannot open another terminal and I am forced to hard shutdown the system with the power button. This just started after an update, though my system was maybe a month out of date prior to this.

Upon resuming, the screen displays a log of the suspend process. I thought the displayed error messages were at fault at first, but I think they’re a normal part of the suspend process. What isn’t normal is that it looks like the kernel suspends before suspending user processes, and then continues the suspend process when it should be resuming. Here’s a relevant portion of the logs:

Aug 09 21:47:30 [] systemd[1]: Reached target Sleep.
Aug 09 21:47:30 [] systemd[1]: Starting System Suspend...
Aug 09 21:47:30 [] systemd-sleep[6940]: User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).
Aug 09 21:47:30 [] systemd-sleep[6940]: This is not recommended, and might result in unexpected behavior, particularly
Aug 09 21:47:30 [] systemd-sleep[6940]: in suspend-then-hibernate operations or setups with encrypted home directories.
Aug 09 21:47:30 [] systemd-sleep[6940]: Performing sleep operation 'suspend'...
Aug 09 21:47:30 [] kernel: PM: suspend entry (deep)
Aug 09 21:47:30 [] kernel: Filesystems sync: 0.001 seconds
Aug 10 16:49:14 [] kernel: Freezing user space processes
Aug 10 16:49:14 [] kernel: Freezing user space processes completed (elapsed 0.002 seconds)
Aug 10 16:49:14 [] kernel: OOM killer disabled.

Note the timestamps. The suspend process continues when I woke the machine the next day. Googling has shown me a few other instances of people encountering this, but it’s all from several years ago.(links below) I don’t know what would have changed in the past month or so that would have reintroduced this issue.

https://bugzilla.kernel.org/show_bug.cgi?id=203791

https://askubuntu.com/questions/828486/kernel-suspends-too-quickly-upon-resume-continues-suspend-tasks

Hardware?

Of course!

https://0x0.st/XW48.txt

Point 10:

https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks

That doesn’t seem particularly relevant to my case. Doesn’t disabling this just cause some programs to break on resume? This is stalling the whole system, and it only started recently. Regardless, I did try this and it did not alleviate the issue. The system still defers half of the suspend process until after I wake the machine.

I am having a similar issue when my pc suspends. It just crashes and I have to hard reboot.

@Mystagogue - How did you generate the hardware report please? I want to provide one to help with this issue as well.

See this article

This is still happening unfortunately, and I’m no closer to finding a solution. I haven’t been able to figure out how that part of the suspend process works.