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

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

In my case the problem occurs with 470 driver. I have no problem with 460 driver.
In my tests with the 470 driver there have been a couple of times that resuming from suspend has worked correctly, I really don’t know when. But 90% of the time resuming/wake up does not work, the PC turns on but I get black screen and I cannot enter TTY or do a safe reboot with key combination, it looks like a kernel panic.

Using KDE Neon here (Kubuntu 20.04)

Thank you, purging nvidia* and installing 460 version works like a charm!

The NVIDIA 470 drivers with kernel 5.11.ХХ Suspend mode crash system.
The screen black after exiting Suspend mode. The sshd is working and I can logging and run nvidia-smi and i get error to the dmesg

4 авг., 19:19:27 kernel: igc 0000:07:00.0 enp7s0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
 4 авг., 19:19:15 kernel: nvidia-modeset: ERROR: GPU:0: Failed to allocate display engine core DMA push buffer
 4 авг., 19:19:02 kernel: NVRM: Xid (PCI:0000:08:00): 56, pid=7532, CMDre 00000000 00000080 00000000 00000005 00001005
 4 авг., 19:19:02 kernel: nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000927d:0:0:325
 4 авг., 19:18:55 kernel: NVRM: Xid (PCI:0000:08:00): 56, pid=7532, CMDre 00000000 0000008c 00000000 00000005 0000102b
 4 авг., 19:18:55 kernel: nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
 4 авг., 19:18:52 kernel: ---[ end trace 54f5c42cd6b22fdc ]---
 4 авг., 19:18:52 kernel: R13: 00007ffa19bb56a0 R14: 00007ffa19bb64a0 R15: 00007ffa19bb58a0
 4 авг., 19:18:52 kernel: R10: 00005595043fb017 R11: 0000000000000246 R12: 0000000000000007
 4 авг., 19:18:52 kernel: RBP: 0000559505cec570 R08: 000000000000000a R09: 0000000000000006
 4 авг., 19:18:52 kernel: RDX: 0000000000000007 RSI: 0000559505cec570 RDI: 0000000000000001
 4 авг., 19:18:52 kernel: RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007ffa19ada1e7
 4 авг., 19:18:52 kernel: RSP: 002b:00007ffecf70c4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
 4 авг., 19:18:52 kernel: Code: 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
 4 авг., 19:18:52 kernel: RIP: 0033:0x7ffa19ada1e7
 4 авг., 19:18:52 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
 4 авг., 19:18:52 kernel: Call Trace:
 4 авг., 19:18:52 kernel: CR2: 00007fc4b0b6eef0 CR3: 0000000112596000 CR4: 0000000000350ee0
 4 авг., 19:18:52 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 4 авг., 19:18:52 kernel: FS:  00007ffa199c6740(0000) GS:ffff8da1ae940000(0000) knlGS:0000000000000000
 4 авг., 19:18:52 kernel: R13: 0000000000000000 R14: 0000559505cec570 R15: ffffb13084ff3ef0
 4 авг., 19:18:52 kernel: R10: ffff8d934e4c3000 R11: 0000000000000001 R12: ffff8d92c0c12000
 4 авг., 19:18:52 kernel: RBP: ffffb13084ff3e50 R08: 0000000000000001 R09: ffffffffc183fa01
 4 авг., 19:18:52 kernel: RDX: 0000000080020002 RSI: ffffffffc183fa78 RDI: ffff8d92cd6aac00
 4 авг., 19:18:52 kernel: RAX: 0000000000000003 RBX: 0000000000000002 RCX: 0000000080020001
 4 авг., 19:18:52 kernel: RSP: 0018:ffffb13084ff3e20 EFLAGS: 00010206
 4 авг., 19:18:52 kernel: Code: 00 4d 85 e4 0f 84 4a ff ff ff 41 83 fd 02 74 e9 49 8b bc 24 88 02 00 00 be 02 00 00 00 e8 37 d0 ff ff 85 c0 74 d3 0f 0b eb cf <0f> 0b e9 64 ff ff ff 48 c7 c7 d0 3a 7f c3 e8 2c 67 2c c8 e8 37 1b
 4 авг., 19:18:52 kernel: RIP: 0010:nv_set_system_power_state+0x2c1/0x3c0 [nvidia]
 4 авг., 19:18:52 kernel: Hardware name: ASUS System Product Name/ROG STRIX B550-F GAMING (WI-FI), BIOS 2006 03/19/2021
 4 авг., 19:18:52 kernel: CPU: 5 PID: 7532 Comm: nvidia-sleep.sh Tainted: P        W  OE     5.11.0-25-generic #27~20.04.1-Ubuntu
 4 авг., 19:18:52 kernel:  btrtl btbcm snd_timer btintel fb_sys_fops bluetooth input_leds snd nls_iso8859_1 wmi_bmof syscopyarea eeepc_wmi ecdh_generic sysfillrect rapl efi_pstore ecc cfg80211 sysimgblt ccp soundcore joydev zenpower(OE) mac_hid sch_fq_codel nct6775 hwmon_vid msr parport_pc ppdev lp drm parport sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log hid_generic usbhid hid asus_wmi sparse_keymap video mfd_aaeon crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd igc glue_helper ahci xhci_pci nvme libahci xhci_pci_renesas i2c_piix4 nvme_core wmi gpio_amdpt gpio_generic
 4 авг., 19:18:52 kernel: Modules linked in: vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm xt_CHECKSUM ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo iptable_mangle nf_tables nfnetlink xt_addrtype ip6table_filter ip6_tables iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bpfilter br_netfilter bridge stp llc aufs cmac algif_hash algif_skcipher af_alg overlay bnep nvidia_uvm(POE) nvidia_drm(POE) binfmt_misc nvidia_modeset(POE) intel_rapl_msr intel_rapl_common nvidia(POE) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core iwlmvm edac_mce_amd snd_hwdep soundwire_bus drm_kms_helper mac80211 snd_soc_core cec rc_core snd_compress ac97_bus snd_pcm_dmaengine kvm_amd libarc4 snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi kvm snd_seq iwlwifi btusb snd_seq_device
 4 авг., 19:18:52 kernel: WARNING: CPU: 5 PID: 7532 at /var/lib/dkms/nvidia/470.57.02/build/nvidia/nv.c:4175 nv_set_system_power_state+0x2c1/0x3c0 [nvidia]
 4 авг., 19:18:52 kernel: ------------[ cut here ]------------
 4 авг., 19:18:52 kernel: ---[ end trace 54f5c42cd6b22fdb ]---
 4 авг., 19:18:52 kernel: R13: 00007ffa19bb56a0 R14: 00007ffa19bb64a0 R15: 00007ffa19bb58a0
 4 авг., 19:18:52 kernel: R10: 00005595043fb017 R11: 0000000000000246 R12: 0000000000000007
 4 авг., 19:18:52 kernel: RBP: 0000559505cec570 R08: 000000000000000a R09: 0000000000000006
 4 авг., 19:18:52 kernel: RDX: 0000000000000007 RSI: 0000559505cec570 RDI: 0000000000000001
 4 авг., 19:18:52 kernel: RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007ffa19ada1e7
 4 авг., 19:18:52 kernel: RSP: 002b:00007ffecf70c4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
 4 авг., 19:18:52 kernel: Code: 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
 4 авг., 19:18:52 kernel: RIP: 0033:0x7ffa19ada1e7
 4 авг., 19:18:52 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
 4 авг., 19:18:52 kernel: Call Trace:
 4 авг., 19:18:52 kernel: CR2: 00007fc4b0b6eef0 CR3: 0000000112596000 CR4: 0000000000350ee0
 4 авг., 19:18:52 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 4 авг., 19:18:52 kernel: FS:  00007ffa199c6740(0000) GS:ffff8da1ae940000(0000) knlGS:0000000000000000
 4 авг., 19:18:52 kernel: R13: ffff8d92c0c12000 R14: 0000000000000003 R15: ffff8d92c0c12520
 4 авг., 19:18:52 kernel: R10: ffff8d934f1838a0 R11: 0000000000000001 R12: ffff8d934e4c3000
 4 авг., 19:18:52 kernel: RBP: ffffb13084ff3e10 R08: 0000000000000000 R09: ffffffffc184dc00
 4 авг., 19:18:52 kernel: RDX: 0000000000000087 RSI: 0000000000000246 RDI: 0000000000000246
 4 авг., 19:18:52 kernel: RAX: 0000000000000003 RBX: ffff8d92c0c12000 RCX: ffffb13084ff3d80
 4 авг., 19:18:52 kernel: RSP: 0018:ffffb13084ff3de8 EFLAGS: 00010206
 4 авг., 19:18:52 kernel: Code: 98 2c c8 be 01 00 00 00 4c 89 ef e8 dc a0 00 00 48 89 df e8 34 99 2c c8 ba 02 00 00 00 4c 89 ee 4c 89 e7 e8 54 6b 9c 00 eb 93 <0f> 0b eb c6 41 be 51 00 00 00 eb 9e 66 0f 1f 44 00 00 0f 1f 44 00
 4 авг., 19:18:52 kernel: RIP: 0010:nv_restore_user_channels+0xce/0xe0 [nvidia]
 4 авг., 19:18:52 kernel: Hardware name: ASUS System Product Name/ROG STRIX B550-F GAMING (WI-FI), BIOS 2006 03/19/2021
 4 авг., 19:18:52 kernel: CPU: 5 PID: 7532 Comm: nvidia-sleep.sh Tainted: P           OE     5.11.0-25-generic #27~20.04.1-Ubuntu
 4 авг., 19:18:52 kernel:  btrtl btbcm snd_timer btintel fb_sys_fops bluetooth input_leds snd nls_iso8859_1 wmi_bmof syscopyarea eeepc_wmi ecdh_generic sysfillrect rapl efi_pstore ecc cfg80211 sysimgblt ccp soundcore joydev zenpower(OE) mac_hid sch_fq_codel nct6775 hwmon_vid msr parport_pc ppdev lp drm parport sunrpc ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear dm_mirror dm_region_hash dm_log hid_generic usbhid hid asus_wmi sparse_keymap video mfd_aaeon crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd igc glue_helper ahci xhci_pci nvme libahci xhci_pci_renesas i2c_piix4 nvme_core wmi gpio_amdpt gpio_generic
 4 авг., 19:18:52 kernel: Modules linked in: vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm xt_CHECKSUM ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo iptable_mangle nf_tables nfnetlink xt_addrtype ip6table_filter ip6_tables iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bpfilter br_netfilter bridge stp llc aufs cmac algif_hash algif_skcipher af_alg overlay bnep nvidia_uvm(POE) nvidia_drm(POE) binfmt_misc nvidia_modeset(POE) intel_rapl_msr intel_rapl_common nvidia(POE) snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core iwlmvm edac_mce_amd snd_hwdep soundwire_bus drm_kms_helper mac80211 snd_soc_core cec rc_core snd_compress ac97_bus snd_pcm_dmaengine kvm_amd libarc4 snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi kvm snd_seq iwlwifi btusb snd_seq_device
 4 авг., 19:18:52 kernel: WARNING: CPU: 5 PID: 7532 at /var/lib/dkms/nvidia/470.57.02/build/nvidia/nv.c:3980 nv_restore_user_channels+0xce/0xe0 [nvidia]
 4 авг., 19:18:52 kernel: ------------[ cut here ]------------
 4 авг., 19:18:40 kernel: igc 0000:07:00.0 enp7s0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
 4 авг., 19:18:40 kernel: nvidia 0000:08:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0011 address=0xfffffff000 flags=0x0010]

