Fedora 42 gnome, suspend does not work it wakes up immediately and stays in the login screen.
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.
Did you have Firefox running perchance ?
It happened often to me so it became a habit.
Check
dmesg
and system logs and post relevant entries.I saw your comment that you don’t have swap enabled, and you’re trying to hibernate. This won’t work. Create a swapfile equal to your memory size.
hey im trying to suspend not hibernate.
The resume message suggests otherwise…
Are you POSITIVE your BIOS supports S3 and not S4?
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.
Didnt solve for me :(
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.
Try to turn off ‘fast boot’ in bios and test again, should work.
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.
Fedora & mint has this issue, but suspend works in arch tho. Maybe because i dont have swap partition?
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).
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.
i already use amd tho
Shot. Sorry I couldn’t help then. Good luck with your troubleshooting. I know it can be a very frustrating issue.
What’s in the logs?
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.
here is the output https://pastebin.com/ECXUuBKm
Your IRQ ‘permission denied’ log lines could be caused by this: https://github.com/Irqbalance/irqbalance/issues/336
…to which the answer is currently to wait for kernel fix. Whether this is the cause of the suspend issue as well I couldn’t say.
Is this all the logs, from very start of you hitting suspend to when the machine comes back? I ask because I expected to see more things stopping and then restarting…
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.
Theres nothing like deep sleep in my acer bios
Via cli?