Black screen after PC wakes up from suspend

There are other less recent topics on this forum where people have had similar symptoms to what I’m experiencing here. Still, they appear to be limited to specific desktop environments and such (see here for one example).

I have reproduced this issue on kernel versions 5.6, 5.9, and 5.10, with Nvidia driver versions varying from 550 to the latest 560 beta driver. I have also had this issue on the recently released Cosmic desktop environment alpha and Gnome, which makes me believe that this isn’t an issue with the desktop environments but rather a Nvidia problem.

What happens is that when my computer goes into suspension and I power it on afterward, it, more often than not, goes directly to a black screen. There appears to be some video signal from the GPU as the monitor is on, but as I said, nothing. Sometimes, the computer doesn’t immediately go to a black screen. Instead, it lets me use the desktop for about 10-20 seconds, and if nothing is wrong, it goes into suspend again. It goes to a black screen if I try to power it on after that.

I have tried setting NVreg_PreserveVideoMemoryAllocations=1, nvidia_drm.fbdev=1, and both trying to use GPU and disabling it. None of these help the issue at all. I have sent the report from nvidia-bug-report.sh to the email address the command suggests that you send it to after you are done, but I have not heard back yet.

Does anyone else know what’s going on here?

I have a similar problem in 560.35.03 but not in 550.107.02 using a ZBook Fury G11 with an RTX 5000 Ada on Gentoo, kernel is 6.6.38. Eventually I discovered my problem was caused by the nVidia drivers being unable to turn the laptop screen back on – there were no obvious error messages for this.

You can test if you have the same problem by running the command: “xset dpmi force off” – when the bug manifests for me the screen won’t come back on, even if followed by “xset dpmi force on”. Suspend via “echo mem>/sys/power/state” still works fine even if the bug is present, because unlike the xfce4 suspend command, the echo command does not power down the display.