Please disable the aggressive sleep mode

Pjotr
  1 year ago
  33
  Considered

The sleep mode "hibernate" (suspend-to-disk) still causes too many problems on too many hardware combinations. Because of it, some computers enter a coma from which they can't awake at all, or can't awake entirely. So please disable it by default in Linux Mint.

Of course users can disable hibernation themselves by hacking polkit, as described in this how-to of mine: https://sites.google.com/site/easylinuxtipsproject/bugs#TOC-Hibernate-and-suspend-don-t-always-work-well:-they-make-some-computers-malfunction-or-even-enter-a-coma

But the default reliability of Mint is important as well... Problems caused by hibernation might damage the reputation of Mint. So I think that only the less aggressive (and therefore less troublesome) sleep mode "suspend" (suspend-to-ram) should be enabled by default.

-- Edit: this appears to be fixed in the final edition of Linux Mint 19 Tara. Yay! :-)
Latest comments
Pjotr 1 year ago

This appears to be fixed in the final edition of Linux Mint 19 Tara.
Yay! :-)


ryannerd 1 year ago

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.


littlehuman 1 year ago

I do promote this


mikiholiday 2 years ago

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???


mc0e 3 years ago

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.


mmacauley 3 years ago

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.


Killua 3 years ago

Totally agreed!


joe_evans 3 years ago

I agree wholeheartedly - get rid of Hibernation


ullas 3 years ago

I do promote this


joaoreis13 3 years ago

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.


MagicMint 3 years ago

@NOHIBERNATION: Actually, most people don’t even know what hibernation is good for. It’s certainly not for switching off your machine, but for keeping complicated workflows that doesn’t store well as GUI sessions uninterrupted.


MagicMint 4 years ago

@YitzhakStone: A very good point — this is the real issue, I think.


Rentard 4 years ago

It's also bad for ssd longevity. I would imagine more people rather have it off than on.


ljdellar 4 years ago

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.


JonasB 4 years ago

Agreed!


MagicMint 4 years ago

@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.


ryannerd 4 years ago

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"!!!


MagicMint 4 years ago

@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.


chenier 4 years ago

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.


Focker 4 years ago

Agreed!