Fedora 42 gnome, suspend does not work it wakes up immediately and stays in the login screen.

  • IanTwenty@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    3 days ago

    The logs should indicate the device/app that prevents suspend, run ‘journalctl -r’ after it happens.There are ways to disable devices from preventing suspend but we need to know what’s causing it first.

  • Kambo@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    4 days ago

    Hope this will help.

    I fixed this issue by disabling USB Wake up for my mouse. The wireless receiver/mouse seemed to be sending a constant request to wake up the computer, so obviously, when put to sleep, it would wake up immediately.

    • Leaflet@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 days ago

      This also also affecting me. Though it was just because I was unaware of the USB wake function. Since I have, I made it a habit to suspend, then immediately lift up my mouse to turn it off. Though I guess that’s not an option for wired mice.

  • Please confirm that sleep is configured correctly for your hardware.

    Read this article from the Arch Wiki then refer to Section 3 after you’ve familiarized yourself with the content to make the changes necessary.

    Many hardware implementations of the various sleep types are borked due to workarounds for the way Windows would prefer to handle sleep. The information in this article should allow you to mitigate this.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    My HP laptop did that until I disabled “Deep Sleep” in the BIOS settings, now it sleeps properly and only loses a couple percent per day.

  • pemptago@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    Had a similar problem on Pop_OS. Seemed to be an nvidia diver issue. Suspend would stop working after a driver update and sometimes go away after another update. This happened 2 or 3 times. There were also some logs about nvidia suspend issues. My troubleshooting was unsuccessful and iirc, it was complicated to keep pop from updating so I eventually swapped nvidia for amd and it stopped being an issue.

  • terminhell@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    5
    ·
    4 days ago

    Is it just f42 or any OS? I’ve had issues in the past with some mice being treated as a keyboard and it would do exactly this.

    • dr_sentinel@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      Fedora & mint has this issue, but suspend works in arch tho. Maybe because i dont have swap partition?

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

    Do you have a Gigabyte motherboard in your PC? I’m battling the same with Pop!_OS that is related to Gigabyte mobos of a certain model. There is a fix, but I havent been able to get it to work and haven’t had time to find out why.

    Specifically the B550 model(s).

    • dr_sentinel@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      I have an acer aspire lite AL5141. But suspend used to work in arch. Im thinking of using previous kernel version maybe that will fix.

  • 0xf@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    4 days ago

    Try to turn off ‘fast boot’ in bios and test again, should work.

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

    Did you have Firefox running perchance ?

    It happened often to me so it became a habit.

  • oranki@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    I’m not sure if this is of any help, but I had the same issue with Wake on LAN enabled. This was a while ago with an Asus motherboard.

    If you don’t need WoL, disable it and it should fix it if your MB is affected.

    But if you do need WoL, look at https://wiki.archlinux.org/title/Wake-on-LAN.

    The section 5.2.2 Fix by kernel quirks was what fixed it for me.

  • sasquash@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    I have the same issue but with KDE. But in my case I think its because of the wireless mouse.