Xid 56 errors when resuming from suspend

I’m facing Xid 56 error - not regularly, but at random and frequently when I resume from suspend.

When I suspend using the gnome-shell option, at random, I will get a blank screen and when I SSH in that machine to check dmesg output, I always get a Xid 56 error and Failed to acquire idle monitor proxy: Timeout was reached.

I did a reboot and then I got the idea to post here so I couldn’t run nvidia-bug-report.sh, but I will post it the next time it occurs. Instead, here is the journalctl output of said boot.

$ nvidia-smi

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01    Driver Version: 460.73.01    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GT 710      Off  | 00000000:09:00.0 N/A |                  N/A |
| 40%   47C    P0    N/A /  N/A |    493MiB /  1998MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 3070    Off  | 00000000:0A:00.0 Off |                  N/A |
|  0%   42C    P8     8W / 220W |     10MiB /  7982MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    1   N/A  N/A      2350      G   /usr/lib/xorg/Xorg                  4MiB |
|    1   N/A  N/A      2967      G   /usr/lib/xorg/Xorg                  4MiB |
+-----------------------------------------------------------------------------+
$ apt list --installed | grep nvidia

libnvidia-cfg1-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-common-460/focal,focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 all [installed,automatic]
libnvidia-compute-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-compute-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 i386 [installed,automatic]
libnvidia-decode-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-decode-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 i386 [installed,automatic]
libnvidia-encode-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-encode-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 i386 [installed,automatic]
libnvidia-extra-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-fbc1-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-fbc1-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 i386 [installed,automatic]
libnvidia-gl-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-gl-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 i386 [installed,automatic]
libnvidia-ifr1-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
libnvidia-ifr1-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 i386 [installed,automatic]
nvidia-compute-utils-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
nvidia-dkms-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
nvidia-driver-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed]
nvidia-kernel-common-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
nvidia-kernel-source-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
nvidia-settings/focal-updates,now 460.73.01-0ubuntu0.20.04.1 amd64 [installed,automatic]
nvidia-utils-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
xserver-xorg-video-nvidia-460/focal,now 460.73.01-1pop0~1620243177~20.04~5b49ff5 amd64 [installed,automatic]
$ uname -a

Linux flameboi 5.11.0-7614-generic #15~1622578982~20.04~383c0a9-Ubuntu SMP Wed Jun 2 00:57:14 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a

Distributor ID: Pop
Description:    Pop!_OS 20.04 LTS
Release:        20.04
Codename:       focal
$ apt-cache show xserver-xorg | grep Version

Version: 1:7.7+19ubuntu14

Edit: This comment is referring to the problem I have, except with a GT710 instead of a GTX 1060. And to make sure this problem isn’t from the monitor’s end, I switched on the monitor before I wake the computer with either a key-press or with WakeOnLan (and yes, that is turned on in BIOS/UEFI). I also tried un-plugging and re-plugging the HDMI cable but it didn’t seem to work.

nvidia-bug-report.log.gz (809.2 KB)