Crash when entering suspend

I believe that this is caused specifically by trying to go into suspend using my USB keyboard. It is a three-key chord on QMK sending systemctl suspend in xmonad.

here is the relevant journalctl output:

cat /proc/cpuinfo is at


cat /proc/version: Linux version 5.10.78 (nixbld@localhost) (gcc (GCC) 10.3.0, GNU ld (GNU Binutils) 2.35.1) #1-NixOS SMP Sat Nov 6 13:10:10 UTC 2021

what a week for learning for me! oof. too much learning.

there have been a lot of reports about kernel 5.10 with amdgpu being unstable recently, eg Desktop hangs after logging in with kernel >=5.10.76 · Issue #145721 · NixOS/nixpkgs · GitHub

apparently 5.10.78 should have the fix for those problems, but maybe suspend is another problem that hasn’t been fixed. do things also crash with 5.14 or 5.15?

Yeah I guess I’ll switch back to 5.14.14 which has been the best kernel for me so far. I was trying to simplify by using present kernels, but I guess it was the wrong time for me to try that.

unfortunately switching to 5.14.14 didn’t fix it. :confused:

Here’s the journalctl from my last boot, which became partially unresponsive after one suspend attempt, and then fully locked up on the second:

and it does seem to be caused by using my keyboard to enter suspend.