• Petter1@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    30 minutes ago

    🤭and sometimes, if you wake your linux things go to shit and all you see is black screen and white mouse on it

    Sometimes super+ctrl+alt+F8 saves me and I can restart PC from TTY, and sometimes, there is only a flashing cursor. In second case, I have to take hard measures and forcefully manually restart it

    (Yes nvidia card with latest proprietary driver and kde on wayland) -> everything latest meaning from endeavour/arch/aur repos.

  • blarth@thelemmy.club
    link
    fedilink
    arrow-up
    10
    ·
    3 hours ago

    To be fair, Linux has not been especially awesome at suspended/hibernate/resume, historically.

    • PolarisFx@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      42 minutes ago

      Yea, I like to suspend my machine, but rather than hit suspend and walk away I have to wait to find out what has prevented suspend from suspending. That and it trying to goto sleep when I don’t want it to. Drives me nuts

  • greenhorn@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    I started down the Linux route over the weekend and put my computer in hibernation and couldn’t figure out how to wake it up from its torpor without restarting. So I’m going with suspension for the time being

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

      Firstly, welcome :)

      Secondly, hibernation on Linux requires swap partition 2x size of the RAM. If you didn’t set it big enough or did not set at all, hibernation wouldn’t work. However if you set it correctly, there should be another reason to consider.

      If you are not sure, you can use this command on terminal to compare your RAM and swap sizes. free -m

  • ShotDonkey@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    5 hours ago

    Nope. My Linux Mint randomly wakes up from sleep mode all the time. It’s just a bug. Tried to fix it, never found solution. I guess I am fine with it. Well. Not really. Help me if you can!!11!!

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      Apparently you can see which devices can wake your PC with cat /proc/acpi/wakeup. S3 should be sleep and S4 hibernation. Though I have no idea which device is which.

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      4 hours ago

      My first guess world be unplug your mouse and keyboard and see if it still happens. Your mouse or keyboard could be sending phantom inputs sometimes. If it’s a laptop maybe not though or you’d have to test it another way at least. But it’s the first thing I’d do.

  • SirFasy@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    9 hours ago

    As sucky as modern Windows is, all you have to do to avoid this bullshit is to shut down the pc at night or whenever you’re not using it. That being said, half the time Windows updates, it tries to sucker me into subbing for Microshart 365.

    • Ferus42@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Not even that. Go into Task Scheduler and disable the “Update Orchestrator” task. Problem solved.

      • herrvogel@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        Until the next update reenables it.

        Really the only OS that where hibernation and suspension works smooth enough for me has been MacOS so far. Windows wakes up the whole PC to do things. On Linux you get GPU related power state issues that cause weird things. On MacOS it has always “just worked” for me. Still not buying one though. Rather shut down my machine.

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 hours ago

      My only windows is force upon me as my work laptop. I sadly actually work for Microsoft. I literally only use it to SSH to my virtual machine running redhat.

      Microsoft really enjoys forcing updates at the worst time when their employees are trying to work. Sometimes it literally just makes me stop working for that day. Their loss.

  • MasterNerd@lemm.ee
    link
    fedilink
    arrow-up
    34
    ·
    14 hours ago

    Linux users when their computer won’t boot because they fucked up their grub config again: (Totally not me)

      • chronicledmonocle@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        5 hours ago

        They’re trolling and have no idea what the fuck they’re talking about. I’ve literally not had a bootloader failure in a decade from multiple Linux OS installs.

        The only time I had an issue was when I was playing with a bleeding edge distro and it borked full disk encryption, but that was INTENTIONALLY bleeding edge and I knew the risks.

        • MasterNerd@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          2 hours ago

          Nah I was doing some virtualization troubleshooting and had to make some changes to grub. Luckily I had backups, but as a serial tinkerer I break stuff pretty often. Also fucked up my fstab when trying to automount drives, though that was an easy fix. I never claimed to be a clever man

    • spookex@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      13 hours ago

      Or just installed few months of missing updates, looking at you my broken Manjaro dual-boot

  • egonallanon@lemm.ee
    link
    fedilink
    arrow-up
    86
    ·
    17 hours 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
      48
      ·
      16 hours 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.

      • Ferus42@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        You dont need to use group policy.

        Admin console: powercfg.exe /hibernate off

        Now its off. Hybrid sleep is just a faster Hibernate.

        • SkyeStarfall
          link
          fedilink
          arrow-up
          5
          ·
          3 hours ago

          It’s always funny to me when people call Linux complicated and in the next sentence say shit like that

          As if doing registry edits and group policy stuff is acceptable for basic features and settings

      • egonallanon@lemm.ee
        link
        fedilink
        arrow-up
        10
        ·
        15 hours ago

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

      • MadBigote@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        13 hours ago

        I remember you have to press either Shift or Alt for the shutdown button to actually shut down the PC.

    • Jyek@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      11 hours ago

      Sign in states for tokens expire when you power cycle. If you’re in IT or moving between classes, not only would you have to wait for power down and power on each stop you make,you’d also need to sign into every tool you use that requires credentials. I work as a field tech for an MSP. If I had to shut down at the end of each stop and boot back up then I’d have to spend 20-30 minutes signing back into my RMM, ticket system, azure portal, knowledge base etc on top of the site specific stuff I’m already going to have to sign into for that stop. Sleep great. Just disable S0 sleep.

    • fuckwit_mcbumcrumble@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      22
      ·
      16 hours 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
        28
        ·
        15 hours 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
          11
          ·
          15 hours 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).

          • festnt@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            12 hours ago

            yeah if ur working on something you should sleep the computer, but if you’re working with, like, one app, or if youre not working on anything, i see no reason not to shutdown ur pc

          • CaptnNMorgan@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            14 hours ago

            For me the only thing I needed to “put back where it should be” was my VPN. Bu I switched to wireguard from Eddie, so now I don’t need to adjust anything on startup

      • exu@feditown.com
        link
        fedilink
        English
        arrow-up
        8
        ·
        15 hours 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

    • neidu3@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      14 hours ago

      The only reason why my uptime is only a month is because I took my PC with me on a work trip which involved packing it.

    • festnt@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      12 hours ago

      me too. i see no reason not to shut it down, unless boot time takes way too long (you dont have an ssd), you use windows (always takes too long), or you have a bunch of apps open and don’t want to lose the workflow.

      though i just have to shutdown anyway because my pc is right under a couple of roof leaks and it might rain while i’m sleeping or not at home

      • SolidShake@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        12 hours ago

        honest question, because i use windows and i shut down every day. is 20 seconds really “too long” for a full boot up?

        • Lv_InSaNe_vL@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          12 hours ago

          I think a lot of people are still stuck in the HDD days where windows could take 15-20 mins for a cold boot.

          But I only sleep windows because I like to get game updates while I sleep.

        • purplemonkeymad@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          12 hours ago

          Look, I used to work with computers that would take 5 minutes to turn on. I’m done waiting for computers to boot, I want it to take the least time it can. If hibernation takes just 1 second off, I’m gonna use it.

    • Crikeste@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      14 hours ago

      When I got my first (and only) PC, it was outright SUGGESTED to never power it down. By HP. So yeah I just sleep my computer, and yes I have to deal with the bullshit in the meme lol

      Always wondered why the fuck my PC is awake before I even touch it.

      • Spaniard@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        13 hours ago

        Back in the day we did that because it too long to boot so we never shut it down.

        20 years later we have servers at home that we never shut down.

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      16 hours 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.

      • festnt@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        12 hours ago

        what i’d day is “always turn off your computer when you’re done using it”, meaning you sleep it when you have work you don’t want to lose.

  • Technus@lemmy.zip
    link
    fedilink
    arrow-up
    81
    ·
    edit-2
    18 hours 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.

    • Ferus42@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      ACPI enabled BIOSes and UEFI support wake timers.

      Windows uses this feature to wake the PC all spooky like so you don’t get to click the update button yourself.

      While Windows doesn’t have an Arch wiki, the instructions for turning the automatic wake feature off are a web search away. You’ll need another web search to disable automatic updates though.

    • TimeSquirrel@kbin.melroy.org
      link
      fedilink
      arrow-up
      38
      ·
      17 hours ago

      Imagine your oven or clothes iron turning itself on while you’re not home. Why TF people just accept their computers doing this is beyond me. Either it’s a boiling frog situation, or people simply don’t remember the times us users had complete control over our devices and think things were always this way.

      As an 80s/90s kid, I can tell you they most definitely were not.

      • vinyl@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        10 hours ago

        I hate windows doing windows things but that’s an oxymoron take because computers aren’t known to cause fires, if there was an apparent danger around leaving PCs on unattended, then there would’ve been legal repercussion. This is just a mere annoyance to most.

        • HStone32@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          7 hours ago

          Electricity isn’t free, and neither is it’s impact on your computer hardware. The life expectancy of a circuit may reasonably be approximated as a function of watt-hours. this is why hardware manufactuers test their circuits in ovens: the heat simulates high wattage.

          it doesn’t matter if the power drain is low. So long as your computer is on, it’s lifetime watt-hours are constantly ticking down.

    • nesc@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      You can update arch from any point of time to the current, it just takes a bit of time. Just use arch archove and update by month or two.

    • festnt@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      12 hours ago

      i didnt know arch did that. never happened to me, though i guess that’s because i update it like once every month or every two months, sometimes every day (depends on how long i can forget about updates existing)

      • Technus@lemmy.zip
        link
        fedilink
        arrow-up
        3
        ·
        11 hours ago

        The GPG keys that are used to sign packages expire and are rotated something like every six months to a year. If you don’t get the new ones in an update before they start being used, pacman will refuse to update at all.

        It’s easily fixable, but if you don’t know that, it can be quite intimidating.

      • festnt@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        12 hours ago

        from what i understood it wakes up randomly to check for updates, then goes back to sleep. or maybe it just stays on? im not sure

      • highball@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        16 hours 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
            7
            ·
            18 hours 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.

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    29
    ·
    17 hours 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
        7
        ·
        17 hours 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
          9
          ·
          16 hours 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
            10
            ·
            edit-2
            16 hours 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.

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    36
    ·
    18 hours 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
      17
      ·
      edit-2
      16 hours 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
      ·
      16 hours 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.