2 years ago
This appears to be fixed in the final edition of Linux Mint 19 Tara.
I've been bitten by this several times. Just closing my laptop lid put the system into a coma; from which only a hard boot reset would wake it.
Poor default choice for the trouble this "feature" causes.
I do promote this
Hibernation is a very good function if you do not want to close your running programs and open them again!
Even M$ Xp could do the trick! So why do not Ubuntu can make it work for years???
There are problems with sleep and hibernation modes on many systems. Usually one of them can be gotten to work, but it's very common that one will not.
Disabling either of these modes in favour of the other will no doubt appeal to some users according to which works for them, but I don't think it is any service to the community.
What would be good though would be to improve the tools for helping new users and users of new systems to identify which of these modes work, and to help the user set up an appropriate configuration accordingly.
It is probably possible to partially automate detection of thesystem having successfully come back to life after a suspend or hibernate, but only partially so. E.g. the Lenovo Thinkpad X220 commonly has a hardware issue which causes the Wi-Fi to fail sometimes after recovery from sleep mode.
I suggest add an option in System Settings where the user can enable or disable Suspend and/or Hibernate and be informed that each of these may cause problems with some hardware. On my MacBook which runs Linux Mint 17.3 Cinammon, Hibernate is actually more reliable than Suspend. Suspend usually puts the system into a coma, whereas Hibernate usually doesn't. I use Hibernate when the computer fan is running constantly and I want silence in the room or want to power down the computer before bed, without having to close and re-open everything. But I still save everything first in case it goes into a coma.
I agree wholeheartedly - get rid of Hibernation
I do promote this
I think that you idea is completly wrong. They shouldn't take off that feature, they have to make it work properly. I'd like a lot to hibernate my computer and when turn it on again have all my windows, programs and tasks running again as I left when shutdown my machine.
I saw a comment saying that people don't need hibernation with SSDs. If hibernation was only for speedup my boot, that would be correct, but that's not all cases. Even if I don't need it, I WANT it as many users would like if it work.
It's also bad for ssd longevity. I would imagine more people rather have it off than on.
This phucked up my first laptop installs of Mint to the point I had to reinstall on every occasion. Please make this an opt-in rather than opt-out choice.
@permutation-jim : Loosing IP communication is not a fault of hibernation. DHCP cannot deal with machines that disconnect and then come back hours later with the same IP address which had expired in the meantime. In such a configuration you cannot use hibernation unless you take special care, e.g. by restarting the network interface of the hibernated computer on wakeup and by partially assigning reserved addresses to relevant devices.
This is great idea. Either fix this suspend-to-disk or disable it by default. This caused me so much grief. I'd have to hard reset my laptop that it eventually corrupted the boot sector and I got to learn more about grub 2 recovery than any Linux user should need to. This affects quite a few people and it needs to be fixed or default to "OFF"!!!
@Pjotr: If hibernation isn’t working on some hardware, it’s easy not to use it (most Windows users don’t even know of its existence in my experience). But the other way round, if it works but it’s disabled, how would you tell if it isn’t activated ? This is a really bad idea, for there are probably as many settings where it’s working as where not.
Interesting that on my computer it is the hibernate function that works quite well while the suspend fails. I have not looked into why this is, but was true for LM 17.x and LM 14 (used prior) on my same hardware. I do make swap partition larger than 8Gb which is the amount of RAM I use. I use Athlon II X4 processor and GeForce GT630 video card. I'm a loyal Mint user beginning 5 years ago and personally use hibernate functionality daily and would miss it greatly. On the other hand, I could do a hack and add it back if needed, provided it wasn't blocked in a complex way that is above my experience level or I was unable to find online help. Just my humble experience.