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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of AMD

AMD

Photo of amd gpus

amd gpus

Related news:

News photo

RADV Lands Initial DCC Support For AMD GFX12 / RDNA4 GPUs

News photo

New "Faux Bus" API Merged For Linux 6.14 - Including Both Rust & C Bindings

News photo

The Doom-in-a-PDF dev is back – this time with Linux