I do not know the reason error. if I try to remotely reboot the machine hangs.

If i use other drivers NVIDIA 460 or NVIDIA 390 suspend mode stops working, suspend mode just lock the screen. I tried different kernels 5.4.0-80, 5.8.0-59, 5.8.0-63
The drivers NVIDIA 470 driver works correctly only with kernel 5.4.XX and 5.8.0-59. If I using kernel 5.8.0-63 I also get a black screen sometimes after suspend mode

$► inxi -Fxxxrz
System:    Kernel: 5.8.0-59-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.0.5 wm: muffin 5.0.1 dm: LightDM 1.30.0 
           Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: ASUS product: N/A v: N/A serial: <filter> 
           Mobo: ASUSTeK model: ROG STRIX B550-F GAMING (WI-FI) v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 2006 
           date: 03/19/2021 
CPU:       Topology: 12-Core model: AMD Ryzen 9 3900XT bits: 64 type: MT MCP arch: Zen L2 cache: 6144 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 182407 
           Speed: 2197 MHz min/max: 2200/3800 MHz boost: enabled Core speeds (MHz): 1: 2200 2: 2199 3: 2200 4: 2198 5: 2200 
           6: 2196 7: 2191 8: 2199 9: 2191 10: 2193 11: 2193 12: 2198 13: 2200 14: 2192 15: 2201 16: 2198 17: 2192 18: 2200 
           19: 2200 20: 2196 21: 2198 22: 2200 23: 2196 24: 2200 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Gigabyte driver: nvidia v: 470.57.02 bus ID: 08:00.0 
           chip ID: 10de:128b 
           Display: x11 server: X.Org 1.20.11 driver: nvidia resolution: 1920x1080~60Hz 
           OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 470.57.02 direct render: Yes 
