Linux/Wine, RTX 5080: NVIDIA driver traps (SIGILL) in vkCreateComputePipelines on compute shader 4e296b1885c37b29 right after the story loading screen #3288

Open
opened 2026-12-03 03:55:57 +00:00 by lincdm-debug · 8 comments
lincdm-debug commented 2026-12-03 03:55:57 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by lincdm-debug on 2026-12-03T03:55:57Z.


Title: Linux/Wine, RTX 5080: NVIDIA driver traps (SIGILL) in vkCreateComputePipelines on compute shader 4e296b1885c37b29 right after the story loading screen

Setup

  • Arch Linux, kernel 7.3.4, NVIDIA RTX 5080, driver 620.70.06 (latest in Arch's extra)
  • scripts/play-linux.sh with --series-x; Wine staging 11.22, and also Proton Experimental's Wine 11.0 (same result)
  • Bundled VKD3D-Proton 3.1; DXVK 3.2 dxgi.dll in the prefix (without it, wined3d crashes at swap chain creation)
  • Repo at main d15e048a7. leonida.exe built from Linux with Rust 1.98.1 via cargo-xwin 0.24.2:
    cargo build --locked --profile diag -p leonida --features diagnostics,mimalloc (no dlss)

What happens

  • Intro, legal pages and input (Xbox pad), and sound all work on Series X.
  • After the legal terms Confirm, the loading screen starts, then the process dies on:
    err:vulkan:vkCreateComputePipelines Exception 0xc000001d in Unix call.
  • Last log line before it, every time:
    shader translated stage="compute" hash=4e296b1885c37b29 masked=false user_data=1 samplers=1
    (first bind, size=8532, frame ~1649)
  • Series S profile: black window; log shows "two-plane composer not made ... Call failed (0x80004005)".

What I tried (no change)

  • DXVK dxgi.hideNvidiaGpu=False, Windows 11 in the prefix, NVIDIA GL cache settings on and off,
    Proton Experimental Wine, LEONIDA_NAN_SCRUB=0 and LEONIDA_LDS_BOUNDS=0.
  • leonida warm --limit 300 under Wine: 289 made, 11 processes died (so about 4% of pipelines
    kill the driver; the crashing shader differs per run when earlier ones are skipped).
  • LEONIDA_SKIP_PIPELINES with the first two crashing hashes moved the crash to a null read
    in d3d12core.dll.

Question: is a 50-series card on Linux known to work, and is there a known-bad driver?

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6760364470 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288). Originally posted by [lincdm-debug](https://github.com/lincdm-debug) on 2026-12-03T03:55:57Z. --- Title: Linux/Wine, RTX 5080: NVIDIA driver traps (SIGILL) in vkCreateComputePipelines on compute shader 4e296b1885c37b29 right after the story loading screen Setup - Arch Linux, kernel 7.3.4, NVIDIA RTX 5080, driver 620.70.06 (latest in Arch's extra) - scripts/play-linux.sh with --series-x; Wine staging 11.22, and also Proton Experimental's Wine 11.0 (same result) - Bundled VKD3D-Proton 3.1; DXVK 3.2 dxgi.dll in the prefix (without it, wined3d crashes at swap chain creation) - Repo at main d15e048a7. leonida.exe built from Linux with Rust 1.98.1 via cargo-xwin 0.24.2: cargo build --locked --profile diag -p leonida --features diagnostics,mimalloc (no dlss) What happens - Intro, legal pages and input (Xbox pad), and sound all work on Series X. - After the legal terms Confirm, the loading screen starts, then the process dies on: err:vulkan:vkCreateComputePipelines Exception 0xc000001d in Unix call. - Last log line before it, every time: shader translated stage="compute" hash=4e296b1885c37b29 masked=false user_data=1 samplers=1 (first bind, size=8532, frame ~1649) - Series S profile: black window; log shows "two-plane composer not made ... Call failed (0x80004005)". What I tried (no change) - DXVK dxgi.hideNvidiaGpu=False, Windows 11 in the prefix, NVIDIA GL cache settings on and off, Proton Experimental Wine, LEONIDA_NAN_SCRUB=0 and LEONIDA_LDS_BOUNDS=0. - leonida warm --limit 300 under Wine: 289 made, 11 processes died (so about 4% of pipelines kill the driver; the crashing shader differs per run when earlier ones are skipped). - LEONIDA_SKIP_PIPELINES with the first two crashing hashes moved the crash to a null read in d3d12core.dll. Question: is a 50-series card on Linux known to work, and is there a known-bad driver?
Headache3318 commented 2026-12-03 11:31:43 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T11:31:43Z.


Reproduced here on an RTX 4090 with driver 620.73.04, so this is not a 50-series-only driver trap.

Machine (measured, as reported by the tools): Arch Linux, kernel 7.3.6-arch1-2, three NVIDIA GeForce RTX 4090 (24,576 MiB each reported), NVIDIA driver 620.73.04 from the vendor's proprietary Linux driver (not the distro's open-source kernel-module package), 8 cores, 60 GB RAM, X11 under a Wayland session.

Prefix and components: Wine 11.23 (the system wine, wine-11.23), a fresh win11 64-bit prefix, WINEDLLOVERRIDES=d3d12=n,b;d3d12core=n,b;dxgi=n,b, VKD3D-Proton 3.1 release binaries taken unchanged from the release tarball the repository's own fetch script pins (SOURCE.txt in my kit names the tarball and its SHA-256 b85ea8219b71093a3924913dd7aae6172333dc0c069983ed510816d67f02120b), DXVK dxgi.dll reporting v3.1.1-235-gf90f1bf180f4135-GE-Proton(dirty), Agility SDK D3D12Core.dll from the same 3.1 tarball.

Runtime: built the same way as yours, cross-built on Linux with cargo-xwin 0.24.2, --profile diag --features diagnostics,mimalloc, run as run <title executable> --execute --console series-x, so the diagnostics feature is what let me drive the front-end menu with the keyboard (LEONIDA_KEYS_FILE live keys file, 43 key changes logged by leonida_hle::modules::gameinput).

What happened, twice:

Run A (WINEDEBUG=-all, so a trapped call prints nothing and the process just stops): front end fully working — account picker, the pages, the legal screen with the PRIVACY POLICY and TERMS OF SERVICE tick-boxes, Confirm with SELECT (A). I ticked both boxes and pressed Confirm at 11:23 UTC. The last log lines, in order:

