Resume problems with Leap 15.6

On resume from suspend (hibernate isn’t enabled), I generally get a black screen with only a mouse cursor. Switching to a VT, I can see that plasma is maxing the CPU, sometimes kscreensaver as well. Hibernate is not enabled in KDE settings, only suspend.

Sometimes I can kill plasma and get back in, sometimes I can’t, sometimes I then get a black screen, and can’t get to a VT. If I have the cursor visible I can ctrl-backspace to restart X.

This happens everytime I resume with KDE+X and about half the time if I resume from KDE+Wayland (which has other issues).

Looking at this old thread: Sleep & Hibernate Issues. Running Nvidia RTX 3060 - #4 by malcolmlewis

nvidia-hibernate.service                     enabled         enabled 
nvidia-persistenced.service                  enabled         enabled 
nvidia-powerd.service                        enabled         enabled 
nvidia-resume.service                        enabled         enabled 
nvidia-suspend-then-hibernate.service        disabled        disabled
nvidia-suspend.service                       enabled         enabled 
# grep 'Video Memory Self Refresh' /proc/driver/nvidia/gpus/0000\:01\:00.0/power
 Video Memory Self Refresh: Not Supported
# cat /sys/power/mem_sleep 
s2idle [deep]
System:
  Kernel: 6.4.0-150600.23.33-default arch: x86_64 bits: 64 compiler: gcc
    v: 7.5.0 Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.12 wm: kwin_x11
    dm: SDDM Distro: openSUSE Leap 15.6
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: Micro-Star MSI
    driver: nvidia v: 570.86.16 arch: Turing pcie: speed: 8 GT/s lanes: 16
    ports: active: none off: DP-2 empty: DP-1,DVI-D-1,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:1f82
  Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,vesa alternate: nouveau,nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 139
  Monitor-1: DP-2 mapped: DP-0.8 note: disabled model: Dell U3223QE
    res: 3840x2160 dpi: 140 diag: 801mm (31.5")
  API: OpenGL v: 4.6.0 NVIDIA 570.86.16 renderer: NVIDIA GeForce GTX
    1650/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a2f0
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
  Device-3: Creative Pebble X driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-9.1:9
    chip-ID: 041e:3299
  API: ALSA v: k6.4.0-150600.23.33-default status: kernel-api with: aoss
    type: oss-emulator
  Server-1: PipeWire v: 1.0.5 status: off with: wireplumber status: active
  Server-2: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin

Any help gratefully received as I am tearing my hair out here.

Somebody solved a similar problem by downgrading to the 550 driver still available on the repo i-am-going-crazy-with-nvidia-and-suspend
You may do that with YaST-Software (“Version” tab) or via zypper:

LT-B:~ # zypper in --oldpackage nvidia-driver-G06-kmp-default-550.144.03_k6.4.0_150600.21 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: the installed nvidia-common-G06-570.86.16-lp156.31.1.x86_64 requires '(nvidia-driver-G06-kmp = 570.86.16 or nvidia-open-driver-G06-kmp = 570.86.16 or nvidia-open-driver-G06-signed-kmp = 570.86.16)', but this requirement cannot be provided
not installable providers: nvidia-open-driver-G06-signed-kmp-azure-570.86.16_k6.4.0_150600.8.23-150600.3.34.1.x86_64[openSUSE:update-sle]
                   nvidia-open-driver-G06-signed-kmp-default-570.86.16_k6.4.0_150600.23.33-150600.3.34.1.x86_64[openSUSE:update-sle]

 Solution 1: Following actions will be done:
  deinstallation of nvidia-common-G06-570.86.16-lp156.31.1.x86_64
  downgrade of nvidia-compute-G06-570.86.16-lp156.31.1.x86_64 to nvidia-compute-G06-550.144.03-lp156.30.1.x86_64
  downgrade of nvidia-video-G06-570.86.16-lp156.31.1.x86_64 to nvidia-video-G06-550.144.03-lp156.30.1.x86_64
  downgrade of nvidia-compute-utils-G06-570.86.16-lp156.31.1.x86_64 to nvidia-compute-utils-G06-550.144.03-lp156.30.1.x86_64
 Solution 2: do not install nvidia-driver-G06-kmp-default-550.144.03_k6.4.0_150600.21-lp156.30.1.x86_64
 Solution 3: break nvidia-common-G06-570.86.16-lp156.31.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): 1

Resolving dependencies...
Resolving package dependencies...

The following 4 packages are going to be downgraded:
  nvidia-compute-G06 nvidia-compute-utils-G06 nvidia-driver-G06-kmp-default nvidia-video-G06

The following package is going to be REMOVED:
  nvidia-common-G06

4 packages to downgrade, 1 to remove.

Package download size:    82.9 MiB

Package install size change:
              |     336.7 MiB  required by packages that will be installed
  -268.1 MiB  |  -  604.8 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 

You may have to manually remove any 570.86 remnants afterwards (I didn’t complete the process on my test system).
Then, if suspend works, you may have to lock the nvidia packages to avoid upgrading again on next zypper dup:

zypper al nvidia*

Interestingly, according to the Nvidia website, the 550 driver is the current release, the 565 driver is a ‘new feature’ version and the 570 driver is a beta version. I wonder why the 570 version is being packaged as release? Does it have any features people are requesting?

There were several ppl in the past here in the forum which complained that only the stable release was available. Now, Nvidia and the openSUSE maintainer provide the newest available driver version…and again it is not right for some ppl.

1 Like

I’ve not done full testing, but manually suspending and bringing back works OK for me with the 550 driver, so fingers crossed.

BTW I wasn’t suggesting the 570 beta shouldn’t be available, just wondering why it is the default for 15.6. I think 550 was the default for 15.5?

550 was the default for everything openSUSE until the end of January, but as @hui wrote several users screamed for 570 …and here we are with the 570.
Maybe when those new features land in the “Production” branch we will see no more beta version (but TBH I don’t really know).