Absolutely nothing in journalctl, dmesg, etc 😭

  • yucandu@lemmy.world
    link
    fedilink
    arrow-up
    47
    arrow-down
    3
    ·
    4 days ago

    Meanwhile every Windows 10 install I’ve ever had fails to go to sleep 90% of the time, and none of the powercfg commands reveal why.

    • frezik@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      13
      ·
      4 days ago

      Almost like sleep mode on x86 is impossible to do correctly. I’m not even sure Windows does better or worse than Linux on this one.

    • atomicbocks@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 days ago

      I have had some luck disabling Wake-On-LAN on the systems that don’t need it, or enabling higher sleep modes on the systems where that is available. My pet theory is that a lot of systems are constantly looking at what is active on the network and those pings are keeping the machine awake.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        its not the system that handles wol, it doesn’t need to ping anything. even the net adapter doesn’t need to do that

          • WhyJiffie@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 days ago

            I wanted to say this is not how it works:

            My pet theory is that a lot of systems are constantly looking at what is active on the network and those pings are keeping the machine awake.

            or if you meant that, computers are normally not pingable when they are asleep. net adapters only wake the computer when seeing a magic packet with their mac address in it, and it is the operating system that receives the ping request and decides to send back a ping response.

            an exception is when it is set up to wake on some network traffic pattern, but few net adapters support that mode of operation

            https://wiki.archlinux.org/title/Wake-on-LAN#Enable_WoL_on_the_network_adapter

            • atomicbocks@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              3 days ago

              I was saying that my theory is that this functionality is broken or being bypassed on Windows such that when it gets hit by for instance the Network Discovery or “Do you have this update already downloaded?” ping from another Windows computer it wakes up to have a chat. I meant other systems are looking for active machines and those pings are waking it up or keeping it from going to sleep. I may have chosen a bad slang since ‘ping’ is a net command.

              This theory is based on my understanding that computers don’t go all the way to sleep anymore and reenabling S3 restores normal sleeping. I included WoL because I have a machine that doesn’t have the S3 option but disabling WoL seemed to help on that one.

              • WhyJiffie@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 days ago

                This theory is based on my understanding that computers don’t go all the way to sleep anymore and reenabling S3 restores normal sleeping.

                yeah, now that you say that is probably most laptops in the last few years. but I don’t think desktops do it. wrong, even my 4+ years old pc motherboard supports it according to /sys/power/mem_sleep

  • obnomus@lemmy.ml
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    1
    ·
    4 days ago

    Bruh I have the asus laptop with nvidia gpu and I never had single issue with sleep or wake up.

    • Object@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      4 days ago

      I’m almost certain it’s not hardware considering all three have NixOS and they all have the exact behaviour of shutting down immediately as soon as the LED lights up as if the power is abruptly removed (yay reproducible), but not knowing how I can fix this is really frustrating. There simply isn’t a good way to concisely describe the issue, so finding people with the same issue is really hard.

  • RogueBanana@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 days ago

    I am facing similar issues on an old laptop running debian. Sometimes work and sometimes doesn’t but my guess is the kernel update but I don’t use it enough to try and fix it. Try downgrading kernel, may help your case. It does run pretty well for a 10 yr old laptop without ssd so no complaints there.

  • anon5621@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    I have same on Asus laptop ,and pressing many times suspend until it will go sleep