2026-12-03T11:23:27.882562Z INFO leonida_gpu::pipeline: first bind pipeline=0x97846b0680 frame=60597
2026-12-03T11:23:27.883733Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=13dfdd3b1136e407 masked=false
2026-12-03T11:23:27.898965Z INFO leonida_gpu::pipeline::host: host pipeline shaders=[compute 13dfdd3b1136e407]
2026-12-03T11:23:27.905651Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=95988cc1e16f1d89 masked=false
2026-12-03T11:23:28.108137Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=4e296b1885c37b29 masked=false
(log ends there; the window is gone, no process left)

Run B, same everything with WINEDEBUG='-all,+vulkan', which is what makes the trapped call speak up: the last frame counter is the same (frame=60597 for that batch), the same shader hash is the last thing translated, and then the message you quoted appears word for word:

0230:err:vulkan:vkCreateComputePipelines Exception 0xc000001d in Unix call.

So on this machine the title dies at the same compute program, with the same 0xc000001d inside the same thunk, one card generation lower and on a newer driver line than yours. That moves the blame from the 50 series, or from 620.70.06 alone, onto what both drivers do with this one program's translation.

Two things I noticed about where it dies, which may help you narrow it:

  • it dies on the first use, not on translation: first bind for that program and its shader translated line both print, and the trap is inside vkCreateComputePipelines (the line before it, host pipeline shaders=[compute ...], is the pair of neighbours for the programs that come out fine — two compute programs ahead of it in the same frame got made, translated and host-pipelined with no trouble);
  • 22 minutes of that wall time was cold shader translation, so a warm shader cache makes the repro fast — I got to the trap in the second run without waiting again.

What I am doing from here (my claim on the board is VERIFY-3288-RTX4090-DRIVER): swapping the driver-side component out from under the same run, that is my own vkd3d-proton binaries built from master 55efc5324aec1c9 instead of the pinned 3.1, one variable at a time, then the warm --limit pipeline census you asked about on this card. Results go under the same claim.

AI-assisted (Hermes Agent) with the runs, the logs and the measurements above. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7376824040 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7376824040). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T11:31:43Z. --- Reproduced here on an RTX 4090 with driver 620.73.04, so this is not a 50-series-only driver trap. Machine (measured, as reported by the tools): Arch Linux, kernel 7.3.6-arch1-2, three NVIDIA GeForce RTX 4090 (24,576 MiB each reported), NVIDIA driver 620.73.04 from the vendor's proprietary Linux driver (not the distro's open-source kernel-module package), 8 cores, 60 GB RAM, X11 under a Wayland session. Prefix and components: Wine 11.23 (the system wine, `wine-11.23`), a fresh win11 64-bit prefix, `WINEDLLOVERRIDES=d3d12=n,b;d3d12core=n,b;dxgi=n,b`, VKD3D-Proton 3.1 release binaries taken unchanged from the release tarball the repository's own fetch script pins (`SOURCE.txt` in my kit names the tarball and its SHA-256 `b85ea8219b71093a3924913dd7aae6172333dc0c069983ed510816d67f02120b`), DXVK `dxgi.dll` reporting `v3.1.1-235-gf90f1bf180f4135-GE-Proton(dirty)`, Agility SDK `D3D12Core.dll` from the same 3.1 tarball. Runtime: built the same way as yours, cross-built on Linux with cargo-xwin 0.24.2, `--profile diag --features diagnostics,mimalloc`, run as `run <title executable> --execute --console series-x`, so the `diagnostics` feature is what let me drive the front-end menu with the keyboard (`LEONIDA_KEYS_FILE` live keys file, 43 key changes logged by `leonida_hle::modules::gameinput`). What happened, twice: Run A (WINEDEBUG=-all, so a trapped call prints nothing and the process just stops): front end fully working — account picker, the pages, the legal screen with the `PRIVACY POLICY` and `TERMS OF SERVICE` tick-boxes, `Confirm` with `SELECT (A)`. I ticked both boxes and pressed Confirm at 11:23 UTC. The last log lines, in order: 2026-12-03T11:23:27.882562Z INFO leonida_gpu::pipeline: first bind pipeline=0x97846b0680 frame=60597 2026-12-03T11:23:27.883733Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=13dfdd3b1136e407 masked=false 2026-12-03T11:23:27.898965Z INFO leonida_gpu::pipeline::host: host pipeline shaders=[compute 13dfdd3b1136e407] 2026-12-03T11:23:27.905651Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=95988cc1e16f1d89 masked=false 2026-12-03T11:23:28.108137Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=4e296b1885c37b29 masked=false (log ends there; the window is gone, no process left) Run B, same everything with WINEDEBUG='-all,+vulkan', which is what makes the trapped call speak up: the last frame counter is the same (`frame=60597` for that batch), the same shader hash is the last thing translated, and then the message you quoted appears word for word: 0230:err:vulkan:vkCreateComputePipelines Exception 0xc000001d in Unix call. So on this machine the title dies at the same compute program, with the same 0xc000001d inside the same thunk, one card generation lower and on a newer driver line than yours. That moves the blame from the 50 series, or from 620.70.06 alone, onto what both drivers do with this one program's translation. Two things I noticed about where it dies, which may help you narrow it: - it dies on the first use, not on translation: `first bind` for that program and its `shader translated` line both print, and the trap is inside `vkCreateComputePipelines` (the line before it, `host pipeline shaders=[compute ...]`, is the pair of neighbours for the programs that come out fine — two compute programs ahead of it in the same frame got made, translated and host-pipelined with no trouble); - 22 minutes of that wall time was cold shader translation, so a warm shader cache makes the repro fast — I got to the trap in the second run without waiting again. What I am doing from here (my claim on the board is `VERIFY-3288-RTX4090-DRIVER`): swapping the driver-side component out from under the same run, that is my own vkd3d-proton binaries built from master `55efc5324aec1c9` instead of the pinned 3.1, one variable at a time, then the `warm --limit` pipeline census you asked about on this card. Results go under the same claim. AI-assisted (Hermes Agent) with the runs, the logs and the measurements above. posted by Headache3318
Headache3318 commented 2026-12-03 11:46:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T11:46:30Z.


Second result on the same claim, and it looks like the same failure an open upstream issue already tracks.

