My Windows 10 computer eerily waking itself from sleep got me in the habit of shutting it down completely every night. I’d be lying in bed, turn over and open my eyes, and see the light of the screen reflecting off the wall. It was like something out of a shitty horror movie about computers taking over the world.
To this fucking day, even in Windows 11, it takes “Update and Shut Down” as a mere fucking suggestion. About half the time, it’ll restart after the update and just sit there chilling at the login screen. Not a single fuck given.
Linux is a breath of fresh air by comparison. Though, if you choose to run Arch you need to stay on top of updates or else a day will come where you won’t be able to update because you’re now too far behind. It can be fixed manually, but it’s still annoying and a little scary if you’re not familiar with it.
The software is arrogant and needs to know its place. It serves the user. It should obey.
Windows wakes up from hibernate? How tf is that happening? Also how tf it knows when to update when its hibernated/sleeping?
Better always keep a gun next to your bed if you use Windows.
Good thing i don’t
CPU interrupts. There are timer interrupts that can be used for this. In hibernate, only a tiny fraction of the CPU is changing the transistor states. A transistor only uses power when it changes state; i.e. “off” or Hibernate. Transistor state changes when you cycle the clock on a CPU. Anyways, set the register for the timer interrupt and signal the CPU for Hibernate. The timer circuit is still listening to the clock while the rest of the CPU stops listening to the clock. Each clock cycle you subtract one from the register. When the register reaches zero, the timer interrupt wakes the rest of the CPU. Just like moving your mouse or pressing the power button; they signal an interrupt which wakes the CPU.
There is a thing called wake timers on Windows. There is also Wake-on-LAN but not sure if that’s enabled on default or not.
So they don’t wake when new update arrives but only for prescheduled previously downloaded update?
Yeah, update arriving part is not necessary but it wakes the PC up, checks for updates and install them if there are any, does this every night. And if you disabled auto-sleep it just stays like that until you interfere.
Shit its wake to check for updates🤦♂ So it happens even if there is no update… Thats so fucked up
The main thing I’m learning from this thread is that a surprising number of people don’t shut their machines down when they’re done using them. Which is wild to me.
A lot of modern windows laptop don’t let you shut them down.
They use something called Windows Hybrid Sleep and it should be illegal. Selecting shut down in windows will keep the machine in a state where it will turn on at random times to check for updates. Especially fun whrn in your backpack creating a furnace.
Thankfully it can be disabled via AD policy.
Ah yeah I forgot about hybrid sleep as I turned if off years ago and forgot it existed. Such a nonsense feature.
Why would you? Sleep uses so little power and the resume is instant.
If it wasn’t for S0 standby being such a piece of shit I’d never shutdown my computer unless it was for an update or hardware maintenance.
I mean since the advent of SSDs I’ve not found the boot times of computers to be all that slow and I typically quite like coming back to a clean desktop on a new day rather than having junk from yesterday being thrown at me.
Even if the boot time is fast, you lose a lot of the program states. Not only it takes extra time to load those applications, it’s also a fair amount of effort to put everything back where it should be.
If it was necessary to shut computers down, no problem, it’s not too much time and effort. But there’s normally no need to shut computers down, it’s just wasted time with no benefits (usually).
See I want all the junk from yesterday.
Just like the brain computers need off-time to calm their electrons and unflip their bits.
/s but a lot of issues really are solved by a reboot
To be fair I don’t always use it like that but suspend is convenient if I have a continuous work that is scattered all around.
Did anyone else ever notice that Windows’s enshittification really took off around the same time they renamed “My PC” to “This PC” ?
Always seemed like it was a subtle indicator they no longer considered it your personal computer but rather one they so graciously allow you to use once in a while.
Sus timing, though it’s certainly just branding.
The whole “My-” prefix for “My Documents” and “My Computer” and all that is something that was around since the 90s, and really served to emphasise the “Personal” in “Personal Computer” at a time when PCs were coming into the home for the first time.
Nowadays that branding is really unnecessary and feels pretty antiquated too, especially in an era where most stuff for most people is online, and the emphasis is more on connected seamless stuff rather than a cute little folder to put your things in.
Our computer.
Their computer. You’re just a user.
You should factor in that nowadays it is fairly normal for a single person to have multiple computers, so “My PC” is not specific enough anymore.
I’m always so amused when people are like “Uhm, actually, when you shutdown your PC it’s not turned off, it’s sleeping so it ca…” - Bro, no. sudo poweroff. It’s off. Completely off. In fact, it would be hella annoying and fucking useless to configure sleeping.
Suspend on Linux just works as well. The PC will sleep until the user wakes it up.
Depends on which suspend tho. iirc there’s one system that’s forcefully being discontinued by big corpo, while the replacement is still very buggy everywhere.
Hmm, do you remember which one was it? Personally I never had problems with
systemctl suspend
orloginctl suspend
.Found it. AW article
It’s called S0ix/Modern Standby/s2idle. It was designed to replace S3, but not only is it shit on Winshit and kekOS, it’s also very unreliable on Linux in my experience. The true issue it that manufacturers started to discontinue S3 (so shallow/standby and deep/s2ram) in favor of s2idle. You can check which actions are theoretically possible in the kernel docs, and check which are supported on your system (and enabled) by cat-ing /sys/power/mem_sleep. That’s what systemctl suspend chooses. My PC and Server still have deep, but my Laptop already only has s2idle.
Thanks for the Arch Wiki article, really informative! It seems I have both s2idle and deep.
My ex had one of them RGB everything rainbow gamer PCs.
Windows would auto boot to update in the middle of the night and turn the whole apartment into a rave…
I’m bottom even when I used windows because I turn it the hell off when I’m not using my computer.
Yes. Same with my TV and everything.
Open terminal, run
shutdown /s /t 0
.That should do a complete shutdown that windows can’t wake itself up from.
fun story, i almost went crazy for troubleshooting why my desktop (mint cinnamon) often wouldn’t autosuspend or even turn off the monitor.
after a good half a year it turned out to be three different issues. autosuspend and monitor were two separate issues in cinnamon that i found a workaround for, and i also found out from the log that something wakes it up every now and then. at first i thought my cats stomp on the keyboard, but they avoid touching it. what actually happens is that when my other cat hops off my chair, static electricity wakes the pc up…
Nvidia users having to shutdown anyway because the computer will hang when trying to put it to sleep:
Just shut it off when you arent using it like a normal person.
Windows does not wake up from “hibernation” to do “updates”. What it really does is sleep walk during S0 sleep (aka Modern Standby) to check for updates, slowly draining your battery. Classic hibernation is not available while S0 sleep is supported by the BIOS.
Mac is also guilty of this.
happy atomic distro noises
You mean like Gnome waking up the screen every 10mn to tell me that because of inactivity it’s about to go into sleep mode?
My PC having hibernation off in windows and system power off in S5 from bios.
Wow, that being a thing sounds surreal Oo