Poor hibernation behavior on NixOS

Which Linux distro are you using?

NixOS

Which release version?

unstable

(If rolling release, last date updated?)

Today

Which kernel are you using?

6.19

Which BIOS version are you using?

Latest

Which Framework Laptop 13 model are you using? (AMD Ryzen™ AI 300 Series, AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)

AMD Ryzen AI 300


I’m having trouble with hibernation behavior and I’m not sure where the problem is or how to troubleshoot it. In particular, my laptop won’t start the display back up but will return to full operating power and when the lid is shut it usually stays at a high power state, heats up, kicks fans on, and drains the battery. It is like it is incorrectly handling sleep, hibernation, and power states in every observable way.

On AMD the culprit usually is the MT7922e driver.
On my Framework 16 / Ubuntu Resolute, removing the module prior to entering hibernate,
and reinserting at recovery from hibernate, seems to have solved the issue.
There are likely several posts on this forum and elsewhere on the internet that will explain
how to get that hooked up for your distro.

For example see here (this is just one approach):

1 Like

I’ve been similar issues on the 13" AMD 7040 model.

Thanks for the hint towards the mediatek driver, will check it out.

1 Like

Would a good solution also be to swap it out for an Intel wifi board?

That would probably work, and is something I’ve been considering as well.