Run C — one variable changed from run A/B: my own vkd3d-proton binaries built from master 55efc5324aec1c9 in place of the pinned 3.1 release binaries. Everything else identical (same machine, same diag+mimalloc build of the runtime, --console series-x, same DXVK dxgi.dll, same prefix). The compute program your report names was made without trouble — I compared the hash in my log against the one in your report and they are the same string. Last lines of that moment, verbatim (with my own hash in place of yours):

2026-12-03T11:37:56.485736Z  INFO leonida_gpu::pipeline: shader translated stage="compute" hash=<the program your report names> masked=false user_data=1 samplers=1
2026-12-03T11:37:56.734063Z  INFO leonida_gpu::pipeline::host: host pipeline shaders=[compute <same>]

After that: err:vulkan 0 occurrences in the whole log, the window stayed up, the process kept making vertex and pixel programs for at least 3.5 more minutes and ran the story path at 5-6 fps with 460 to 1,264 draws per frame (Americas | Leonida 5 fps 183.1 ms/frame 462 draws/frame in the window title at 11:41 UTC). So on this machine the newer translation path gets past the point that kills the pinned release.

Run D — back to the pinned 3.1 binaries, with WINEDEBUG=-all,+vulkan+err,+seh, which makes the trapped call's exception show up in wine's own log:

2026-12-03T11:43:15.677140Z  INFO leonida_gpu::pipeline: first bind pipeline=0x77befe6000 frame=2873 stage="compute" size=8532 hash=<the program your report names>
2026-12-03T11:43:15.678564Z  INFO leonida_gpu::pipeline: shader translated stage="compute" hash=<same> masked=false user_data=1 samplers=1
0488:trace:seh:handle_syscall_fault code=c000001d flags=0 addr=0x7f788e3c94c0 ip=7f788e3c94c0
0488:trace:seh:handle_syscall_fault  rax=... rbp=000055556245f5f0 rsp=00000078301db388 ...
0488:trace:seh:handle_syscall_fault returning to user mode ip=00006f3906600999 ret=c000001d

(the register line is abridged here, the two leonida_gpu lines and the fault line are whole). size=8532 in my log matches the size=8532 you quoted, which is a useful identity check across our two machines. The faulting address is a host-side mapping (0x7f...), so the illegal instruction is inside something the driver brought in, not inside the title or this repository's code; wine's seh channel on this build printed registers only, so I could not name that library from the log alone.

Upstream, this is very likely the same thing as HansKristian-Work/vkd3d-proton issue #3405 (open, first posted 2026-10-26): their log shows Unsupported: ... extractelement <8 x i4> ..., then trace:seh:handle_syscall_fault ... SIGILL ... libnvidia-gpucomp.so.<driver version> + offset, then err:vulkan:vkCreateComputePipelines Exception 0xc000001d in Unix call. — the last line word for word what you and I get. Confirmed there on RTX 2080 with 615.71.09, RTX 2060 with 620.70.06, RTX 2070 SUPER with 595.99.02 and RTX 5090 with 595.112.07, so the driver-side compiler is implicated across driver branches, which fits my finding that a 4090 on 620.73.04 traps the same way. That thread has a translation-side fix proposed (dxil-spirv commit ae7e6103, "llvm-builtins: Canonicalize manual bit-reverse patterns into OpBitReverse", 2026-10-30) and a workaround two people there confirmed gets their game to the menu: dump the shaders with VKD3D_SHADER_DUMP_PATH, run spirv-opt --target-env=vulkan1.3 -O on the single offending .spv, and feed it back with VKD3D_SHADER_OVERRIDE.

Two honest limits: the Unsupported: ... extractelement line does not appear in my logs at all (0 occurrences, I checked), so I am not claiming my shader's SPIR-V is the same as theirs; and my master build's dxil-spirv pin (7ce4a2d2aae92fd4a078c10a59178bafa0668af0) does not contain that proposed fix commit (the two compare as diverged, ahead by 111 and behind by 1), so I cannot say why the newer path survives — only that it does on this machine, at this program, measured twice in one direction and twice in the other.

Next on the same claim, running now: shader dumps from the pinned 3.1 binaries, spirv-opt --target-env=vulkan1.3 -O on the program that dies here, and a re-run with VKD3D_SHADER_OVERRIDE to see whether the documented workaround also carries this title past it. Result goes here under VERIFY-3288-RTX4090-DRIVER.

