0

hopefully someone in this forum can enlighten me about what is causing my problem.

First off, I use Ubuntu 18.04 LTS with Kernel 4.19.8 (generic I guess?).

I installed pm-utils and uswsusp since sudo systemctl hibernate only causes the laptop screen to flicker and hang. Suspend (meaning closing the lid) works flawlessly though.

Now the problem:

Using ~15GB swap partition (8GB RAM) the first sudo pm-hibernate succeeds, it writes the image and restores the session. When I repeat this after that, it does not seem to write the image again and hangs, forcing me to shut down using the power button. When hibernating and rebooting afterwards, it does not seem to work a second time as well, meaning only when I shut down completely, it works.

I added my UUID in /etc/default/grub at grub_cmdline_linux_default=... resume=... and updated grub sudo update-grub

When trying out as root echo platform > /sys/power/disk and echo disk /sys/power/state everything freezes, similarly to using sudo systemctl hibernate. Similarly for echo shutdown and echo reboot

I tried out clearing the cache, using https://askubuntu.com/a/420152/902558 approach, meaning sync && sudo /sbin/sysctl vm.drop_caches=3which returns vm.drop_caches=3in the terminal. After rebooting and trying out sudo pm-hibernate , everything freezes.

I use a Lenovo Yoga 700 14isk which has a Nvidia GPU as secondary gpu, although I don't have any nouveau drivers etc. installed. Perhaps this information can be useful.

If you need more information, please feel free to ask, although bare in mind that my Ubuntu knowledge is exhausted pretty quickly.

user68186
  • 37,461

1 Answers1

1

It looks like that an repeated attempt to unload a driver fails. If you can disable the Nvidia GPU in the bios try it. I've had never sucess in resuming a Nvidia Card. There is a very good documentation of the hibernate process here: https://www.kernel.org/doc/Documentation/power/swsusp.txt Since every device behaves differently you may find out, where the problem lies.

kanehekili
  • 7,426