Troubleshooting a desktop that does not go into sleep mode/suspend
Hello all, for a few weeks/months now, my computer has stopped going into suspend mode. Here is what happens when putting it to sleep (using GNOME's power menu) or using systemctl suspend:
Display turns off, peripherals turn off (keyboard lights off etc), fans spin up before sleep as usual
Fans go back to idle speed, computer stays on
Have to press the keyboard, wake the display up and go in the power menu again to suspend it (from the lock screen), and it works every time like this.
I have no idea what could be preventing suspend and what I could find online did not really help a lot. I don't think it is a USB device because I tried unplugging most of them except my mouse or my keyboard and it still did not work, and the second time on the lock screen it always suspends like intended
Distro: Fedora 40
DE: Gnome 46
GPU: NVIDIA GTX 1080Ti (Wayland)
CPU: Intel 10850K
MB: Gigabyte Z590 Gaming X
(everything is up to date)
Updates depend on the specific distro. Some, like debian, keep the major version the same throughout the entire lifetime, just backporting the security fixes, others, like arch, follows the official major releases more closely.
Kernels are usually intalled in '/boot', and we usually install new kernels via a package manager (gnome-software, pacman, dnf, etc.).
What distro and package manager are you using?
None. Currently I'm still on Windows, but I'm planning on switching to either PopOS or Mint when Win10 EOL comes around, at the latest.
And I figure it's never too soon to learn things. The way I see it is, whether I switch six months from now or six hours, the more I learn now, the easier I'll have it when I end up actually switching. :)
I see. Before the switching, you may want to try Linux on Windows using WSL2 or VirtualBox, etc.
Also, Mint and other distros provide bootable image, so you can try it without installing Mint on your machine. Good luck!
Before the switching, you may want to try Linux on Windows using WSL2 or VirtualBox, etc.
Thanks for the tip! I think I'll try VirtualBox!
Also, Mint and other distros provide bootable image, so you can try it without installing Mint on your machine.
You're talking about booting from a disk or USB drive, right? See, I've tried those (well, the USB drive anyway), but AFAICT there didn't seem to be a way to have it remember stuff between boots? Maybe I missed something...
Yes. In a typical live USB session, all changes are written to the RAM, so they are lost on the shutdown. Some live USB supports persistent storage, but I think it's not so common.
Thanks for the link, I am on kernel 6.10.4, but I do not have any error messages in journalctl, so I am not sure it is that. It could definitely be related though