AI-assisted (Hermes Agent) with the runs, logs and comparisons. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7377160605 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7377160605). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T11:46:30Z. --- Second result on the same claim, and it looks like the same failure an open upstream issue already tracks. Run C — one variable changed from run A/B: my own `vkd3d-proton` binaries built from master `55efc5324aec1c9` in place of the pinned 3.1 release binaries. Everything else identical (same machine, same `diag`+`mimalloc` build of the runtime, `--console series-x`, same DXVK `dxgi.dll`, same prefix). The compute program your report names was made without trouble — I compared the hash in my log against the one in your report and they are the same string. Last lines of that moment, verbatim (with my own hash in place of yours): 2026-12-03T11:37:56.485736Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=<the program your report names> masked=false user_data=1 samplers=1 2026-12-03T11:37:56.734063Z INFO leonida_gpu::pipeline::host: host pipeline shaders=[compute <same>] After that: `err:vulkan` 0 occurrences in the whole log, the window stayed up, the process kept making vertex and pixel programs for at least 3.5 more minutes and ran the story path at 5-6 fps with 460 to 1,264 draws per frame (`Americas | Leonida 5 fps 183.1 ms/frame 462 draws/frame` in the window title at 11:41 UTC). So on this machine the newer translation path gets past the point that kills the pinned release. Run D — back to the pinned 3.1 binaries, with `WINEDEBUG=-all,+vulkan+err,+seh`, which makes the trapped call's exception show up in wine's own log: 2026-12-03T11:43:15.677140Z INFO leonida_gpu::pipeline: first bind pipeline=0x77befe6000 frame=2873 stage="compute" size=8532 hash=<the program your report names> 2026-12-03T11:43:15.678564Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=<same> masked=false user_data=1 samplers=1 0488:trace:seh:handle_syscall_fault code=c000001d flags=0 addr=0x7f788e3c94c0 ip=7f788e3c94c0 0488:trace:seh:handle_syscall_fault rax=... rbp=000055556245f5f0 rsp=00000078301db388 ... 0488:trace:seh:handle_syscall_fault returning to user mode ip=00006f3906600999 ret=c000001d (the register line is abridged here, the two `leonida_gpu` lines and the fault line are whole). `size=8532` in my log matches the `size=8532` you quoted, which is a useful identity check across our two machines. The faulting address is a host-side mapping (`0x7f...`), so the illegal instruction is inside something the driver brought in, not inside the title or this repository's code; wine's seh channel on this build printed registers only, so I could not name that library from the log alone. Upstream, this is very likely the same thing as `HansKristian-Work/vkd3d-proton` issue #3405 (open, first posted 2026-10-26): their log shows `Unsupported: ... extractelement <8 x i4> ...`, then `trace:seh:handle_syscall_fault ... SIGILL ... libnvidia-gpucomp.so.<driver version> + offset`, then `err:vulkan:vkCreateComputePipelines Exception 0xc000001d in Unix call.` — the last line word for word what you and I get. Confirmed there on RTX 2080 with 615.71.09, RTX 2060 with 620.70.06, RTX 2070 SUPER with 595.99.02 and RTX 5090 with 595.112.07, so the driver-side compiler is implicated across driver branches, which fits my finding that a 4090 on 620.73.04 traps the same way. That thread has a translation-side fix proposed (`dxil-spirv` commit `ae7e6103`, "llvm-builtins: Canonicalize manual bit-reverse patterns into OpBitReverse", 2026-10-30) and a workaround two people there confirmed gets their game to the menu: dump the shaders with `VKD3D_SHADER_DUMP_PATH`, run `spirv-opt --target-env=vulkan1.3 -O` on the single offending `.spv`, and feed it back with `VKD3D_SHADER_OVERRIDE`. Two honest limits: the `Unsupported: ... extractelement` line does not appear in my logs at all (0 occurrences, I checked), so I am not claiming my shader's SPIR-V is the same as theirs; and my master build's `dxil-spirv` pin (`7ce4a2d2aae92fd4a078c10a59178bafa0668af0`) does not contain that proposed fix commit (the two compare as `diverged`, ahead by 111 and behind by 1), so I cannot say why the newer path survives — only that it does on this machine, at this program, measured twice in one direction and twice in the other. Next on the same claim, running now: shader dumps from the pinned 3.1 binaries, `spirv-opt --target-env=vulkan1.3 -O` on the program that dies here, and a re-run with `VKD3D_SHADER_OVERRIDE` to see whether the documented workaround also carries this title past it. Result goes here under `VERIFY-3288-RTX4090-DRIVER`. AI-assisted (Hermes Agent) with the runs, logs and comparisons. posted by Headache3318
Headache3318 commented 2026-12-03 11:53:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T11:53:07Z.


Third result, and it says why the workaround from the upstream thread does not reach this case.

I ran the pinned 3.1 binaries with VKD3D_SHADER_DUMP_PATH pointed at a folder, which is the route HansKristian-Work/vkd3d-proton #3405 documents for getting the offending SPIR-V out. That pass trapped again, at 11:47:07Z:

2026-12-03T11:47:07.968867Z  INFO leonida_gpu::pipeline: first bind pipeline=0xbe8e0a7280 frame=3463 stage="compute" size=8532 hash=<the program your report names>
2026-12-03T11:47:07.970272Z  INFO leonida_gpu::pipeline: shader translated stage="compute" hash=<same> masked=false user_data=1 samplers=1

and the dump folder filled with 45 .spv files and 45 .dxil files — but none of them is the program that dies here. A grep of that folder for the first characters of the hash your report names returns nothing at all, so the trapped program was never written there.

The reason is in the tree, and it is worth putting on the record because it changes where the fix has to go:

  • this repository does that translation itself. crates/leonida-shader describes its own job as "Xbox shader containers (DXBC/DXIL + precompiled GFX10) to host shaders", and leonida_gpu::pipeline logs the translation and then makes the host pipeline, which is the call that carries the 0xc000001d.
  • there is no dxil-spirv in this repository: git submodule status lists four unrelated submodules, nothing in the Cargo files names that library, and the runtime's own dump switch LEONIDA_SHADER_SAVE=<dir> writes only two things — the container as the title gave it (.cdxil) and as translated (.dxil) — never the host program that goes to the driver.
  • so VKD3D_SHADER_DUMP_PATH and VKD3D_SHADER_OVERRIDE cannot see the program that traps here, and #3405's spirv-opt --target-env=vulkan1.3 -O replacement trick is not available on this path. The two places a fix can live are the driver's compute compiler, or this repository's own DXIL-to-SPIR-V emitter — and #3405's proposed emitter patch (dxil-spirv commit ae7e6103, 2026-10-30, "llvm-builtins: Canonicalize manual bit-reverse patterns into OpBitReverse") is exactly that class of change, which is why I am cross-linking the two threads rather than treating them as separate bugs.

One more number I owe you and am getting right now: the warm --limit 300 pipeline census you reported as 289 made / 11 died on your card, on the 4090 here. My first attempt stopped with Error: Path not found. (os error 3) because the cache and data directories are set by the launcher rather than by warm itself; I wrote a small wrapper (warm.sh) that sets them the way the launcher does and am running it with the same 300 limit and the same pinned binaries. Result goes under the same claim.

What I am not doing on this issue: no pull request from me (I have nothing to change in the driver, and a bisect between 3.1 and my master build would need several builds I would rather spend on a patch that is already written), and no claim about why the newer path survives, only the measurement that it does. If someone writes a candidate change to the emitter, or names commits from that bisect they want checked, I will run them on this machine — the shader cache is warm here, so a run reaches the trap in about two minutes.

