Skip to content

Display freezes requiring reboot usually shortly after resuming from suspend #1167

Open

Description

@Gert-dev

NVIDIA Open GPU Kernel Modules Version

595.71.05

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • I confirm that this does not happen with the proprietary driver package.

Operating System and Version

Arch Linux

Kernel Release

7.0.3

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Hardware: GPU

NVIDIA GeForce RTX 4090 Laptop GPU

Describe the bug

Every so often, usually a couple of minutes after resuming from suspend and unlocking the screen on a GNOME 50.1 system, the display attached to the NVIDIA dGPU will fully freeze.

To Reproduce

  1. Enter suspend.
  2. Resume from suspend.
  3. Browse the web for a few minutes.

Bug Incidence

Sometimes

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

I'm running GNOME 50.1 and have a hybrid GPU system where one monitor is attached to the NVIDIA dGPU directly.

Only a forced reboot works when this happens. If music is playing, it will keep on playing, suggesting a freeze in the display stack somewhere. None of these work:

  • Dropping to a TTY.
  • Replugging the monitor, not even to try and use the internal display.

If SysRQ is enabled, a soft or hard kill don't fix the problem, but they do allow a stacktrace to be logged which seems to point to the NVIDIA driver:

19:57:19 computer kernel: sysrq: Show backtrace of all active CPUs
19:57:19 computer kernel: NMI backtrace for cpu 0
19:57:19 computer kernel: CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G           OE       7.0.10-arch1-1 #1 PREEMPT(full)  b38726df0ec1c5aec6f05d4eab858505a5944d02
19:57:19 computer kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
19:57:19 computer kernel: Hardware name: LENOVO 82WS/LNVNB161216, BIOS LPCN61WW 03/21/2025
19:57:19 computer kernel: Call Trace:
19:57:19 computer kernel:  <IRQ>
19:57:19 computer kernel:  dump_stack_lvl+0x5d/0x80
19:57:19 computer kernel:  nmi_cpu_backtrace.cold+0x18/0x73
19:57:19 computer kernel:  ? __pfx_nmi_raise_cpu_backtrace+0x10/0x10
19:57:19 computer kernel:  nmi_trigger_cpumask_backtrace+0x114/0x140
19:57:19 computer kernel:  __handle_sysrq.cold+0x74/0xfe
19:57:19 computer kernel:  sysrq_filter+0xcf/0x630
19:57:19 computer kernel:  input_handle_events_filter+0x60/0xc0
19:57:19 computer kernel:  input_pass_values+0x152/0x180
19:57:19 computer kernel:  input_event_dispose+0x187/0x190
19:57:19 computer kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
19:57:19 computer kernel:  input_handle_event+0x41/0x70
19:57:19 computer kernel:  input_event+0x58/0x90
19:57:19 computer kernel:  hidinput_report_event+0x37/0x50
19:57:19 computer kernel:  hid_report_raw_event+0xe7/0x530
19:57:19 computer kernel:  __hid_input_report+0x178/0x240
19:57:19 computer kernel:  hid_safe_input_report+0x14/0x20
19:57:19 computer kernel:  hid_irq_in+0x1aa/0x1e0
19:57:19 computer kernel:  __usb_hcd_giveback_urb+0xa0/0x120
19:57:19 computer kernel:  usb_giveback_urb_bh+0xc0/0x140
19:57:19 computer kernel:  process_one_work+0x19c/0x3a0
19:57:19 computer kernel:  bh_worker+0x1d2/0x1f0
19:57:19 computer kernel:  tasklet_hi_action+0x13/0x30
19:57:19 computer kernel:  handle_softirqs+0xe8/0x2c0
19:57:19 computer kernel:  __irq_exit_rcu+0xc9/0xf0
19:57:19 computer kernel:  common_interrupt+0x85/0xa0
19:57:19 computer kernel:  </IRQ>
19:57:19 computer kernel:  <TASK>
19:57:19 computer kernel:  asm_common_interrupt+0x26/0x40
19:57:19 computer kernel: RIP: 0010:cpuidle_enter_state+0xbb/0x440
19:57:19 computer kernel: Code: 00 00 e8 a8 d2 ec fe e8 33 ee ff ff 48 89 c5 0f 1f 44 00 00 31 ff e8 24 23 eb fe 45 84 ff 0f 85 74 01 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 cb 01 00 00 44 89 f1 48 2b 2c 24 48 6b d1 68 48 89
19:57:19 computer kernel: RSP: 0018:ffffffff96a03e10 EFLAGS: 00000246
19:57:19 computer kernel: RAX: ffff8b8715f67000 RBX: 0000000000000003 RCX: 0000000000000046
19:57:19 computer kernel: RDX: 000032fc614d86a1 RSI: 000032fc614d865b RDI: 0000000000000000
19:57:19 computer kernel: RBP: 000032fc614d86a1 R08: 000032fc614d86a1 R09: ffff8b86ad6340c0
19:57:19 computer kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff8b7f8248c800
19:57:19 computer kernel: R13: ffffffff96c19940 R14: 0000000000000003 R15: 0000000000000000
19:57:19 computer kernel:  cpuidle_enter+0x31/0x50
19:57:19 computer kernel:  do_idle+0x14b/0x2a0
19:57:19 computer kernel:  cpu_startup_entry+0x29/0x30
19:57:19 computer kernel:  rest_init+0xcc/0xd0
19:57:19 computer kernel:  start_kernel+0xa5b/0xa70
19:57:19 computer kernel:  x86_64_start_reservations+0x24/0x30
19:57:19 computer kernel:  x86_64_start_kernel+0xda/0xe0
19:57:19 computer kernel:  common_startup_64+0x13e/0x141
19:57:19 computer kernel:  </TASK>
19:57:19 computer kernel: Sending NMI from CPU 0 to CPUs 1-31:
19:57:19 computer kernel: NMI backtrace for cpu 1 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 3
19:57:19 computer kernel: CPU: 3 UID: 0 PID: 490 Comm: nvidia-modeset/ Tainted: G           OE       7.0.10-arch1-1 #1 PREEMPT(full)  b38726df0ec1c5aec6f05d4eab858505a5944d02
19:57:19 computer kernel: Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
19:57:19 computer kernel: Hardware name: LENOVO 82WS/LNVNB161216, BIOS LPCN61WW 03/21/2025
19:57:19 computer kernel: RIP: 0010:nvWriteGpEntry+0xc6/0x3e0 [nvidia_modeset]
19:57:19 computer kernel: Code: 48 f2 44 01 f2 39 f2 0f 4d f2 0f 4d f8 83 c1 01 41 39 c9 75 cf 39 fd 75 7b f6 03 08 75 90 48 8b 83 80 01 00 00 66 83 78 0e ff <0f> 85 74 ff ff ff 8b 70 08 49 8b 83 48 01 00 00 48 89 df 48 8b 40
19:57:19 computer kernel: RSP: 0018:ffffce520195fd28 EFLAGS: 00000213
19:57:19 computer kernel: RAX: ffff8b7fb861c000 RBX: ffff8b7fad347830 RCX: 00000000000003ac
19:57:19 computer kernel: RDX: ffff8b7fb8607000 RSI: 00000000000003ac RDI: ffff8b7fad347830
19:57:19 computer kernel: RBP: 0000000000000004 R08: 0000000000000002 R09: 0000000000000001
19:57:19 computer kernel: R10: 0000000000000010 R11: ffffce5200b710d8 R12: 0000000000000000
19:57:19 computer kernel: R13: 00000000000003ac R14: ffff8b7fad347830 R15: 0000000000000000
19:57:19 computer kernel: FS:  0000000000000000(0000) GS:ffff8b8716027000(0000) knlGS:0000000000000000
19:57:19 computer kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
19:57:19 computer kernel: CR2: 00007f4f54dffce8 CR3: 000000061e224000 CR4: 0000000000f50ef0
19:57:19 computer kernel: PKRU: 55555554
19:57:19 computer kernel: Call Trace:
19:57:19 computer kernel:  <TASK>
19:57:19 computer kernel:  ? __schedule+0x45b/0x1720
19:57:19 computer kernel:  ? nvPushSetObject+0xb1/0x170 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  nvPushKickoff+0x2c/0x50 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  PrefetchHelperSurfaceEvo+0x4df/0x700 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
19:57:19 computer kernel:  nvDIFRPrefetchSurfaces+0xd9/0x240 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  ? __pfx__main_loop+0x10/0x10 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  DifrPrefetchEventDeferredWork+0x16/0x30 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  nvkms_kthread_q_callback+0xe6/0x170 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  _main_loop+0x10e/0x160 [nvidia_modeset 69381f9f3a403d5f8b611a3fcf365473e5861115]
19:57:19 computer kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
19:57:19 computer kernel:  ? srso_alias_return_thunk+0x5/0xfbef5
19:57:19 computer kernel:  kthread+0xe1/0x120
19:57:19 computer kernel:  ? __pfx_kthread+0x10/0x10
19:57:19 computer kernel:  ret_from_fork+0x2bc/0x350
19:57:19 computer kernel:  ? __pfx_kthread+0x10/0x10
19:57:19 computer kernel:  ret_from_fork_asm+0x1a/0x30
19:57:19 computer kernel:  </TASK>
19:57:19 computer kernel: NMI backtrace for cpu 2 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 14 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 28 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 29 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 26 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 18 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 17 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 9 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 11 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 8 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 7 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 10 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 15 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 13 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 4 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 12 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 5 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 6 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 30 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 27 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 23 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 19 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 31 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 25 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 24 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 22 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 16 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 20 skipped: idling at io_idle+0x3/0x30
19:57:19 computer kernel: NMI backtrace for cpu 21 skipped: idling at io_idle+0x3/0x30
19:57:27 computer kernel: sysrq: Emergency Remount R/O
19:57:27 computer kernel: Emergency Remount complete

