Get the latest tech news
I helped fix sleep-wake hangs on Linux with AMD GPUs
Adventures in programming, hardware, DSP, and chiptune
Upon waking it would show a black screen with moving cursor, or enter a "vegetative" state with no image on-screen, only responding to magic SysRq or a hard reset. Terrifyingly, after rebooting the PC and checking the journals, they stopped at Entering sleep state 'suspend'... and contained no record of waking up and loading KDE's lock screen. NVIDIA faced the same issue of being unable to save large amounts of VRAM to RAM when swap was disabled, and wrote scripts that systemd runs before/after it tells the Linux kernel to sleep.
Or read this on Hacker News