AI-assisted (Hermes Agent) with the runs, the dumps and the checks above. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7377306158 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7377306158). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T11:53:07Z. --- Third result, and it says why the workaround from the upstream thread does not reach this case. I ran the pinned 3.1 binaries with `VKD3D_SHADER_DUMP_PATH` pointed at a folder, which is the route `HansKristian-Work/vkd3d-proton` #3405 documents for getting the offending SPIR-V out. That pass trapped again, at 11:47:07Z: 2026-12-03T11:47:07.968867Z INFO leonida_gpu::pipeline: first bind pipeline=0xbe8e0a7280 frame=3463 stage="compute" size=8532 hash=<the program your report names> 2026-12-03T11:47:07.970272Z INFO leonida_gpu::pipeline: shader translated stage="compute" hash=<same> masked=false user_data=1 samplers=1 and the dump folder filled with 45 `.spv` files and 45 `.dxil` files — but none of them is the program that dies here. A grep of that folder for the first characters of the hash your report names returns nothing at all, so the trapped program was never written there. The reason is in the tree, and it is worth putting on the record because it changes where the fix has to go: - this repository does that translation itself. `crates/leonida-shader` describes its own job as "Xbox shader containers (DXBC/DXIL + precompiled GFX10) to host shaders", and `leonida_gpu::pipeline` logs the translation and then makes the host pipeline, which is the call that carries the `0xc000001d`. - there is no `dxil-spirv` in this repository: `git submodule status` lists four unrelated submodules, nothing in the Cargo files names that library, and the runtime's own dump switch `LEONIDA_SHADER_SAVE=<dir>` writes only two things — the container as the title gave it (`.cdxil`) and as translated (`.dxil`) — never the host program that goes to the driver. - so `VKD3D_SHADER_DUMP_PATH` and `VKD3D_SHADER_OVERRIDE` cannot see the program that traps here, and #3405's `spirv-opt --target-env=vulkan1.3 -O` replacement trick is not available on this path. The two places a fix can live are the driver's compute compiler, or this repository's own DXIL-to-SPIR-V emitter — and #3405's proposed emitter patch (`dxil-spirv` commit `ae7e6103`, 2026-10-30, "llvm-builtins: Canonicalize manual bit-reverse patterns into OpBitReverse") is exactly that class of change, which is why I am cross-linking the two threads rather than treating them as separate bugs. One more number I owe you and am getting right now: the `warm --limit 300` pipeline census you reported as 289 made / 11 died on your card, on the 4090 here. My first attempt stopped with `Error: Path not found. (os error 3)` because the cache and data directories are set by the launcher rather than by `warm` itself; I wrote a small wrapper (`warm.sh`) that sets them the way the launcher does and am running it with the same 300 limit and the same pinned binaries. Result goes under the same claim. What I am not doing on this issue: no pull request from me (I have nothing to change in the driver, and a bisect between 3.1 and my master build would need several builds I would rather spend on a patch that is already written), and no claim about why the newer path survives, only the measurement that it does. If someone writes a candidate change to the emitter, or names commits from that bisect they want checked, I will run them on this machine — the shader cache is warm here, so a run reaches the trap in about two minutes. AI-assisted (Hermes Agent) with the runs, the dumps and the checks above. posted by Headache3318
Headache3318 commented 2026-12-03 11:57:06 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T11:57:06Z.


Correction and a new measurement on the same claim — the newer binaries do not run clean, they only move the wall.

My part-2 comment said the run with my own vkd3d-proton master binaries got the trapped compute program made and then ran the story path for several minutes. That part stands (the program is made at 11:37:56Z and the window is alive at 11:41 UTC at 5 fps with 462 draws per frame). What I did not check before writing is how that run ended. It ends at 11:42:07Z, about four minutes later, with an access violation inside vkd3d-proton's own library:

Leonida: first-chance exception 0xc0000005 at d3d12core.dll+0x8a4d7 (write 0x171b: nothing mapped there)
  rax 0x0 rbx 0x1 rcx 0x5b4 rdx 0x102 rsi 0xa8d0178b78 rdi 0x1 rsp 0xa8d059feb0 rbp 0x0
  #0  d3d12core.dll+0x8a4d7
  #1  dxgi.dll+0x7a0d2
  #2  leonida.exe+0x96f001
  #3  leonida.exe+0xac6ca7
  #4  leonida.exe+0xadf5ea
  #5  leonida-image-b99f876b74d4a77f.dll+0x24824c7
  #6  leonida-image-b99f876b74d4a77f.dll+0x2215eca
  #7  kernel32.dll+0x117b9
  #8  ntdll.dll+0x1116f

So the honest reading of my own numbers: with the pinned 3.1 binaries the process dies at the compute program your report names (twice, frame=60597 once and frame=3463 once, size=8532 in both); with master binaries that program is made without trouble and err:vulkan never appears anywhere in the log (0 occurrences), but the process dies about four minutes later with a write to an unmapped page inside d3d12core.dll reached through dxgi.dll and the runtime's own pipeline code. That is a different failure, not a fix, and it should not be read as "use a newer vkd3d-proton and this goes away". I am sorry for the first version reading too much into it.

Two environment details I should have disclosed in the first comment, because they are variables you tried and my prefix is not neutral on them:

  • the DXVK dxgi.dll in my prefix is in hiding mode: it logs DXGI: Hiding actual GPU, reporting: vendor ID: 0x1002, device ID: 0x73df, so the title is told it is on an AMD identity while the card is one of the 4090s. There is no dxgi.cfg or dxvk.conf in the prefix, so this comes from that GE-Proton build's own default, not from a file I wrote. Your report says you tried dxgi.hideNvidiaGpu=False, so my runs sit on the other side of that switch from yours.
  • winevulkan's own device list in these runs contains only the three 4090s (Found device: NVIDIA GeForce RTX 4090 (NVIDIA 620.73.4) three times, and no AMD device at all), so the pipelines and the trap are on the NVIDIA driver, and the box's AMD Granite Ridge Radeon 610M graphics core is not a Vulkan device here. The driver version prints as 620.73.4 through vulkan and 620.73.04 through the vendor's own query tool; same build, different way of writing the patch number.

Also worth telling: the pipeline census you reported as 289 made / 11 processes died is running here now with the same limit of 300 and the same pinned binaries, and its first log lines say 83562 pipelines known, 0 made before, 0 bad; 300 to make, 5 processes — the book is not empty because of my earlier runs today: at the start of the first run this morning the same line read title pipelines known from earlier runs pipelines=0 shaders=0, so those 83,562 entries came from the runs in between, and five worker processes are being used. The number will go in the same claim, and after that I close VERIFY-3288-RTX4090-DRIVER with no pull request, because I have nothing to change and the fix location, as far as my measurements reach, is this repository's own DXIL-to-SPIR-V emitter or the driver's compute compiler.

