GSP channel allocation fails with NV_ERR_STATE_IN_USE after monitors wake from lock screen (Wayland/KWin) — all new Vulkan/EGL clients fail until reboot

Author: weewyumCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbug

NVIDIA Open GPU Kernel Modules Version

615.71.09 (CachyOS package linux-cachyos-nvidia-open 7.2.8-1, prebuilt; nvidia-utils 615.71.09-1)

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

CachyOS

Kernel Release

Linux cachybot 7.2.8-1-cachyos #1 SMP PREEMPT_DYNAMIC Sat, 26 Sep 2026 19:43:45 +0000 x86_64 GNU/Linux

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 4070 Ti

Describe the bug

After the displays wake from being powered off behind the KDE lock screen, the GPU ends up in a state where GSP refuses all new channel/channel-group allocations with NV_ERR_STATE_IN_USE (0x63). Existing clients (kwin_wayland, plasmashell, already-open apps) keep working, but every new GPU client fails:

  • vulkaninfo --summary → vkCreateDevice failed with ERROR_INITIALIZATION_FAILED (loader: terminator_CreateDevice: Failed in ICD /usr/lib/libGLX_nvidia.so.615.71.09)
  • Games via Proton/VKD3D fail at D3D12CreateDevice (E_FAIL)
  • Firefox crashes (SIGSEGV inside libnvidia-eglcore.so.615.71.09), after first logging eglSetDamageRegion errors (0x3002)

nvidia-smi works and reports matching KMD/UMD versions. Only a reboot recovers.

Kernel log at the time of failure (repeats for every allocation attempt):

NVRM: GPU0 rpcRmApiAlloc_GSP: GspRmAlloc failed: hClass=0x0000a06c; paramsStatus=0x00000063; status=0x00000063 NVRM: GPU0 kchangrpapiConstruct_IMPL: KernelChannelGroupApi alloc RPC to vGpu Host failed NVRM: GPU0 rpcRmApiAlloc_GSP: GspRmAlloc failed: hClass=0x0000c56f; paramsStatus=0x00000063; status=0x00000063 NVRM: GPU0 nvAssertOkFailedNoLog: Assertion failed: State in use [NV_ERR_STATE_IN_USE] (0x00000063) returned from _kchannelSendChannelAllocRpc(...) @ kernel_channel.c:985

Some later attempts from a long-lived client return paramsStatus=0x19 for class 0xa06c. Also seen: NVRM: VM: invalid mmap context.

To Reproduce

  • KDE Plasma 6 Wayland session (kwin_wayland), dual monitors both 2560x1440, on the RTX 4070 Ti
  • Screen locks automatically and Power Management turns the displays off
  • Wake the displays / return to the lock screen
  • At that moment kscreenlocker_greet logs "The Wayland connection broke. Did the Wayland compositor die?" (kwin_wayland itself does NOT restart, same PID). A USB audio device attached via the monitor's hub also disconnects at the same moment.
  • Unlock and start any new Vulkan/EGL client (vulkaninfo, Firefox, a Proton game) → fails as described; dmesg fills with NV_ERR_STATE_IN_USE
  • No system suspend/hibernate is involved (none in the journal); only display power-off

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

(28 Sep): 20:28:44 lock-screen greeter reports Wayland connection broke on display wake → 20:29:50 first NV_ERR_STATE_IN_USE when Firefox started. (29 Sep): 11:27:14 same greeter message on wake → Firefox logs EGL errors from ~11:28 → 13:00:58 first NV_ERR_STATE_IN_USE in dmesg → Firefox crash.

  • nvidia-suspend/resume/hibernate services are disabled; /proc/driver/nvidia/params shows PreserveVideoMemoryAllocations: 2. No suspend was performed.
  • Have NOT tested the proprietary (closed) kernel module on this version.
  • Tried to compare with 610.43.02 via nvidia-open-dkms, but it does not build against kernel 7.2.8, so I couldn't bisect.
  • Workaround: disabling display power-off in Plasma Power Management.
  • Expected: display wake should not leave GSP refusing new channel allocations; new clients should be able to create devices.

Source: NVIDIA/open-gpu-kernel-modules