• Technus@lemmy.zip
    link
    fedilink
    arrow-up
    53
    ·
    edit-2
    1 day ago

    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.

      • highball@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        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.

          • muhyb@programming.devOP
            link
            fedilink
            arrow-up
            6
            ·
            1 day ago

            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.

  • egonallanon@lemm.ee
    link
    fedilink
    arrow-up
    35
    ·
    1 day ago

    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.

    • vodka@lemm.ee
      link
      fedilink
      arrow-up
      13
      ·
      1 day ago

      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.

      • egonallanon@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        Ah yeah I forgot about hybrid sleep as I turned if off years ago and forgot it existed. Such a nonsense feature.

    • fuckwit_mcbumcrumble@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      ·
      1 day ago

      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.

      • egonallanon@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        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.

        • Farid@startrek.website
          link
          fedilink
          arrow-up
          0
          ·
          1 day ago

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

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        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

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      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.

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 day ago

    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.

    • tiramichu@lemm.ee
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      1 day ago

      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.

    • unique_hemp@discuss.tchncs.de
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      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.

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    17
    ·
    1 day ago

    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.

      • Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        1 day ago

        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.

        • muhyb@programming.devOP
          link
          fedilink
          arrow-up
          5
          ·
          1 day ago

          Hmm, do you remember which one was it? Personally I never had problems with systemctl suspend or loginctl suspend.

          • Lucy :3@feddit.org
            link
            fedilink
            arrow-up
            7
            ·
            edit-2
            1 day ago

            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.

  • HouseWolf@lemm.ee
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 day ago

    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…

  • Jack Hughman@lemm.ee
    link
    fedilink
    arrow-up
    12
    ·
    1 day ago

    I’m bottom even when I used windows because I turn it the hell off when I’m not using my computer.

  • micutio@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    Open terminal, run shutdown /s /t 0.

    That should do a complete shutdown that windows can’t wake itself up from.

  • kusivittula@sopuli.xyz
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    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…

  • unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    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.

  • Imhotep@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    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?

  • nuko147@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    My PC having hibernation off in windows and system power off in S5 from bios.