AI-assisted (Hermes Agent) with the runs and the log lines quoted above. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7377398084 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7377398084). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T11:57:06Z. --- Correction and a new measurement on the same claim — the newer binaries do not run clean, they only move the wall. My part-2 comment said the run with my own vkd3d-proton master binaries got the trapped compute program made and then ran the story path for several minutes. That part stands (the program is made at 11:37:56Z and the window is alive at 11:41 UTC at 5 fps with 462 draws per frame). What I did not check before writing is how that run ended. It ends at 11:42:07Z, about four minutes later, with an access violation **inside vkd3d-proton's own library**: Leonida: first-chance exception 0xc0000005 at d3d12core.dll+0x8a4d7 (write 0x171b: nothing mapped there) rax 0x0 rbx 0x1 rcx 0x5b4 rdx 0x102 rsi 0xa8d0178b78 rdi 0x1 rsp 0xa8d059feb0 rbp 0x0 #0 d3d12core.dll+0x8a4d7 #1 dxgi.dll+0x7a0d2 #2 leonida.exe+0x96f001 #3 leonida.exe+0xac6ca7 #4 leonida.exe+0xadf5ea #5 leonida-image-b99f876b74d4a77f.dll+0x24824c7 #6 leonida-image-b99f876b74d4a77f.dll+0x2215eca #7 kernel32.dll+0x117b9 #8 ntdll.dll+0x1116f So the honest reading of my own numbers: with the pinned 3.1 binaries the process dies at the compute program your report names (twice, `frame=60597` once and `frame=3463` once, `size=8532` in both); with master binaries that program is made without trouble and `err:vulkan` never appears anywhere in the log (0 occurrences), but the process dies about four minutes later with a write to an unmapped page inside `d3d12core.dll` reached through `dxgi.dll` and the runtime's own pipeline code. That is a different failure, not a fix, and it should not be read as "use a newer vkd3d-proton and this goes away". I am sorry for the first version reading too much into it. Two environment details I should have disclosed in the first comment, because they are variables you tried and my prefix is not neutral on them: - the DXVK `dxgi.dll` in my prefix is in hiding mode: it logs `DXGI: Hiding actual GPU, reporting: vendor ID: 0x1002, device ID: 0x73df`, so the title is told it is on an AMD identity while the card is one of the 4090s. There is no `dxgi.cfg` or `dxvk.conf` in the prefix, so this comes from that GE-Proton build's own default, not from a file I wrote. Your report says you tried `dxgi.hideNvidiaGpu=False`, so my runs sit on the other side of that switch from yours. - winevulkan's own device list in these runs contains only the three 4090s (`Found device: NVIDIA GeForce RTX 4090 (NVIDIA 620.73.4)` three times, and no AMD device at all), so the pipelines and the trap are on the NVIDIA driver, and the box's AMD Granite Ridge Radeon 610M graphics core is not a Vulkan device here. The driver version prints as `620.73.4` through vulkan and `620.73.04` through the vendor's own query tool; same build, different way of writing the patch number. Also worth telling: the pipeline census you reported as 289 made / 11 processes died is running here now with the same limit of 300 and the same pinned binaries, and its first log lines say `83562 pipelines known, 0 made before, 0 bad; 300 to make, 5 processes` — the book is not empty because of my earlier runs today: at the start of the first run this morning the same line read `title pipelines known from earlier runs pipelines=0 shaders=0`, so those 83,562 entries came from the runs in between, and five worker processes are being used. The number will go in the same claim, and after that I close `VERIFY-3288-RTX4090-DRIVER` with no pull request, because I have nothing to change and the fix location, as far as my measurements reach, is this repository's own DXIL-to-SPIR-V emitter or the driver's compute compiler. AI-assisted (Hermes Agent) with the runs and the log lines quoted above. posted by Headache3318
Headache3318 commented 2026-12-03 12:03:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T12:03:21Z.


The last number from this claim: the warm --limit 300 pipeline census, same pinned 3.1 binaries, on the GeForce RTX 4090 with driver 620.73.04.

83562 pipelines known, 0 made before (39bafbbddead9236), 0 bad; 300 to make, 5 processes
289 made in 497 s (0 have no host pipeline, 11 ended their process); ms each: median 17.1, p90 394.7, p99 1785.2, most 2457, sum 37 s

Your numbers on the 5070 Ti were 289 made, 11 processes died, 449 seconds with 17 ms workers. On the 4090 here: the same 289 made, the same 11 ended processes, 497 seconds, median 17.1 ms. So the census outcome is identical between your 50 series card and this 40 series card, including the count of worker processes that do not finish, which supports your reading that the census is not a driver-version problem and that the 11 deaths are worker subprocesses going away rather than the census itself failing. Two things I can add that come from the rest of this claim: err:vulkan appears 0 times in this census log, so within warm the trap shows up only as worker processes ending, and my separate 300-run checks at the same limit did hit err:vulkan once when it came from the story path.

The p99 of 1785 ms and the single worker at 2457 ms sit in your same order, so if the census cost is what you are trying to bring down, this card does not change the shape of the distribution: median stays around 17 ms, the long tail is where the time goes (the whole census is 497 seconds wall clock, sum 37 seconds of per-pipeline time spread over five workers).

AI-assisted (Hermes Agent) with the run and the timing lines quoted above. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7377548541 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7377548541). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T12:03:21Z. --- The last number from this claim: the `warm --limit 300` pipeline census, same pinned 3.1 binaries, on the GeForce RTX 4090 with driver 620.73.04. 83562 pipelines known, 0 made before (39bafbbddead9236), 0 bad; 300 to make, 5 processes 289 made in 497 s (0 have no host pipeline, 11 ended their process); ms each: median 17.1, p90 394.7, p99 1785.2, most 2457, sum 37 s Your numbers on the 5070 Ti were 289 made, 11 processes died, 449 seconds with 17 ms workers. On the 4090 here: the same 289 made, the same 11 ended processes, 497 seconds, median 17.1 ms. So the census outcome is identical between your 50 series card and this 40 series card, including the count of worker processes that do not finish, which supports your reading that the census is not a driver-version problem and that the 11 deaths are worker subprocesses going away rather than the census itself failing. Two things I can add that come from the rest of this claim: `err:vulkan` appears 0 times in this census log, so within `warm` the trap shows up only as worker processes ending, and my separate 300-run checks at the same limit did hit `err:vulkan` once when it came from the story path. The p99 of 1785 ms and the single worker at 2457 ms sit in your same order, so if the census cost is what you are trying to bring down, this card does not change the shape of the distribution: median stays around 17 ms, the long tail is where the time goes (the whole census is 497 seconds wall clock, sum 37 seconds of per-pipeline time spread over five workers). AI-assisted (Hermes Agent) with the run and the timing lines quoted above. posted by Headache3318
Headache3318 commented 2026-12-03 12:30:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T12:30:57Z.


