PC sleeps few seconds after awakening

Problem description:

  • My PC goes to sleep after awakening. This happens only once, not an infinite loop.
  • It happened after loging in (although I did it immediately, it could happen in lock screen).
  • It has happened by wakening it up by moving mouse and pressing power button.

These are the logs since it wakes up + 2 minutes (moving mouse)

These are my PC specs and config
PC Summary:

  • CPU: AMD Ryzen 7800 X3D
  • GPU: 4070 TI Super
  • Motherboard: Gigabyte B650 AORUS Elite AX V2

Edit: Root cause + workaround:
After some digging this is a systemd bug.

Fix is to downgrade systemd 257. Check your dependencies on systemd 258, for example, gdm 49.1.0 depends on systemd 258, to downgrade to systemd 257 you’d need to downgrade gdm to 49.0.1.

You may be experiencing similar issue noted in this post.

There is currently no fix. A possible workaround may be downgrading systemd to 257.

After some digging this is a systemd bug.

Fix is to downgrade systemd 257. Check your dependencies on systemd 258, for example, gdm 49.1.0 depends on systemd 258, to downgrade to systemd 257 you’d need to downgrade gdm to 49.0.1.

Adding this to original post.

I wrote up a proposed common issue for this, since it seemed like something folks might run into. Systems with NVIDIA adapters suspend again shortly after resuming with systemd 258

1 Like