Hi,
My system freezes completely when hot-plugging wired headphones while
Slack is initializing audio for an incoming call. Requires hard reboot.
**Environment:**
- OS: Ubuntu 26.04
- Kernel: 7.0.0-15-generic
- NVIDIA driver: 595.71.05 (Open Kernel Module)
- GPU: NVIDIA dGPU (PCI 0000:01:00.0)
- Machine: Lenovo (Intel Arrow Lake)
**Kernel messages at time of freeze:**
nvidia 0000:01:00.0: Enabling HDA controller
NVRM: GPU0 _kgspProcessRpcEvent: Attempted to process RPC event
from GPU0: 0x101a (PFM_REQ_HNDLR_STATE_SYNC_CALLBACK) during
bootup without API lock
NVRM: GPU0 nvAssertFailedNoLog: Assertion failed: 0 @ kernel_gsp.c:1447
(repeated twice)
**Trigger:**
The NVIDIA HDA controller gets re-enabled when audio routing changes
(headphone hot-plug). The GSP firmware fires a
PFM_REQ_HNDLR_STATE_SYNC_CALLBACK during this re-initialization
phase, but the driver is not holding the API lock at that point.
The assertion in kernel_gsp.c:1447 fires and the system hard-freezes.
The same assertion fired 6+ times in the session before the fatal freeze.
Also reported to Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2154374