NVIDIA compiler faults in vkCreateComputePipelines on ProjectScarlett CS cb564c01 since #216 (cold driver cache) #231

Open
opened 2026-11-26 13:43:41 +00:00 by github-bot · 0 comments
Owner

@⁠NickStallman on GitHub · 2026-11-26 13:42 UTC · original

On main (c6ce497), with an RTX 5090 (driver 595.99.02, GE-Proton11-14, Linux 7.0.0), ProjectScarlett sometimes dies about 2 minutes in, during cold shader compilation (Game exited with exit code 3):

err:vulkan:vkCreateComputePipelines Exception 0xc0000005 in Unix call.

The faulting frame is inside NVIDIA's compiler:

  • one run: libnvidia-gpucomp.so.595.99.02 + 0x1242b74;
  • the other run: libnvidia-glvkspirv.so / _nv002nvvm.

Which pipeline. Both crashes happened while CreatePipelineState #50737 CS cb564c01 was compiling ("still running 50s"). In the second run it was the only pipeline in flight when the driver faulted.

When it began. The same compute pipeline compiled in 13 s on main before #216, but took 135 s on c6ce497 in the one cold run that survived it:

run main CS cb564c01 driver fault
1 773278a (before #216) finished in 13 s no
2 c6ce497 finished in 135 s no
3, 4 c6ce497 still running at 50 s yes

Cache note. It only shows up with a cold NVIDIA driver cache. The prefix's oversized GLCache was moved aside, per c6ce497, which is why these runs are cold.

What I haven't done. I haven't found the guest shader behind cb564c01 or compared its translation before and after #216 (compute roots / stride table / the -O0 cap change in 7e0ad65). If someone knows how to map that pipeline hash back to its request in the shader cache, I can bisect it.

**@⁠NickStallman** on GitHub · 2026-11-26 13:42 UTC · [original](https://github.com/brcly/TuxBox/issues/231) On `main` (`c6ce497`), with an RTX 5090 (driver 595.99.02, GE-Proton11-14, Linux 7.0.0), ProjectScarlett sometimes dies about 2 minutes in, during cold shader compilation (`Game exited with exit code 3`): ``` err:vulkan:vkCreateComputePipelines Exception 0xc0000005 in Unix call. ``` The faulting frame is inside NVIDIA's compiler: - one run: `libnvidia-gpucomp.so.595.99.02 + 0x1242b74`; - the other run: `libnvidia-glvkspirv.so` / `_nv002nvvm`. **Which pipeline.** Both crashes happened while `CreatePipelineState #50737 CS cb564c01` was compiling ("still running 50s"). In the second run it was the only pipeline in flight when the driver faulted. **When it began.** The same compute pipeline compiled in 13 s on `main` before #216, but took 135 s on `c6ce497` in the one cold run that survived it: | run | `main` | CS cb564c01 | driver fault | |---|---|---|---| | 1 | 773278a (before #216) | finished in 13 s | no | | 2 | c6ce497 | finished in 135 s | no | | 3, 4 | c6ce497 | still running at 50 s | yes | **Cache note.** It only shows up with a cold NVIDIA driver cache. The prefix's oversized `GLCache` was moved aside, per `c6ce497`, which is why these runs are cold. **What I haven't done.** I haven't found the guest shader behind `cb564c01` or compared its translation before and after #216 (compute roots / stride table / the `-O0` cap change in `7e0ad65`). If someone knows how to map that pipeline hash back to its request in the shader cache, I can bisect it.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 13:43:41 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.