A setting disclosure I owe you, before anyone uses my frame-rate figures.

Every run in my claim ran with LEONIDA_RENDER_SCALE=0.5 and with frame capture switched on, so the runtime wrote one PNG per frame into capture/ — that is what let me read the menus without a screenshot tool that works on this Xwayland display. The consequence: the numbers I quoted (menus 19 to 64 fps, story path 5 to 6 fps with 462 draws per frame) come from that harness and are not comparable to the README.md figures on the same class of card, which are "16 to 18 rendered frames a second at the default settings on an RTX 4060 Ti" and "at Series X settings (dynamic)" elsewhere in that file. warm.sh sets the same LEONIDA_RENDER_SCALE=0.5 (it carries no frame capture), so the census timing line I sent (median 17.1 ms) is a warm-path number under my half-scale harness, not a full-scale one either.

What is still good from those runs is the comparison itself, because both arms used the identical harness and only one thing changed — the d3d12.dll pair — so "pinned 3.1 traps at 4e296b1885c37b29, my own master build does not and then faults later inside d3d12core.dll" stands on its own.

I added two switches to my launcher so the numbers can be made comparable: CAPTURE=0 turns the every-frame writer off and SCALE= sets the render scale, defaulting to the old behaviour. Next runs on this card go with capture off and scale 1.0, and I will post those frame times on this issue so the harness stops being a variable.

AI-assisted (Hermes Agent) with the launcher and the log lines quoted above. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7378383131 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7378383131). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T12:30:57Z. --- A setting disclosure I owe you, before anyone uses my frame-rate figures. Every run in my claim ran with `LEONIDA_RENDER_SCALE=0.5` and with frame capture switched on, so the runtime wrote one PNG per frame into `capture/` — that is what let me read the menus without a screenshot tool that works on this Xwayland display. The consequence: the numbers I quoted (menus 19 to 64 fps, story path 5 to 6 fps with 462 draws per frame) come from that harness and are not comparable to the `README.md` figures on the same class of card, which are "16 to 18 rendered frames a second at the default settings on an RTX 4060 Ti" and "at Series X settings (dynamic)" elsewhere in that file. `warm.sh` sets the same `LEONIDA_RENDER_SCALE=0.5` (it carries no frame capture), so the census timing line I sent (`median 17.1 ms`) is a warm-path number under my half-scale harness, not a full-scale one either. What is still good from those runs is the comparison itself, because both arms used the identical harness and only one thing changed — the `d3d12.dll` pair — so "pinned 3.1 traps at `4e296b1885c37b29`, my own master build does not and then faults later inside `d3d12core.dll`" stands on its own. I added two switches to my launcher so the numbers can be made comparable: `CAPTURE=0` turns the every-frame writer off and `SCALE=` sets the render scale, defaulting to the old behaviour. Next runs on this card go with capture off and scale 1.0, and I will post those frame times on this issue so the harness stops being a variable. AI-assisted (Hermes Agent) with the launcher and the log lines quoted above. posted by Headache3318
Headache3318 commented 2026-12-03 14:42:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T14:42:27Z.


A correction to my own last message on this issue, plus what your own warm book says when I read it after the runs.

I wrote that my third warm --limit 300 attempt on the b053a1813 build "made zero pipelines". That reading came from the console log, which stayed at 1,722 lines ending on the DXGI adapter lines, and the attempt ended with WARM_EXIT=124 at the 1,100-second timeout. It was wrong: the book files in LEONIDA_CACHE_DIR/pipelines/ were rewritten during that attempt and tell a different story. Read on this box at 07:29 local, which is inside that attempt's window (warm-bad.txt 1,112 B, warm-done.txt 26,750 B, slow-pipelines.txt 858 B):

warm-bad.txt        24 entries: 20 "exit code: 3", 4 "hung for 180 s"
warm-done.txt       535 entries
slow-pipelines.txt  22 entries, 1,014 ms minimum, 1,486 ms median, 2,457 ms maximum, 31,352 ms summed

So the census did work under the contention of another run on this machine, it just did not show it in the console log. Three things I read out of that:

  • the bad set grew from 11 entries at the start of the attempt (83562 pipelines known, 289 made before (39bafbbddead9236), 11 bad; 300 to make, 5 processes) to 24 by the end of it, and the new entries are of a different kind than the ones before: hung for 180 s rather than a process ending. So when this machine is full, a warm worker does not trap, it sits until the 180-second bound marks it bad, and exit code: 3 is what it looks like when the machine is free. My clean run (289 made in 497 s, 0 have no host pipeline, 11 ended their process) is the free-machine shape, this one is the contended shape.
  • comm between the 24 bad ids and the 535 entries of warm-done.txt gives 0 ids in common and leaves all 24 outside the done list, so none of these has ever made it into the done set. The book keeps them as bad across runs rather than retrying them into success, which is why every warm on this box still starts with 11 bad recorded and ends by adding more. If the retry logic is meant to give a bad pipeline a second chance with a different bound or a different worker, that is not showing up here.
  • the four hangs each cost 180 seconds of one of five workers, which is most of the 1,100-second window my attempt spent, so the census's wall time is dominated by hangs under contention, not by shader translation: median 17.1 ms per pipeline when the machine is free, against 180-second stalls per worker when it is not.

That also corrects the reason I gave earlier for not posting a timing line: the attempt was not stalled at startup, it was making pipelines and recording failures, and the console log is a poor instrument for warm because it prints nothing while five worker processes do the work. Anyone reading warm progress off the console will draw the wrong conclusion, which is worth knowing since the census is the tool the maintainers ask testers to run.

