Okay I found a way to get it working, first I gave up of uswsusp and runned:
apt remove --purge hibernate uswsusp. I basically followed this: https://askubuntu.com/a/1064114 but changed to: resume=/dev/disk/by-uuid/70d967e6-ad52-4c21-baf0-01a813ccc6ac (just the uuid wouldn't work so the path /dev/disk/by-uuid/ did the trick!) and this is probably the most important thing to do. It worked! I think the most important is setting resume=UUID=<#> in both /etc/default/grub and /etc/initramfs-tools/conf.d/resume. Maybe this could be automatically configured? I tested both systemctl hibernate and pm-hibernate, I guess they call the same thing anyway. Working flawlessly even with nvidia prime selected! (until now...) ** Bug watch added: Linux Kernel Bug Tracker #75101 https://bugzilla.kernel.org/show_bug.cgi?id=75101 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1819915 Title: s2disk freezes at saving image to disk (hibernation) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819915/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs