News for hackers. Stuff that matters.
Re:Ask HN: Why is the Linux community struggling to implemen... by panarky on Thursday April 08, 2021 @12:52PM (#26741051)
And even with all these advantages, my four month old Windows laptop fails to resume from hibernation 3 times out of 10. Sometimes wifi won't work, sometimes USB won't work, sometimes it just freezes.
Re:Ask HN: Why is the Linux community struggling to implemen... by PaulHoule on Thursday April 08, 2021 @01:59PM (#26741800)
Don't forget that "hibernating" a laptop with a lot of RAM might take long enough to run down your battery.

I think Hibernation has been impractical since 2013 or so.

Re:Ask HN: Why is the Linux community struggling to implemen... by wtallis on Thursday April 08, 2021 @02:13PM (#26741944)
It's basically impossible for hibernating a laptop to take more than about 5-6 minutes unless you deliberately configured it with insanely imbalanced components, ie. more RAM than mainstream laptop hardware platforms support, and the slowest storage you can find.
Re:Ask HN: Why is the Linux community struggling to implemen... by nitrogen on Thursday April 08, 2021 @02:46PM (#26742279)
Could still be a problem if you are expecting hibernation to save you at 1% battery remaining.
Re:Ask HN: Why is the Linux community struggling to implemen... by medstrom on Thursday April 08, 2021 @03:43PM (#26742876)
Especially when 1% is displayed as 5% or 10%.
Re:Ask HN: Why is the Linux community struggling to implemen... by PaulHoule on Thursday April 08, 2021 @03:54PM (#26743005)
The monster laptop consumes more power because it has all of that RAM, the battery is sized to "not cause a crisis on an airplane if it burns up" not to power a machine of that type, particularly after a year of battery aging.

I have an Alienware that runs rings around any Mac and can do ML dev work with NVIDIA if it is on the plug but on battery I count on it to keep running as I move it to another plug and for the battery to maintain sleep mode for 48 hrs or so.

Re:Ask HN: Why is the Linux community struggling to implemen... by Delk on Thursday April 08, 2021 @03:00PM (#26742420)
SSDs have also been getting pretty fast, though.

I don't have lots of RAM (but rather on the low side for present day), but hibernation takes maybe 15 seconds on a SATA SSD.

Hibernation was definitely a lot slower 10 years ago on a desktop with less RAM and a slow spinning disk.

Re:Ask HN: Why is the Linux community struggling to implemen... by jimmaswell on Thursday April 08, 2021 @04:29PM (#26743365)
Really? Hibernate has never taken more than 30 seconds for me even on a mediocre laptop with an HDD.
Re:Ask HN: Why is the Linux community struggling to implemen... by snovv_crash on Thursday April 08, 2021 @05:44PM (#26744169)
My bog-standard PCIe laptop SSD writes at 3GB/s, so anything over 10s seems like it is an implementation problem not a hardware limitation.
Re:Ask HN: Why is the Linux community struggling to implemen... by lefty2 on Thursday April 08, 2021 @05:38PM (#26744086)
Strange. I never reboot, only use hibernation. I've been doing that for years and never had any problem.
Re:Ask HN: Why is the Linux community struggling to implemen... by hutzlibu on Thursday April 08, 2021 @08:43PM (#26745546)
You might want to share your setup then.

My HP Pavillon with windows hibernates reliable today, my very old netbook acer with Ubuntu/LXDE did so, too (but that was years ago).

Nowdays I gave up with linux laptops to even enable it, as it is quite complicated to set it up when you dual boot and use encryption. And after I did set it up, it failed over 50% of times on various devices so I did not bother anymore.

Re:Ask HN: Why is the Linux community struggling to implemen... by 2rsf on Friday April 09, 2021 @03:56AM (#26747808)
Same, the main instabilities come when I go out of hibernation with changed hardware, ie. haven't plugged back the mouse or changed the display from desk to meeting room
Re:Ask HN: Why is the Linux community struggling to implemen... by Abishek_Muthian on Thursday April 08, 2021 @02:07PM (#26741875)
Also availability of drivers in Windows doesn't necessarily mean everything is comfy, certain manufacturers/BIOS vendors were notorious for not implementing ACPI correctly leading to several such issues; I hope with UEFI things have improved.