Hibernation on Ubuntu 24.04 LTS: Image mismatch: architecture specific data

Which Linux distro are you using?
Ubuntu 24.04 LTS

Which kernel are you using?
6.11.0-24-generic

Which BIOS version are you using?
3.08

Which Framework Laptop 13 model are you using? 12th Gen Intel® Core™, 1260p i7

I recently installed a fresh version of Ubuntu 24.04 LTS on my framework. I can’t get hibernation to work reliably. About 60% of the time, I get the following errors:

[    3.918056] PM: Using 3 thread(s) for lzo decompression
[    3.918063] PM: Loading and decompressing image data (2876567 pages)...
[    3.918072] PM: hibernation: Image mismatch: architecture specific data
[    3.918074] PM: hibernation: Read 11506268 kbytes in 0.01 seconds (1150626.80 MB/s)
[    3.919465] PM: Error -1 resuming
[    3.919470] PM: hibernation: Failed to load image, recovering.
[    3.920467] PM: hibernation: Basic memory bitmaps freed
[    3.921031] PM: hibernation: resume failed (-1)

I am using a SWAP partition of roughly 68GB. I have 32GB of DDR4 RAM. This should be plenty for hibernation. It worked flawlessly on Ubuntu 22.04 too.

I asked LLMs about it but they provided no useful answers (asking me if I changed anything about the architecture / unplugged anything, which I did not).

I’d prefer to stay on Ubuntu 24, but this bug is causing me to lose all my open windows and is making my laptop very stationary :frowning: Anything I can try to fix this? I looked at similar threads, but they’re either stale or irrelevant to this issue (e.g. advanced partition types like BRTFS ([RESPONDED] Ubuntu 24.04 and hibernation (FW 13 12th gen) - #4 by Lutetium) ).

If I nuke the laptop and reinstall again, will this fix it? Anyone else using hibernation on 12th gen FW 13 without any problems?

I am kind of a linux beginner, thanks in advance for your help!

I ended up nuking the system and reinstalling everything. Hibernation was working OK, but the same error happened again. I never had this issue on 22.04. Perhaps I need to switch to another distribution, like Mint.