A SysRQ reboot does work to avoid a hard reboot.

Possibly related to #1064 as #1064 (comment) in particular contains a similar stacktrace. In any case, whilst I have had the same heartbeat messages in my logs, they haven't occurred since at least a month.

Activity

  1. added
    bug
    on May 28, 2026
  2. visomi-dev commented on Jun 1, 2026

    @visomi-dev

    I can confirm this bug also happens on nvidia-open-dkms 610.43.02 (and previously on 595.71.05), without suspend/resume involved. The trigger on my system is the compositor's DPMS/screen-blanking — after ~10 minutes of inactivity, Sway tries an atomic modeset commit to power off the display and the nvidia-modeset kernel thread deadlocks.

    System:

    GPU: NVIDIA GeForce RTX 4060 Laptop GPU
    Driver: nvidia-open-dkms 610.43.02-2 (also reproduced on 595.71.05)
    Kernel: 7.0.10-arch1-1
    Compositor: Sway 1.12 (wlroots-based Wayland)
    Display Manager: SDDM
    

    Trigger: Sway's idle daemon (swayidle) runs: timeout 600 'swaymsg "output * power off"' — this calls the DRM atomic modeset ioctl which gets stuck in the nvidia_modeset kernel thread, specifically at PrefetchHelperSurfaceEvo

    INFO: task sway:967 blocked for more than 1228 seconds.
    task:sway            state:D stack:0     pid:967   ppid:925
    Call Trace:
     __schedule
     schedule
     schedule_timeout
     __down_common
     down
     nvkms_ioctl_from_kapi_try_pmlock [nvidia_modeset]
     ApplyModeSetConfig [nvidia_modeset]
     nv_drm_atomic_apply_modeset_config [nvidia_drm]
     drm_atomic_check_only
     drm_atomic_commit
     drm_mode_atomic_ioctl
     ...
    
    INFO: task sway:967 blocked on a semaphore likely last held by task nvidia-modeset/:727
    task:nvidia-modeset/ state:R  running task     stack:0     pid:727
     nvWriteGpEntry [nvidia_modeset]
     nvPushSetObject [nvidia_modeset]
     nvPushKickoff [nvidia_modeset]
     PrefetchHelperSurfaceEvo [nvidia_modeset]
     nvDIFRPrefetchSurfaces [nvidia_modeset]
     DifrPrefetchEventDeferredWork [nvidia_modeset]
     nvkms_kthread_q_callback [nvidia_modeset]
     _main_loop [nvidia_modeset]
    

    Impact: Process stuck in D-state (unkillable). Sway becomes completely unresponsive. Cannot switch TTYs. Only sysrq + hard reboot resolves it. Killing the sway process, restarting SDDM — nothing works because the kernel thread holds the lock indefinitely

  3. jaggies commented on Jun 12, 2026

    @jaggies

    This is, by far, the worst NVIDIA bug I've ever seen. :( If there was ever an urgent bug to fix, this has to be it. The stakes are high because of the unpredictable hang and inability to sync the file system.

    It randomly and spontaneously locks up and is completely unrecoverable, which means losing all of my development work and because the system is unable to sync since it often hangs the rest of the system. I've been chasing this bug for months. It sucks to have extremely expensive hardware you can't trust for fear of losing all of your work.

    Today, I finally caught it in a state where I could get a stack trace, which led me to this bug. But it froze before I could inspect the rest of the log. At least I had this still visible from my remote ssh session, which eventually also hung.

    Please fix this or provide a patch. I'm desperate for any solution since I see this daily. I think I've tried everything. Switching to Wayland; experimenting with nvidia save options; adding kernel config options; switching drivers.

    FWIW, I have an AMD 9950X with an ASUS B650 Elite motherboard and several different types of Blackwell GPUs (Gigabyte Windforce, NVIDIA FE, etc.). I though this was a hardware problem. I suppose it still may be, but common to all the Blackwell graphic cards I own. I'm running 595 on Ubuntu 24.04 with all updates (I update frequently hoping for a fix), but it has been happening since 580, at least.

    Happy to provide more details, but the system needs to be hard-reset, so you'll need to provide a script to capture the state. I grabbed this by running 'sudo sh -c "echo 1 > /proc/sys/kernel/sysrq"':

    2026-06-12T12:58:53.862275-07:00 fractal kernel: watchdog: BUG: soft lockup - CPU#0 stuck for 261s! [nvidia-modeset/:477]
    2026-06-12T12:58:53.862289-07:00 fractal kernel: Modules linked in: uas usb_storage joydev dm_crypt tls vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm snd_seq_dummy snd_hrtimer qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc intel_rapl_msr intel_rapl_common nls_iso8859_1 amdgpu edac_mce_amd snd_hda_codec_hdmi kvm_amd mt7921e snd_hda_intel mt7921_common snd_intel_dspcfg snd_intel_sdw_acpi kvm snd_hda_codec mt792x_lib btusb snd_usb_audio irqbypass mt76_connac_lib btrtl amdxcp snd_hda_core crct10dif_pclmul drm_exec polyval_clmulni btintel gpu_sched snd_usbmidi_lib mt76 polyval_generic drm_buddy btbcm ghash_clmulni_intel snd_seq_midi snd_hwdep drm_suballoc_helper btmtk snd_ump drm_ttm_helper snd_seq_midi_event sha256_ssse3 mac80211 snd_rawmidi mc sha1_ssse3 ttm aesni_intel bluetooth drm_display_helper crypto_simd snd_seq eeepc_wmi snd_pcm asus_nb_wmi mfd_aaeon cryptd asus_wmi cec snd_seq_device ecdh_generic input_leds rapl snd_timer ledtrig_audio rc_core cfg80211 wmi_bmof sparse_keymap i2c_algo_bit apple_mfi_fastcharge platform_profile ccp snd
    2026-06-12T12:58:53.862290-07:00 fractal kernel: i2c_piix4 k10temp libarc4 soundcore gpio_amdpt mac_hid sch_fq_codel msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 nvidia_uvm(OE) hid_logitech_hidpp hid_logitech_dj hid_apple hid_generic nvidia_drm(OE) nvidia_modeset(OE) usbhid hid nvme nvidia(OE) crc32_pclmul ecc ahci nvme_core igc xhci_pci video libahci xhci_pci_renesas nvme_auth wmi
    2026-06-12T12:58:53.862290-07:00 fractal kernel: CPU: 0 PID: 477 Comm: nvidia-modeset/ Tainted: G OEL 6.8.0-124-generic #124-Ubuntu
    2026-06-12T12:58:53.862291-07:00 fractal kernel: Hardware name: ASUS System Product Name/ROG STRIX B650E-F GAMING WIFI, BIOS 3208 02/10/2025
    2026-06-12T12:58:53.862292-07:00 fractal kernel: RIP: 0010:nvWriteGpEntry+0xac/0x370 [nvidia_modeset]
    2026-06-12T12:58:53.862292-07:00 fractal kernel: Code: 12 01 c0 41 29 c0 43 8d 14 03 41 0f 49 d0 39 f2 7c 04 89 d6 89 c7 83 c1 01 44 39 c9 75 d0 39 fd 75 5e 44 0f b6 3b 41 83 e7 08 <75> aa 48 8b 93 80 01 00 00 0f b7 42 0e 66 83 f8 ff 75 99 8b 72 08
    2026-06-12T12:58:53.862293-07:00 fractal kernel: RSP: 0018:ffffcd32037f3d28 EFLAGS: 00000246
    2026-06-12T12:58:53.862293-07:00 fractal kernel: RAX: ffff8bb96b06f000 RBX: ffff8bb9693e5c30 RCX: ffffcd32085063e8
    2026-06-12T12:58:53.862294-07:00 fractal kernel: RDX: ffff8bb96b082000 RSI: 00000000000003f4 RDI: 0000000000000006
    2026-06-12T12:58:53.862294-07:00 fractal kernel: RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000001
    2026-06-12T12:58:53.862295-07:00 fractal kernel: R10: 0000000000000004 R11: 0000000000000010 R12: ffffcd3200efd0d8
    2026-06-12T12:58:53.862295-07:00 fractal kernel: R13: 00000000000003f4 R14: 0000000000000384 R15: 0000000000000000
    2026-06-12T12:58:53.862295-07:00 fractal kernel: FS: 0000000000000000(0000) GS:ffff8bd7bee00000(0000) knlGS:0000000000000000
    2026-06-12T12:58:53.862295-07:00 fractal kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    2026-06-12T12:58:53.862296-07:00 fractal kernel: CR2: 0000723c64619000 CR3: 0000000f67c3c000 CR4: 0000000000f50ef0
    2026-06-12T12:58:53.862296-07:00 fractal kernel: PKRU: 55555554
    2026-06-12T12:58:53.862297-07:00 fractal kernel: Call Trace:
    2026-06-12T12:58:53.862297-07:00 fractal kernel:
    2026-06-12T12:58:53.862297-07:00 fractal kernel: ? nvPushKickoff+0x28/0x50 [nvidia_modeset]
    2026-06-12T12:58:53.862298-07:00 fractal kernel: ? PrefetchHelperSurfaceEvo+0x45c/0x650 [nvidia_modeset]
    2026-06-12T12:58:53.862298-07:00 fractal kernel: ? ___down_common+0x108/0x160
    2026-06-12T12:58:53.862298-07:00 fractal kernel: ? nvDIFRPrefetchSurfaces+0xb1/0x1f0 [nvidia_modeset]
    2026-06-12T12:58:53.862299-07:00 fractal kernel: ? DifrPrefetchEventDeferredWork+0x16/0x30 [nvidia_modeset]
    2026-06-12T12:58:53.862299-07:00 fractal kernel: ? nvkms_kthread_q_callback+0xb6/0x160 [nvidia_modeset]
    2026-06-12T12:58:53.862299-07:00 fractal kernel: ? _main_loop+0x7f/0x140 [nvidia_modeset]
    2026-06-12T12:58:53.862300-07:00 fractal kernel: ? __pfx__main_loop+0x10/0x10 [nvidia_modeset]
    2026-06-12T12:58:53.862300-07:00 fractal kernel: ? kthread+0xef/0x120
    2026-06-12T12:58:53.862300-07:00 fractal kernel: ? __pfx_kthread+0x10/0x10
    2026-06-12T12:58:53.862301-07:00 fractal kernel: ? ret_from_fork+0x44/0x70
    2026-06-12T12:58:53.862301-07:00 fractal kernel: ? __pfx_kthread+0x10/0x10
    2026-06-12T12:58:53.862301-07:00 fractal kernel: ? ret_from_fork_asm+0x1b/0x30

  4. jaggies commented on Jun 12, 2026

    @jaggies

    FWIW, now that the system finally rebooted, I'm running the open Driver Version: 595.71.05 (I think it's required for Blackwell devices?).

    Note that, as mentioned above, there's no file system sync, so short of "live" logs I can gather, nothing is saved from this crash, which is why this has been challenging to track down.

  5. nysal commented on Jul 18, 2026

    @nysal

    Have been hitting this issue quite often after resume from suspend on a Thinkpad P1 gen 6, across driver versions (580.x - 610.x):

      Sending NMI from CPU 10 to CPUs 0-9,11-19:
      NMI backtrace for cpu 4
      CPU: 4 UID: 0 PID: 14896 Comm: nvidia-modeset/ Tainted: G          >
      Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
      Hardware name: LENOVO 21FWS1J30B/21FWS1J30B, BIOS N3ZET54W (1.41 ) >
      RIP: 0010:nvWriteGpEntry+0xb9/0x370 [nvidia_modeset]
      Code: d0 39 f2 7c 04 89 d6 89 c7 83 c1 01 44 39 c9 75 d0 39 fd 75 5>
      RSP: 0018:ffffcdc8c4f97d28 EFLAGS: 00000246
      RAX: 0000000000000000 RBX: ffff8ce09f6d3c30 RCX: ffffcdc8cdad6338
      RDX: ffff8ce281bff000 RSI: 0000000000000344 RDI: 0000000000000002
      RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000001
      R10: 0000000000000000 R11: 0000000000000010 R12: ffffcdc8c0a690d8
      R13: 0000000000000344 R14: 00000000000002dc R15: 0000000000000000
      FS:  0000000000000000(0000) GS:ffff8ce807c97000(0000) knlGS:0000000>
      CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      CR2: 00007fea35925b80 CR3: 000000010dd33003 CR4: 0000000000f72ef0
      PKRU: 55555554
      Call Trace:
       <TASK>
       nvPushKickoff+0x28/0x50 [nvidia_modeset]
       PrefetchHelperSurfaceEvo+0x45c/0x650 [nvidia_modeset]
       nvDIFRPrefetchSurfaces+0xb1/0x1f0 [nvidia_modeset]
       DifrPrefetchEventDeferredWork+0x16/0x30 [nvidia_modeset]
       nvkms_kthread_q_callback+0xdb/0x160 [nvidia_modeset]
       _main_loop+0x112/0x170 [nvidia_modeset]
       ? __pfx__main_loop+0x10/0x10 [nvidia_modeset]
       kthread+0xe4/0x120
       ? __pfx_kthread+0x10/0x10
       ret_from_fork+0x1a1/0x270
       ? __pfx_kthread+0x10/0x10
       ret_from_fork_asm+0x1a/0x30
       </TASK>
    
  6. claytonfaria commented on Oct 15, 2026

    @claytonfaria

    Similar freeze after S3 resume on a single-GPU desktop, on the latest driver, with a different kernel signature from the nvWriteGpEntry spin reported above.

    • Driver: nvidia-open-dkms / nvidia-utils 615.78.08 (Arch)
    • Kernel: 7.2.8 (linux-omarchy-bore), stable
    • GPU: RTX 4070 SUPER, the only GPU; i7-14700 on an ASUS ROG STRIX B760-G; single DP monitor at 3840x2160@60
    • Compositor: Hyprland 0.56.2 on Wayland (explicit sync)
    • Driver settings: mem_sleep = deep, NVreg_PreserveVideoMemoryAllocations=1, NVreg_UseKernelSuspendNotifiers=1 (package defaults, nvidia-suspend/nvidia-resume services disabled as shipped), nvidia_drm modeset=1

    What happened: right after resume, the desktop stopped responding to keybinds and workspaces couldn't be switched. A reboot issued at that point hung after userspace shutdown, and the machine needed a forced power cycle about 47 minutes later.

    The only NVIDIA errors at wake:

    16:19:55 kernel: ACPI: PM: Waking up from system sleep state S3
    16:19:55 kernel: xhci_hcd 0000:00:14.0: xHC error in resume, USBSTS 0x411, Reinit
    16:19:55 kernel: [drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
    16:19:57 kernel: PM: suspend exit
    16:19:57 kernel: nvidia-modeset: ERROR: GPU:0: nvHandleCpEventDeferredWork: displayId 0x8000 invalid
    16:20:02 kernel: nvidia-modeset: ERROR: GPU:0: nvHandleCpEventDeferredWork: displayId 0x8000 invalid
    

    The system stayed in this state for about 4 minutes before the reboot, longer than hung_task_timeout_secs (120). Even so, there was no hung-task report, no soft lockup and no nvWriteGpEntry / nvkms_ioctl_from_kapi_try_pmlock stack. That suggests the semaphore-surface wait failing at resume (the explicit-sync fence for the compositor never signalling) as the trigger in this case, rather than the GPFIFO spin addressed by #1286.

    Several Omarchy (Hyprland) users see the same sync FD semaphore surface error at the moment of wake, followed by a stuck desktop. Their reports include 610.57.04 on an RTX 4070 SUPER desktop: omacom/omarchy#10108 (also omacom/omarchy#4891).

    I didn't capture an nvidia-bug-report.log.gz from that boot. If it happens again, I'll attach one from a TTY or SSH session before rebooting.

  7. claytonfaria commented on Oct 15, 2026

    @claytonfaria

    Correction (same day): the driver comparison below is wrong. I downgraded to nvidia-open-dkms / nvidia-utils 610.57.04 (confirmed loaded via /proc/driver/nvidia/version), kept everything else the same, and the first suspend reproduced it exactly: the same semsurf error at resume and the same IPC-dead shell. The driver was upgraded on the same day as several other packages, which is why it looked responsible.

    The variable that does split my suspends cleanly is the kernel: all 42 clean cycles ran on 7.1.9-arch1-2 or 7.2.5-3-omarchy, and all 5 failures ran on 7.2.8-5-omarchy-bore (the default since that same update). I'm testing the stock linux 7.2.9 kernel next and will report back. The backtrace below still stands: the render thread spins in NVIDIA EGL makeCurrent after resume.

    Follow-up to my earlier comment: I caught the hang live and have a userspace backtrace. It points at the EGL driver, right after the semsurf error at resume.

    Setup: nvidia-open-dkms 615.78.08, RTX 4070 SUPER (AD104), single DP 3840x2160@60, i7-14700, deep S3, kernel 7.2.8, Hyprland 0.56.2 (Wayland, explicit sync), Qt 6.12.0 / Quickshell 0.3.2 as the desktop shell. UseKernelSuspendNotifiers: 1, PreserveVideoMemoryAllocations: 1, nvidia-suspend/resume services disabled (package default).

    Sequence: the shell creates its lock-screen window (a new Qt render thread with its own EGL context) and starts drawing it, then the system enters S3 about 85 ms later. On resume:

    19:07:53.960 ACPI: PM: Waking up from system sleep state S3
    19:07:53.964 [drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
    19:07:54.858 PM: suspend exit
    19:07:54.887 nvidia-modeset: ERROR: GPU:0: nvHandleCpEventDeferredWork: displayId 0x8000 invalid
    

    From then on, that render thread is in state R at 100% of one core, never returning from eglMakeCurrent:

    Thread 2 (LWP 8208) "QSGRenderThread"
    #0  libnvidia-eglcore.so.615.78.08
    #1  libnvidia-eglcore.so.615.78.08
    #2  libnvidia-eglcore.so.615.78.08
    #3  libnvidia-eglcore.so.615.78.08
    #4  libnvidia-eglcore.so.615.78.08
    #5  libnvidia-eglcore.so.615.78.08
    #6  libnvidia-eglcore.so.615.78.08
    #7  libEGL_nvidia.so.0
    ...
    #14 libEGL_nvidia.so.0
    #15 libEGL.so.1
    #16 QEGLPlatformContext::makeCurrent(QPlatformSurface*)
    #17 QOpenGLContext::makeCurrent(QSurface*)
    

    (Its CPMMListener thread is parked in libnvidia-glsi → libnvidia-eglcore.) The application's main thread then blocks waiting on that render thread, and the app is dead until kill -9. The kernel and the compositor stay healthy. No Xid, no hung-task report.

    Driver comparison on this machine: 42 of 42 S3 cycles on 610.57.04 with the same lock-then-suspend timing (53–155 ms) were clean, with no semsurf error. 4 of 4 cycles on 615.78.08 logged the semsurf error, and the client wedged every time. I've now downgraded to 610.57.04, keeping the kernel and userspace the same, to isolate the driver, and will follow up with the result.

  8. jarurb007 commented on Nov 17, 2026

    @jarurb007

    Same error here on a desktop Blackwell card (no hybrid graphics), Hyprland instead of GNOME — so it doesn't look compositor- or laptop-specific.

    System

    • GPU: GeForce RTX 5080 (GB203), single GPU, desktop
    • CPU: AMD Ryzen 7 7800X3D
    • Driver: nvidia-open-dkms 615.78.08 (also seen on 610.57.04)
    • Kernel: 7.2.15 (Arch-based, Omarchy)
    • Compositor: Hyprland 0.56.2 (Wayland, explicit sync)
    • Sleep: S3 (mem_sleep = deep), NVreg_PreserveVideoMemoryAllocations=1, NVreg_TemporaryFilePath=/var/tmp, nvidia-suspend/resume/hibernate services enabled, nvidia_drm modeset=1

    Kernel log on an affected resume

    06:48:49.798806 kernel: ACPI: PM: Waking up from system sleep state S3
    06:48:49.798961 kernel: xhci_hcd 0000:0e:00.0: xHC error in resume, USBSTS 0x401, Reinit
    06:48:49.803637 kernel: [drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
    06:48:51.559627 kernel: PM: suspend exit
    

    Symptoms
    The display itself doesn't freeze for me. Instead, individual Wayland clients hang after resume: e.g. the Quickshell-based desktop shell stops responding to input (main thread stuck in futex_wait), ignores graceful quit requests and has to be SIGKILLed. Killing and restarting the hung client fixes it until the next affected resume.

    Incidence
    Intermittent: the error appeared on ~7 of ~33 resumes over the past month (once on 5 resumes within a single boot), on both 610.57.04 and 615.78.08 — so not a regression in 615.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions