• Petter1@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 hour 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
    13
    ·
    4 hours ago

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

    • PolarisFx@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      2 hours 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
    ·
    3 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
      2
      ·
      2 hours 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
    ·
    6 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!!

    • LeninOnAPrayer@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      5 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.

    • muhyb@programming.devOP
      link
      fedilink
      arrow-up
      3
      ·
      4 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.

    • jackyard@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      4 hours ago

      “My” in My PC means “Microsoft’s”. All the Windows PCs in this world are all their’s.

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

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

    • spookex@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      14 hours ago

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

      • chronicledmonocle@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        6 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
          ·
          3 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

  • egonallanon@lemm.ee
    link
    fedilink
    arrow-up
    98
    arrow-down
    1
    ·
    18 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.

    • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      4 hours ago

      As someone who knows how to manage the power and update settings in Windows to prevent this from happening, I am learning that Linux users may not understand how to actually configure Windows to their liking. Which is wild to me.

    • vodka@lemm.ee
      link
      fedilink
      arrow-up
      53
      arrow-down
      3
      ·
      17 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
        ·
        2 hours ago

        You dont need to use group policy.

        Admin console: powercfg.exe /hibernate off

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

        • vodka@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          14 minutes ago

          Or just turn off fast Startup in the power settings.

          I meant that you can thankfully disable it with group policy so that the 3000 laptops I manage at work don’t all cook in backpacks every day.

      • egonallanon@lemm.ee
        link
        fedilink
        arrow-up
        11
        ·
        16 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
        ·
        14 hours ago

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

    • fuckwit_mcbumcrumble@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      23
      arrow-down
      2
      ·
      17 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
        32
        arrow-down
        3
        ·
        16 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
          12
          arrow-down
          1
          ·
          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
            arrow-down
            1
            ·
            13 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
            ·
            15 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
        9
        arrow-down
        1
        ·
        16 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

    • Jyek@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      12 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.

    • neidu3@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      15 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
      ·
      13 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
        ·
        13 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
          ·
          13 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
          arrow-down
          1
          ·
          13 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
      ·
      15 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
        14 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
      arrow-down
      1
      ·
      17 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
        ·
        13 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.

  • SirFasy@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    3
    ·
    10 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
        ·
        2 hours 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
      ·
      5 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.

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

        Doing what, working on Azure? Also why not just run Linux locally?