Does anyone know some details on an error "Couldn't hybrid sleep, will try to suspend instead: Cannot allocate memory" with #systemd sleep on Linux?
I have 32GB free disk space. And have 64GB swap (mostly unused) and 32GB RAM (10GB are reserved for VRAM).
Shouldn't the large swap partition be sufficient to store the #hibernate data?
Hm, the kernel also seems to complain with:
"PM: hibernation: Normal pages needed: 3845797 + 1024, available pages: 2383006
PM: hibernation: Error -12 creating image"
Hm, those (2383006*4096/1024/1024)=9308 MiB seem quite close to the 9297 MiB noted in /sys/power/image_size.
The kerneldoc says: "Reading from it returns the current image size limit, which is set to around 2/5 of the available RAM size by default."
I guess I'll just increase that then. (And I'm wondering if the iGPU VRAM might have thrown some calculation off? Actually, what happens with VRAM on hibernation? Is it discarded or also written to disk?).