Are there a way to Fedora sleep mode works? Just sleep without wake-up by itself

Ih guys. I have a genuine doubt. Since Fedora 36 I can 't put it into a sleep mode with it wakes-up by itself. I do know how to even debug it correctly.

I know suspend to ram was not supported, but why a simple sleep cannot work?

For an example, F39 it is not working. I need to install KDE Connect to put it to sleep when it wakes up by itself.

Now I did a clean F40 install, I put all NVIDIA rpm fusion drivers and it still acting at same. It can sleep but wakes up by it self.

dnf install akmod-nvidia
dnf install xorg-x11-drv-nvidia-cuda
systemctl enable nvidia-{suspend,resume,hibernate}
dnf install xorg-x11-drv-nvidia-cuda-libs
dnf install nvidia-vaapi-driver libva-utils vdpauinfo

My hardware here:

System:
  Kernel: 6.9.12-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: Gigabyte product: Z390 DESIGNARE v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: Z390 DESIGNARE-CF v: x.x
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: F9i
    date: 09/16/2020

My BIOS is not the latest bios. Latest BIOS is F10-

1. Checksum : 1080
2. Addresses potential UEFI vulnerabilities. (LogoFAIL)

CPU:

 Info: 8-core model: Intel Core i9-9900 bits: 64 type: MT MCP
    arch: Coffee Lake rev: D cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 2228 high: 4648 min/max: 800/5000 cores: 1: 2900 2: 2901
    3: 2992 4: 4648 5: 2905 6: 2898 7: 800 8: 822 9: 2900 10: 1264 11: 927
    12: 2901 13: 1527 14: 2898 15: 1014 16: 1358 bogomips: 99199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nvidia v: 555.58.02
    arch: Turing pcie: speed: 8 GT/s lanes: 16 ports: active: none
    off: DP-1,DVI-D-1 empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f06
  Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-6:3 chip-ID: 046d:085c
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.1
    compositor: kwin_wayland driver: N/A d-rect: 5360x2520 display-ID: 0

USB:

lsusb                                                                                                                                                       
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 046d:085c Logitech, Inc. C922 Pro Stream Webcam
Bus 001 Device 004: ID 0781:5406 SanDisk Corp. Cruzer Micro U3
Bus 001 Device 005: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 006: ID 320f:5000 Evision RGB Keyboard
Bus 001 Device 007: ID 046d:c548 Logitech, Inc. Logi Bolt Receiver
Bus 001 Device 008: ID 1532:0555 Razer USA, Ltd Razer BlackShark V2 Pro 2.4
Bus 001 Device 009: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 003: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

from journalctl:

Aug 05 13:57:10 z390 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Aug 05 13:57:10 z390 /usr/bin/nvidia-powerd[1065]: Found unsupported configuration. Exiting...
Aug 05 13:57:10 z390 systemd[1]: nvidia-powerd.service: Deactivated successfully.

Screenshot_20240806_073550

I think it is using X11 stuff. But wakeup is not related to USB event?

My last boot here from journalctl:

https://0x0.st/XVBe.txt

nvidia-powerd is a service that only supports a small number of select GPUs and all mobile.

That message can be ignored, or can be eliminated by disabling the noted service with sudo systemctl disable nvidia-powerd.service

1 Like