Audio:     Device-1: NVIDIA GK208 HDMI/DP Audio vendor: Gigabyte driver: N/A bus ID: 08:00.1 chip ID: 10de:0e0f 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 0a:00.4 chip ID: 1022:1487 
           Sound Server: ALSA v: k5.8.0-59-generic 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 06:00.0 chip ID: 8086:2723 
           IF: wlp6s0 state: down mac: <filter> 
           Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: 0.0.1-k port: N/A bus ID: 07:00.0 chip ID: 8086:15f3 
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
           IF-ID-2: vboxnet0 state: down mac: <filter> 
           IF-ID-3: vboxnet1 state: down mac: <filter> 
           IF-ID-4: vboxnet2 state: down mac: <filter> 
           IF-ID-5: vboxnet3 state: down mac: <filter> 
           IF-ID-6: vboxnet4 state: down mac: <filter> 
           IF-ID-7: vboxnet5 state: down mac: <filter> 
           IF-ID-8: vboxnet6 state: down mac: <filter> 
           IF-ID-9: virbr0 state: down mac: <filter> 
           IF-ID-10: virbr0-nic state: down mac: <filter> 
Drives:    Local Storage: total: 2.73 TiB used: 827.99 GiB (29.6%) 
           ID-1: /dev/nvme0n1 vendor: Seagate model: XPG GAMMIX S50 size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter> 
           rev: EGFM11.2 scheme: GPT 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 2B2QEXE7 scheme: GPT 
           ID-3: /dev/sda vendor: Seagate model: ST9500325AS size: 465.76 GiB speed: 3.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: HPM1 scheme: GPT 
           ID-4: /dev/sdb vendor: Seagate model: ST500LM021-1KJ152 size: 465.76 GiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: SDM1 scheme: GPT 
