Xid 79 / GPU fell off the bus on S3 resume (D3hot -> D0 fails), oops in systemd-sleep — RTX 3070, 615.78.08
NVIDIA Open GPU Kernel Modules Version
615.78.08 (Arch/CachyOS package linux-cachyos-nvidia-open 7.3.0-2)
Proprietary driver
Not tested with the proprietary driver yet.
Operating System and Version
CachyOS (rolling)
Kernel Release
7.3.0-2-cachyos (distro kernel, stable release)
Hardware: GPU
GPU 0: NVIDIA GeForce RTX 3070 (GA104 LHR, 10de:2488)
Desktop: ASUS ROG STRIX B650-A GAMING WIFI (BIOS 3881), AMD Ryzen 5 7600X with its iGPU (Radeon 610M) also enabled.
Describe the bug
After resuming from S3 (mem_sleep=deep), the GPU does not come back from D3hot. The driver reports Xid 79 ("GPU has fallen off the bus") and then hits several WARNINGs/oopses inside systemd-sleep. The displays stay off and the machine has to be rebooted by force.
Key lines from journalctl -b -1 -k:
nvidia 0000:01:00.0: Unable to change power state from D3hot to D0, device inaccessible
NVRM: Xid (PCI:0000:01:00): 79, GPU has fallen off the bus.
NVRM: Xid (PCI:0000:01:00): 154, GPU recovery action changed from 0x0 (None) to 0x2 (OS Reboot)
CPU: 3 UID: 0 PID: 89849 Comm: systemd-sleep Tainted: G O 7.3.0-2-cachyos
RIP: 0010:nv_restore_user_channels+0xeb/0xf0 [nvidia]
RIP: 0010:nv_set_system_power_state+0x2c9/0x4a0 [nvidia]
WARNING: nvidia/nv.c:5515 at nvidia_dev_put+0xdc/0xe0 [nvidia], CPU#7: systemd-sleep/89849
...
nvUvmInterfaceUnregisterGpu+0x9b/0xe0 [nvidia]
uvm_gpu_release_locked+0x69/0x80 [nvidia_uvm]
uvm_va_space_destroy+0x408/0x590 [nvidia_uvm]
Relevant config:
NVreg_PreserveVideoMemoryAllocations=1,NVreg_TemporaryFilePath=/var/tmpnvidia-suspend,nvidia-resumeandnvidia-hibernateservices enabledDynamicPowerManagement: 3(driver default)- No PCIe AER errors logged before the failure
To Reproduce
- Desktop with the RTX 3070 plus the AMD iGPU enabled, driver 615.78.08, kernel 7.3.0
systemctl suspend(deep / S3)- Wake the machine
- In the same boot, 1 of 4 suspend attempts failed this way. The suspend that went through before it (17:37 → 18:58) resumed fine. The failing one lasted about 31 minutes (19:48 → 20:19).
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
More Info
This looks like the same failure reported in https://github.com/ars-regia/athanor/issues/604 (desktop, 615.71.09, kernel 7.2.9, Xid 79 on S3 resume, then an oops under systemd-sleep). So it may not be specific to 615.78.08 or kernel 7.3.
Possibly related: #1457 (615.78.08 suspend regression).
As a test I am disabling runtime D3 with NVreg_DynamicPowerManagement=0x00 and will report whether it helps.
I experienced a possibly related S3 resume failure on CachyOS with NVIDIA 615.78.08. The problem appears to have disappeared after the October 25 package updates.
Hardware / software:
- GPU: GeForce RTX 3080 (NVIDIA Open Kernel Modules)
- CPU: AMD Ryzen 9 5900X, ASUS ROG Strix B550-A motherboard
- Desktop: KDE Plasma 6.8.1, KWin Wayland
- Kernel when failing:
7.3.0-3-cachyos - NVIDIA:
615.78.08 - Suspend mode:
s2idle [deep] PreserveVideoMemoryAllocations: 2UseKernelSuspendNotifiers: 1EnableS0ixPowerManagement: 0- NVIDIA suspend/resume systemd services disabled
Failure:
On October 24, the workstation failed to recover after entering automatic S3 suspend. Both monitors remained without signal, and the machine was no longer discoverable on my local network. A forced power-off was required.
The previous boot's kernel journal ends with:
Oct 24 07:38:36 kernel: PM: suspend entry (deep)
No subsequent resume messages were captured, so I cannot confirm that this is the same D3hot/Xid 79 failure described here.
Earlier in the same boot, the NVIDIA driver had logged:
NVRM: intermapRegisterDmaMapping: Failed to insert new mapping node
NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: NV_OK == status @ gpu_vaspace.c:4586
NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: NV_OK == status @ gpu_vaspace.c:2080
There was also an nvidia-drm NVKMS video-memory allocation failure. These occurred hours before the final suspend, so I cannot establish whether they were related.
Current status:
After updating on October 25 to:
linux-cachyos 7.3.0-4linux-cachyos-nvidia-open 7.3.0-4kwin 6.8.1-2.1
Suspend/resume appears to work again, with NVIDIA userspace still at 615.78.08. No NVIDIA module settings were changed.
Since the kernel/NVIDIA module and KWin were updated together, I cannot isolate which package resolved the issue, or whether this was the same root cause as #1470.
Sharing this as an additional data point.