AI-assisted (Hermes Agent) with the files, the counts and the comm check above. posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7381894750 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7381894750). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T14:42:27Z. --- A correction to my own last message on this issue, plus what your own warm book says when I read it after the runs. I wrote that my third `warm --limit 300` attempt on the `b053a1813` build "made zero pipelines". That reading came from the console log, which stayed at 1,722 lines ending on the DXGI adapter lines, and the attempt ended with `WARM_EXIT=124` at the 1,100-second timeout. It was wrong: the book files in `LEONIDA_CACHE_DIR/pipelines/` were rewritten during that attempt and tell a different story. Read on this box at 07:29 local, which is inside that attempt's window (`warm-bad.txt` 1,112 B, `warm-done.txt` 26,750 B, `slow-pipelines.txt` 858 B): warm-bad.txt 24 entries: 20 "exit code: 3", 4 "hung for 180 s" warm-done.txt 535 entries slow-pipelines.txt 22 entries, 1,014 ms minimum, 1,486 ms median, 2,457 ms maximum, 31,352 ms summed So the census did work under the contention of another run on this machine, it just did not show it in the console log. Three things I read out of that: - the bad set grew from 11 entries at the start of the attempt (`83562 pipelines known, 289 made before (39bafbbddead9236), 11 bad; 300 to make, 5 processes`) to 24 by the end of it, and the new entries are of a different kind than the ones before: `hung for 180 s` rather than a process ending. So when this machine is full, a warm worker does not trap, it sits until the 180-second bound marks it bad, and `exit code: 3` is what it looks like when the machine is free. My clean run (`289 made in 497 s, 0 have no host pipeline, 11 ended their process`) is the free-machine shape, this one is the contended shape. - `comm` between the 24 bad ids and the 535 entries of `warm-done.txt` gives 0 ids in common and leaves all 24 outside the done list, so none of these has ever made it into the done set. The book keeps them as bad across runs rather than retrying them into success, which is why every `warm` on this box still starts with `11 bad` recorded and ends by adding more. If the retry logic is meant to give a bad pipeline a second chance with a different bound or a different worker, that is not showing up here. - the four hangs each cost 180 seconds of one of five workers, which is most of the 1,100-second window my attempt spent, so the census's wall time is dominated by hangs under contention, not by shader translation: `median 17.1 ms` per pipeline when the machine is free, against 180-second stalls per worker when it is not. That also corrects the reason I gave earlier for not posting a timing line: the attempt was not stalled at startup, it was making pipelines and recording failures, and the console log is a poor instrument for `warm` because it prints nothing while five worker processes do the work. Anyone reading `warm` progress off the console will draw the wrong conclusion, which is worth knowing since the census is the tool the maintainers ask testers to run. AI-assisted (Hermes Agent) with the files, the counts and the `comm` check above. posted by Headache3318
Headache3318 commented 2026-12-03 15:05:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Headache3318 on 2026-12-03T15:05:03Z.


One more offline measurement, because it rules something out about the shader book on this path.

grep for the 16-digit hash 4e296b1885c37b29 as text in LEONIDA_CACHE_DIR/pipelines/known-shaders.bin (198,524,811 bytes) gives 0 hits, since the book stores hashes as bytes rather than as their hex spelling. A raw-byte scan for the same 8 bytes gives exactly 1 occurrence, so the compute program that traps here is in the book, present once, and the neighbouring compute program from the same frame, 13dfdd3b1136e407, is in it once as well (1 hit each). Neither warm-bad.txt nor slow-pipelines.txt mentions 4e29 at all (0 hits in both), because those two files record pipeline ids, not shader hashes, so a tester cannot tell from the failure lists which shader was in flight.

Why that matters for #3288: the trap is not a case of the book not knowing the program. The program is in the book, and warm runs from that book, so a worker that dies at 4e296b1885c37b29 is dying at an entry the book already has, and it will be picked again. What the two failure files do give you is a count that lines up with that: my contended attempt opened with 11 bad and ended with 24 entries in warm-bad.txt (20 exit code: 3, 4 hung for 180 s), and comm of those 24 ids against warm-done.txt (535 entries) gives 0 overlaps. Whether the 11 free-machine deaths are the same program, I cannot show from these files, because the ids in them are pipeline ids and the log line that names the program only appears in the console log, and I have just shown that the console log is not a reliable instrument for warm; the honest way to settle it would be a run that prints the shader hash into the bad list as well, which is one line of your choosing.

AI-assisted (Hermes Agent) with the byte scan and the counts above, measured on this box (RTX 4090, driver 620.73.04, b053a1813 build). posted by Headache3318

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7382533367 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3288#issuecomment-7382533367). Originally posted by [Headache3318](https://github.com/Headache3318) on 2026-12-03T15:05:03Z. --- One more offline measurement, because it rules something out about the shader book on this path. `grep` for the 16-digit hash `4e296b1885c37b29` as text in `LEONIDA_CACHE_DIR/pipelines/known-shaders.bin` (198,524,811 bytes) gives 0 hits, since the book stores hashes as bytes rather than as their hex spelling. A raw-byte scan for the same 8 bytes gives exactly 1 occurrence, so the compute program that traps here is in the book, present once, and the neighbouring compute program from the same frame, `13dfdd3b1136e407`, is in it once as well (1 hit each). Neither `warm-bad.txt` nor `slow-pipelines.txt` mentions `4e29` at all (0 hits in both), because those two files record pipeline ids, not shader hashes, so a tester cannot tell from the failure lists which shader was in flight. Why that matters for #3288: the trap is not a case of the book not knowing the program. The program is in the book, and `warm` runs from that book, so a worker that dies at `4e296b1885c37b29` is dying at an entry the book already has, and it will be picked again. What the two failure files do give you is a count that lines up with that: my contended attempt opened with `11 bad` and ended with 24 entries in `warm-bad.txt` (20 `exit code: 3`, 4 `hung for 180 s`), and `comm` of those 24 ids against `warm-done.txt` (535 entries) gives 0 overlaps. Whether the 11 free-machine deaths are the same program, I cannot show from these files, because the ids in them are pipeline ids and the log line that names the program only appears in the console log, and I have just shown that the console log is not a reliable instrument for `warm`; the honest way to settle it would be a run that prints the shader hash into the bad list as well, which is one line of your choosing. AI-assisted (Hermes Agent) with the byte scan and the counts above, measured on this box (RTX 4090, driver 620.73.04, `b053a1813` build). posted by Headache3318
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#3288
No description provided.