Nvidia and resume from suspend gnome issue

Hi guys,

Sleeping issues ( hibernation is disabled and masked out)

  • “systemctl suspend” in the terminal works every time (can resume after sleep)
  • before i have logged in gnome GUI Power | suspend: works
  • After login gnome GUI suspend never resumes

Very odd. org-x11-drv-nvidia-power.x86_64 is installed and running correctly. Without it things get worse.

I cant see anything interesting in the logs. Can someone help point me to the right direction to investigate this and see how gnome is triggering the sleep?

It could be the cause of wayland with nvidia.
Try to switch to xorg from login screen with the gear icon once logged in try to resume- suspend if that works without an issue.

Im not using wayland. Need X11 to overclock.

Can you show us the system
Inxi -Fxz

System:
  Kernel: 5.17.5-301.fsync.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-24.fc36 Desktop: GNOME v: 42.0
    Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Desktop System: Gigabyte product: Z690 AORUS PRO v: -CF
    serial: <superuser required>
  Mobo: Gigabyte model: Z690 AORUS PRO v: x.x serial: <superuser required>
    UEFI: American Megatrends LLC. v: F8a date: 02/15/2022
CPU:
  Info: 16-core (8-mt/8-st) model: 12th Gen Intel Core i9-12900K bits: 64
    type: MST AMCP arch: Alder Lake rev: 2 cache: L1: 1.4 MiB L2: 14 MiB
    L3: 30 MiB
  Speed (MHz): avg: 800 high: 801 min/max: 800/5200:4000 cores: 1: 800
    2: 800 3: 800 4: 801 5: 800 6: 801 7: 800 8: 801 9: 800 10: 801 11: 801
    12: 801 13: 800 14: 800 15: 800 16: 800 17: 800 18: 799 19: 800 20: 800
    21: 799 22: 801 23: 801 24: 800 bogomips: 152985
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GM200 [GeForce GTX TITAN X] vendor: eVga.com.
    driver: nvidia v: 510.68.02 bus-ID: 01:00.0
  Device-2: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-6:5
  Display: x11 server: X.Org v: 1.20.14 driver: X: loaded: nvidia
    gpu: nvidia resolution: 3440x1440
  OpenGL: renderer: NVIDIA GeForce GTX TITAN X/PCIe/SSE2
    v: 4.6.0 NVIDIA 510.68.02 direct render: Yes
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Device-2: NVIDIA GM200 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Device-3: Giga-Byte USB Audio type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-4:3
  Device-4: Logitech HD Pro Webcam C920 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-6:5
  Device-5: Kingston HyperX Cloud Flight Wireless Headset type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-7.4.4:16
  Sound Server-1: ALSA v: k5.17.5-301.fsync.fc36.x86_64 running: yes
  Sound Server-2: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel Ethernet I225-V vendor: Gigabyte driver: igc v: kernel
    port: N/A bus-ID: 04:00.0
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 05:00.0
  IF: wlp5s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:20
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 7.36 TiB used: 1.56 TiB (21.1%)
  ID-1: /dev/nvme0n1 vendor: Seagate model: XPG GAMMIX S70 BLADE
    size: 1.86 TiB temp: 31.9 C
  ID-2: /dev/nvme1n1 vendor: Seagate model: XPG GAMMIX S70 BLADE
    size: 1.86 TiB temp: 32.9 C
  ID-3: /dev/sda vendor: Seagate model: ST4000DM000-1F2168 size: 3.64 TiB
    temp: 30 C
Partition:
  ID-1: / size: 1.86 TiB used: 778.97 GiB (40.9%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-2: /boot size: 974.7 MiB used: 202.9 MiB (20.8%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-3: /boot/efi size: 299.8 MiB used: 63.6 MiB (21.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 1.86 TiB used: 778.97 GiB (40.9%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 27.8 C mobo: N/A gpu: nvidia temp: 30 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 468 Uptime: 3h 46m Memory: 31.19 GiB used: 4.44 GiB (14.2%)
  Init: systemd runlevel: 5 Compilers: gcc: 12.0.1 Packages: 22
  note: see --pkg Shell: fish v: 3.4.1 inxi: 3.3.14

I added the </> preformatted text tags from the menu bar above so your text is properly formatted.

Whenever trouble shooting, the fact that you are overclocking becomes suspect. Would you please restore the system to default then try again with the suspend-resume just in case the overclocking is part of the problem.

Once the problem is resolved then if you wish you can restore the system to your overclocked state.

Hmm ok.

My overclock is applied and removed via gamemoded start and stop scripts and so until i run a game the overclock hasnt been applied.