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

Linux

49118 readers
1273 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
[–] [email protected] 1 points 5 months ago (1 children)

Which nvidia services are running? I've had trouble with some of them keeping my computer from suspending before

[–] independantiste 1 points 5 months ago (1 children)

I'm not 100% sure what you mean by Nvidia services? I have the drivers from rpmfusion, but I also have the CUDA drivers from Nvidia's fedora repo

[–] [email protected] 1 points 5 months ago (1 children)

The nvidia driver package can install some systemd services; for example, my computer has a 'nvidia-persistenced' service running. In the past I've had trouble with them preventing suspend. You can list all running services with

systemctl list-units --type=service --state=active

If you do have some nvidia-* services running, you can check for weird behavior with

journalctl -u nvidia-persistenced

or by looking through the general journalctl logs to see if the service is doing anything when you try to suspend.

You can also search to see if your nvidia driver version is causing problems for anyone else with suspending.

[–] independantiste 1 points 5 months ago (1 children)

When running systemctl list-units --type=service --state=active | grep nvidia, I get 0 results, so it seems there are 0 nvidia services running on my system, should that be the case? I noticed that nvidia-persistenced is installed on my system, but is not active, do you happen to know if it is best disabled? I saw some things about it but I would assume that the problems would be caused by the service being enabled

[–] [email protected] 2 points 5 months ago (1 children)

Sorry, I don't know much more about it. I think it might get disabled if your card doesn't use it or if your distro knows it causes problems, but I'm not sure. It doesn't seem like that's the problem in your case, anyway.

[–] independantiste 1 points 5 months ago

Ok, thanks for your help!