Repository navigation
Description
NVIDIA Open GPU Kernel Modules Version
610.43.02
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.12-arch1-1 - 7.1.2-arch3-1 (64-bit)
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
AMD Radeon 780M Graphics [Integrated] / NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete]
Describe the bug
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.7.1 - 6.7.2
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-arch1-1 - 7.1.2-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
Memory: 32 ГиБ of RAM (30.6 GiB usable)
Graphics Processor 1: AMD Radeon 780M Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: Vivobook_ASUSLaptop M6500XV_M6500XV
System Version: 1.0
NVIDIA Open Driver: 610.43.02
DESCRIPTION
The issue appears to be a kernel deadlock inside the NVIDIA driver, where nvidia-modeset holds a semaphore indefinitely while looping in kernel space, causing kwin_wayland to hang in state:D.
After updating KDE Plasma to versions 6.7.1 and 6.7.2, a severe issue occurs in the Wayland session when monitors wake up from power-saving (DPMS) mode.
In this hybrid GPU setup, if the screens go into power-saving mode and I then wake them up, there is a very high probability that the graphical system will freeze within a few seconds, followed by a hung task / deadlock. The entire system becomes completely unresponsive, forcing a hard reset using the power button.
Additionally, I noticed that starting with KDE Plasma 6.7, the monitors take noticeably longer to wake up from power-saving mode and the process feels much less responsive than before.
OBSERVED RESULT
The graphical session freezes, followed shortly by a hung task / deadlock, requiring a hard reboot.
EXPECTED RESULT
The monitors should wake up quickly and responsively without causing any system instability, freezes, or hung task / deadlock.
To Reproduce
STEPS TO REPRODUCE
- Connect an external monitor via HDMI (driven by the NVIDIA dGPU) while the laptop screen runs on the AMD iGPU.
- Log into a KDE Plasma Wayland session.
- Let the system put the monitors into power-saving mode (or trigger screen sleep automatically via energy saving settings).
- Wake the monitors up by moving the mouse or pressing a key.
- Wait a few seconds.
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
ADDITIONAL INFO:
Downgrading to Plasma 6.6 resolves the issue completely,
Note: The nvidia-bug-report.log.gz was collected after the crash, right after rebooting the system.
Related upstream issue: I have also opened a bug report on the KDE tracker to keep both development teams informed: https://bugs.kde.org/show_bug.cgi?id=522646
More Info
No response
Activity
tm4ig commentedon Jul 5, 2026
Perhaps the same issue as in #1167
Wood578Guy commentedon Jul 17, 2026
Seeing what looks like the same underlying issue, but on different hardware.
System:
Same trigger — resume from suspend (S3) — but for me it's transient rather than a full deadlock: the session recovers on its own after ~30 seconds rather than requiring a reboot.
Matching log line, same semaphore-surface path as the one described here:
[drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] ERROR [GPU ID 0x00000500]
Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
Downstream effect on KWin's side: this cascades into the lock screen's Qt/EGL context — kscreenlocker_greet logs QRhiGles2: Context is lost followed by repeated eglError: 0x3006 (EGL_BAD_CONTEXT) / "Failed to make context current" — 45 retries at ~0.5s intervals in one capture before it recovers.
While this is happening, only one of my two monitors accepts input/renders correctly — the other stays unresponsive until the retry loop resolves. Might help narrow down which part of the resume path is racing (per-output sync surface vs. a single shared one).
The nvidia-bug-report.log.gz was collected after the system recovered and I logged in:
nvidia-bug-report.log.gz
Awin-G commentedon Aug 11, 2026
Hi — this is the same bug family as #1289, and your hardware/scenario match it nearly exactly (AMD iGPU + RTX 4060 Laptop + external monitor on the NVIDIA dGPU, hybrid, triggered by wake/DPMS display activity).
#1289 has:
nvidia-modesetspinning innvWriteGpEntryinside the DIFR prefetch path, holding the nvkms pmlock → compositor hangs in state D),while (nextGpPut == ReadGpGetOffset(...))innvWriteGpEntry),May be useful for you. (Reporter note: analysis + patch produced by an AI agent on the reporter's machine; manual steps by the reporter.)
ClGratton commentedon Aug 30, 2026
Additional matching evidence from a single-GPU desktop, widening this beyond the hybrid/DPMS-only case:
At resume the kernel logged the same semaphore-surface failure:
The Qt lock/shell process then lost its graphics device and never recovered its OpenGL context:
Those
EGL_BAD_CONTEXT/ frame failures then repeated indefinitely. The visible symptom was a frozen lock/bar frame with the clock stuck at the old time, while the actual system/RTC/NTP time was correct. Importantly, the lock process was still receiving keyboard input and PAM authenticated successfully, so this was render-context loss rather than a stopped session or wrong clock. Restarting Quickshell after unlock restored rendering immediately.As a diagnostic workaround, the same shell now launches successfully with
QSG_RHI_BACKEND=vulkanand renders both outputs normally, avoidingQWaylandGLContext. A real suspend/resume validation of that workaround is still pending, so this is evidence rather than a claimed fix.I have not compared the proprietary kernel module yet, so this does not establish that the bug is open-module-only.
ClGratton commentedon Aug 30, 2026
Follow-up after the first real S3 cycle with the shell-only Vulkan diagnostic workaround:
QSG_RHI_BACKEND=vulkan__nv_drm_semsurf_wait_fence_work_cberror occurred in this cycleQWaylandGLContext,EGL_BAD_CONTEXT,QRhidevice-loss, or failed-frame messages occurredThis is only 1/1 successful Vulkan cycle so far, not enough to claim a general fix, but it strengthens the indication that the failure is specific to the resumed OpenGL/sync-surface path rather than system time or lock input handling.