Partition: ID-1: / size: 1.72 TiB used: 637.21 GiB (36.2%) fs: btrfs dev: /dev/nvme0n1p2 
           ID-2: /home size: 1.72 TiB used: 637.21 GiB (36.2%) fs: btrfs dev: /dev/nvme0n1p2 
           ID-3: swap-1 size: 100.68 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 39.2 C mobo: 34.0 C gpu: nvidia temp: 57 C 
           Fan Speeds (RPM): fan-1: 0 fan-2: 1956 fan-3: 0 fan-4: 0 fan-5: 0 fan-6: 0 fan-7: 0 gpu: nvidia fan: 33% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
           Active apt repos in: /etc/apt/sources.list.d/ansible-ansible-focal.list 
           1: deb http://ppa.launchpad.net/ansible/ansible/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/cappelikan-ppa-focal.list 
           1: deb http://ppa.launchpad.net/cappelikan/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/helm-stable-debian.list 
           1: deb https://baltocdn.com/helm/stable/debian/ all main
           Active apt repos in: /etc/apt/sources.list.d/kubernetes.list 
           1: deb https://apt.kubernetes.io/ kubernetes-xenial main
           Active apt repos in: /etc/apt/sources.list.d/linvinus-rhvoice-focal.list 
           1: deb http://ppa.launchpad.net/linvinus/rhvoice/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/longsleep-golang-backports-focal.list 
           1: deb http://ppa.launchpad.net/longsleep/golang-backports/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/microsoft-edge-dev.list 
           1: deb [arch=amd64] http://packages.microsoft.com/repos/edge/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
           2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/openvpn-aptrepo.list 
           1: deb http://build.openvpn.net/debian/openvpn/release/2.5 focal main
           Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
           1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
           Active apt repos in: /etc/apt/sources.list.d/pritunl.list 
           1: deb https://repo.pritunl.com/stable/apt focal main
           Active apt repos in: /etc/apt/sources.list.d/rednotebook-stable-focal.list 
           1: deb http://ppa.launchpad.net/rednotebook/stable/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/riot-im.list 
           1: deb [signed-by=/usr/share/keyrings/riot-im-archive-keyring.gpg] https://packages.riot.im/debian/ default main
           Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
           1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt repos in: /etc/apt/sources.list.d/steam.list 
           1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           Active apt repos in: /etc/apt/sources.list.d/sublime-text.list 
           1: deb https://download.sublimetext.com/ apt/stable/
           Active apt repos in: /etc/apt/sources.list.d/virtualbox.list 
           1: deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian focal contrib
           Active apt repos in: /etc/apt/sources.list.d/vivaldi-snapshot.list 
           1: deb http://repo.vivaldi.com/snapshot/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/vscodium.list 
           1: deb https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main
           Active apt repos in: /etc/apt/sources.list.d/yandex-browser-beta.list 
           1: deb [arch=amd64] http://repo.yandex.ru/yandex-browser/deb beta main
Info:      Processes: 501 Uptime: 4h 47m Memory: 62.79 GiB used: 4.64 GiB (7.4%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 8/9 clang: 10.0.0-4ubuntu1 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38

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

1 Like

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

1 Like

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