Black screen when resuming systemctl-suspend, using nvidia-driver-470.57.02 with kernel 5.8.0-63-generic on GTX 970, xubuntu 20.04 LTS

You need to purge all nvidia packages, including nvidia-settings. Then install 460 driver.
https://forums.developer.nvidia.com/t/black-screen-when-resuming-systemctl-suspend-using-nvidia-driver-470-57-02-with-kernel-5-8-0-63-generic-on-gtx-970-xubuntu-20-04-lts/184644/3

The same problem happened to me when having 470 drivers installed I installed 460 drivers without first purging all the nvidia related packages manually.

NVIDIA 470 driver with 5.8.0-59-generic work, I use it since 4 august.

After a lot of experimenting and inspection I found a fix for this issue, if you’re affected you can follow my procedure as described HERE until NVIDIA patches this in future drivers.

2 Likes

Have you tried with 5.10 kernel?

This does seem to resolve the issue for me (just been 1 day so far)

2 Likes

Yes I tried with kernel 5.10 but could not duplicate issue.
I will check with Maxwell based GPUs and update very soon.

Ok, it definitely doesn’t happen all of the time. Some days it will work through a couple of suspend cycle and then break…

I tried duplicating issue on another test system but no luck so far.
ASUSTeK COMPUTER INC P9X79 + Intel(R) Core™ i7-3820 CPU @ 3.60GHz + Ubuntu 20.04.1 LTS + 5.11.0-27-generic + Driver 470.57.02 + NVIDIA GeForce GTX 980

Performed suspend resume 5 times and display turned on each time successfully.

Shall try again on another system and keep updated on it.

Hi there. Are you testing installing driver from .run file or installing driver from distro packages?
Could you try following the steps that most users do installing drivers from distro packages?
Also perhaps it would be good to test by first installing 460 drivers from distro packages, and then upgrading to 470 drivers also from distro packages.

If nvidia team cannot reproduce the problem, could you at least try to find out what has changed between versions 460 and 470 in terms of suspend/resume things? Many of us in this thread only have the problem with 470 drivers.

Just in case CUDA toolkit may have something to do with the problem, I have installed nvidia driver from distro repositories, but CUDA toolkit 11.1.105 from .run file.

Thanks.

Hi! I just did a clean install of Ubuntu 20.04 and whatever updates that come with it. Coming out of suspend, the screen stays blank every single time.

Driver: 470.57.02
Kernel: 5.11.0-27-generic
GPU: GTX Titan

I tried the BumbleBee’s fix that disables nvidia-suspend, nvidia-hibernate and nvidia-resume services, but that changes nothing for me.

Please let me know if more info on my system would help.

Okay, I’ll have to take that back.

I realized two problems. Rebooting after install, I didn’t understand how to Enroll MOK. And then, while installing an earlier driver version, I realized update-initramfs would say it’ll resume from the wrong partition.

A clean Ubuntu 20.04 reinstall, with secure boot properly MOK’ed, and making a new initramfs after setting RESUME env var to the proper partition, now suspend works. At least for now.

I uninstalled .run installer file, installed 460 drivers from distro packages and later upgraded to 470.63.01 from ubuntu PPA but could not duplicate issue after performing suspend/resume operation for 10 times.
Shall try on few other test systems and also look for any significant changes done between 460 and 470 drivers which might led to issue.

Okay, suspend/resume worked for me for one day, but now resume doesn’t work anymore. Doesn’t seem to depend on the initramfs. I am unaware of any changes to the system.

I tried a lot of various combinations - but i’m pretty sure i was also having the problem with 460 drivers

What type of connection to the monitor are you using? at some point recently, drivers had issue with DisplayPort (black screen at startup) if i recall correctly - which is what i’m using

Having a very similar problem with my desktop machine. This what happens in steps:

  1. I put computer to sleep.
  2. Wake it up.
  3. The screen receives the signal and shows a blank black screen.
  4. After a few seconds the screen switches off again as if there was no signal.
  5. Wake it up again and everything repeats.

What helps to get out of this is to unplug HDMI cable and plug it again. It then magically shows the picture.

Hardware: RTX 2060 Super, ASUS X570 motherboard, AMD Ryzen processor
Software: Ubuntu 20.04, Linux 5.11.0-34-generic, Nvidia driver 460.91.03

I was having the same/similar issue(s). I followed these instructions to install using .run file and now my system is behaving normally.