I have a laptop with an HDMI cable attached to a KVM switch. My software stack is as follows:
- Linux 7.0.0 - but can be reproduced on some older 6.1x.x kernel versions
- sway 1.12-dev-c57daaf0 (multiple instances running, maybe something to do with it)
- NVIDIA driver version 595.58.03 - but can be reproduced on 595.45.04. I know this issue is new, so it’s a recent regression. I believe the newest version without the bug is 590.48.01
- Other applications typically running are Firefox, Discord, and alacritty. As far as I know nothing else that uses the GPU.
The freeze typically happens when I switch onto this computer using the KVM switch. It does not happen immediately, but usually after a few seconds. I have never seen it happen under any other circumstances.
When the freeze happens the nvidia-modeset kernel thread is at 100% CPU, and sway is stuck waiting on a semaphore(see logs).
One more detail: the laptop screen is disabled in sway.
Two copies of logs are attached since the driver is unresponsive. One is taken with safe mode.
nvidia-bug-report.log.gz (174.3 KB)
nvidia-bug-report.log.gz (115.4 KB)