Black screen with cursor after suspend

I'm using Ubuntu 20.04 and after waking up from suspend I get a black screen with a cursor.

I've run update and upgrade and it didn't fix the problem. I tried switching to lightdm but the problem is the same. I tried pressing ctrl + alt +f1 and ctrl + alt +f3 and nothing happens. I'm on a laptop so I've tried using fn too, but still nothing.

The only thing that seems to work is holding down the power button to stop the machine.


Solution 1:

Apparently this was a bug in the Nvidia driver. The new version specifically fixes this problem, but it is only available on Nvidia's website as of yet.

Solution 2:

When the black screen appears, you can press Ctrl+Alt+Scroll Lock or Ctrl+Alt+Pause/Break multiple times and then some help appears.

Also, Ctrl+Alt+B allows rebooting without pressing the power button.

I know that's not much of a help, but it is something.