Please disable the aggressive sleep mode - Linux Mint Community
They offer different flash templates with latest features.
Login

Forgot password
Register
Back

 Please disable the aggressive sleep mode

Created 3 years ago, edited 1 month ago.
Status changed 3 years ago
Author:

Pjotr
Status:
Considered
  Score:
 33
66 votes
Idea:

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! :-)

Comments:

1 month ago

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

ryannerd
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.
 
6 months ago

littlehuman
I do promote this  
1 year ago

mikiholiday
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???
 
1 year ago

mc0e
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.
 
2 years ago

mmacauley
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.  
2 years ago

Killua
Totally agreed!  
2 years ago

joe_evans
I agree wholeheartedly - get rid of Hibernation  
2 years ago

ullas
I do promote this  
2 years ago

joaoreis13
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.
 
2 years ago

MagicMint
@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.  
2 years ago

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

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

ljdellar
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.  
2 years ago

JonasB
Agreed!  
2 years ago

MagicMint
@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.  
2 years ago

ryannerd
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"!!!  
2 years ago

MagicMint
@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.  
2 years ago

chenier
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.  
3 years ago

Focker
Agreed!  
3 years ago

Focker
Agreed!  
3 years ago

Focker
Agreed!  
3 years ago

Focker
Agreed!  
3 years ago

joe_evans
I whole heartedly agree  
3 years ago

joe_evans
dankjewel  
3 years ago

mideal
Worst idea ever.
Ignoring problems will not bring any progress.
Wonder if you'd consider something like this if it were a touchpad,
a network card, a mouse: "is not supported correctly, disable it".
That is especially true if the reason is not caused by Mint, but by others.
 
3 years ago

deltaexplorer
Me too, as a GNU/Linux newbie I had problems with hibernating - I had to restart my system every time and experienced malfunctions as a result.
 
3 years ago

krow7
I think that this might be good for new users. Specially if mint team adds a GUI option to enable and disable hibernation for the new users. Since many people would like to use hibernation imho.
But personally I would rather have this enabled by default.
 
3 years ago

fbugnon
I support this idea not only for the reasons above-mentioned, but also because I like sleep better than hibernating, for the computer is ready 3 seconds after resuming.  
3 years ago

digitalcoyote
I've installed mint on more computers than I can count and never had an issue with hibernate  
3 years ago

onstrike
I happen to like it, and it's worked on every setup I've tried with it. If you don't like it, deactivate it.  
3 years ago

Pjotr
Disabling hibernation is simple for me and you, but it's probably too difficult for many beginners....

The current default isn't very cautious. Surprisingly, in this matter Linux Mint is less cautious than Ubuntu, because in Ubuntu hibernation has been disabled for the very reasons that I've mentioned. Ubuntu made this choice years ago.

Apart from the negative effects that hibernation has on many computers: this design choice of Linux Mint strikes me as being out of line with the design choices that I see in other areas of Linux Mint. In most cases Linux Mint wisely chooses to be *more* cautious than Ubuntu, not less....
 
3 years ago

michelsaey
If hibernate doesn't work for you, you can simply disable it like you said or don't use it. There ar plenty of users where it just work so it's an option where every individual user determ for themselves if they use it or not.  
3 years ago

gothicpreston
From personal experience I have to concur with Pjotr on this one.
The default Sleep/Hibernate setting are one of the few options I have to alter on every box I look after in order to avoid this type of feedback from the users.
I agree with the philosophy of having a default which reacts to a protracted period of user inactivity, but I do believe there is some scope to ease back the "aggressive" default just a little here.
Obviously, everyone's hardware is different and everyone's "milage may vary" based on useage.
 
3 years ago

Pjotr
@Hammer459: you've missed the point entirely.

Hibernation may work for you. It may even work on a lot of other computers, that's not the point at all.

The point is, that on *too many* computers it does *not* work well.
 
3 years ago

Hammer459
Bad idea. It works and is a good way to make the computer start fast  

Other ideas from Pjotr