When I use the “Hibernate” option in the application menu or when I use
systemctl hibernate
the computer restarts.
Some info:
Lines that contain “hibernate” in the journalctl:
Feb 07 19:52:03 opensuse-gabriel systemd[1]: Starting Resume from hibernation using device /dev/disk/by-uuid/04a7e2b9-690f-4865-85f8-948f9d0d5089...
Feb 07 19:52:03 opensuse-gabriel systemd-hibernate-resume[381]: Could not resume from '/dev/disk/by-uuid/04a7e2b9-690f-4865-85f8-948f9d0d5089' (8:21>
Feb 07 19:52:03 opensuse-gabriel kernel: PM: Image not found (code -22)
Feb 07 19:52:03 opensuse-gabriel systemd[1]: Started Resume from hibernation using device /dev/disk/by-uuid/04a7e2b9-690f-4865-85f8-948f9d0d5089.
That means that the system memory image was not created or not saved to disk for some reason.
That might be due to a swap partition too small (less than the available RAM size, say) or some hardware that refuses to go to sleep nicely so that the suspend to disk never completes or other hiccups…
Please see a somewhat similar thread here https://forums.opensuse.org/showthread.php/533911-Issue-where-Leap-15-does-not-always-hibernate
Describing your hardware in more detail (CPU model, graphics model, any odd peripheral or USB hub you may have in use…) may help us offer useful tips.
The tread mentioned earlier is mine. What sorted it for me was adding nomodeset to grub, now my wife’s laptop hibernates fine. At least worth trying it as a test.
YEP! That looks remarkably similar to the HW I’m writing from!
Interestingly, If I try “systemctl hibernate” everything works fine and if I look at dmesg around the time of hibernate and resume I see:
...
4727.595424] smpboot: CPU 7 is now offline
4727.595683] PM: Creating hibernation image:
4727.739814] PM: Need to copy 1174141 pages
4727.739816] PM: Normal pages needed: 1174141 + 1024, available pages: 2991448
4727.596641] PM: Restoring platform NVS memory
4727.597747] ACPI : EC: EC started
4727.598021] Suspended for 47.696 seconds
4727.598062] Enabling non-boot CPUs ...
4727.598127] x86: Booting SMP configuration:
4727.598128] smpboot: Booting Node 0 Processor 1 APIC 0x2
4727.598661] cache: parent cpu1 should not be sleeping
4727.599045] CPU1 is up
4727.599102] smpboot: Booting Node 0 Processor 2 APIC 0x4
4727.599638] cache: parent cpu2 should not be sleeping
4727.599895] CPU2 is up
...
BUT if I try that a second time the system ends up in a kernel panic, I have to press the power button and on the next boot I see in dmesg:
1.906811] PM: Starting manual resume from disk
1.906813] PM: Hibernation image partition 8:4 present
1.906813] PM: Looking for hibernation image.
1.907012] PM: Image not found (code -22)
1.907012] PM: Hibernation image not present or could not be loaded.
and that is remarkably similar to what you witness.
I suspect that the Nvidia GTX 960M and the “Optimus” logic around it be involved in that hiccup, but since I’m currently on Leap 15, maybe you are better off waiting for somebody actually using Tumbleweed for a deeper debug.
I added nomodeset to the grub, but didn’t worked though. Actually, bizzare things happened. All menus and panels became transparent and the graphics performance of my laptop droped a lot. Like, google maps was slow.