Cannot wake up from suspend, NVIDIA

Ok. I tested my machine this morning.
There is one option missing in the file I suggested you to create in the /etc/modprobe.d. I thought those two will be enough.

So I disable mine one by one and disabling this one gives me a black screen after resuming from suspend.

options nvidia NVreg_TemporaryFilePath=/tmp

or you can use your /var/tmp mine is just tmp

Can you try adding it in /etc/modprobe.d/nvidia.conf
Then rebuild the initramfs. (sudo dracut -f --regenerate-all)

I recently installed OpenSUSE Leap 15.6 on a computer with a NVIDIA video card, and have the same issue. I could not figure out how to wake up from hibernate, so I turned off hibernation. I used the steps below.

  • on my computer, in BIOS → Power → Deep Sleep Control → disabled

and/or

  • change the settings in sleep.conf
  • for help, cd to /etc/systemd/ and man sleep.conf.d
  • check either usr/lib/systemd or /etc/systmd/ for sleep.conf
  • edit the sleep.conf file, as below
  • copy sleep.conf from usr/lib/systmd to /etc/systmd/, if the later does not exist (not sure if this is necessary)

new settings
AllowSuspend=No
AllowHibernation=No
AllowSuspendThenHibernate=No
AllowHybridSleep=No

old settings… by default, these operations are commented out
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes