Framework 13 AMD Ubuntu not waking from sleep

Adding one item to Kevin’s list, very un-intuitive but very possible:

  • package firmware-amd-graphics is installed
  • go through the diagnostic steps of the AMD Framework 13 s2idle thread
  • make sure you’ve downloaded updates so you’re not bitten by Ubuntu Bug 2071889 (via thread here)
  • if you’re using SSD encryption, the BIOS will not send the password when resuming and you end up with a very thin blinking cursor on your top-left and you have to long-press-shutdown the laptop. the fix is running a cmd once, when the OS is starting up:

> /usr/local/sbin/sed-opal-unlocker s3save /dev/disk/by-id/nvme-SSD-ID /dev/stdin <<<'password'
put that in a file, it is not ideal, but safe enough, as it’s stored encrypted. make sure to chmod 700 the file, only root should be able to read it. Thread here