this post was submitted on 18 Aug 2024
45 points (100.0% liked)

Linux

47233 readers
773 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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:

  1. Display turns off, peripherals turn off (keyboard lights off etc), fans spin up before sleep as usual
  2. Fans go back to idle speed, computer stays on
  3. 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)

thx !

you are viewing a single comment's thread
view the rest of the comments
[–] dueuwuje@aussie.zone 3 points 3 weeks ago (3 children)

Hello, I'm far from an expert but I had a similar issue on my desktop, running mint and an Nvidia GPU. After looking at a lot of places for an answer one that did work for me was below

Ust/bin/Nvidia_sleep.sh. (off the top of my head it is something like this, can confirm later if you can't find it.)

At the top put in "exit 0"

See if it works for you. But it seems when I get an update it does at times get overwritten.

[–] independantiste@sh.itjust.works 2 points 3 weeks ago (2 children)

Hmm, it's definitely doing something, so it could be worth investigating, but instead of going to sleep mode it simply turns off the monitor and on its own 1s later turns back on

[–] transientpunk@sh.itjust.works 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I'm running Manjaro and I was having this exact problem for several weeks, up until about two weeks ago when a new update fixed everything. I would just not worry about it until your next major OS update.

[–] independantiste@sh.itjust.works 1 points 3 weeks ago

Good point, fedora is usually a bit slower on updates than arch/manjaro, maybe an update will fix it. Thx!