v0.8.2: two compute shaders fail to translate ("no wave32 lowering"), draws dropped #258

Open
opened 2026-12-01 04:04:40 +00:00 by myzsdtz-hub · 5 comments
myzsdtz-hub commented 2026-12-01 04:04:40 +00:00 (Migrated from github.com)
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by myzsdtz-hub on 2026-12-01T04:04:40Z.


foxhound version:
v0.8.2 (victory.exe SHA-256 D96E0F85B7F8E610FF97DCAAE0420C09B279A246DEA6A938DB961AD253CA3A2E)

GPU / CPU / RAM / Windows:
NVIDIA GeForce RTX 4070 12 GB / Intel Core i5-14600K / 16 GB DDR4-3200 (single channel) / Windows 11 10.0.26200

Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):
Series S profile, 1080p-class output (1080 to 1440), DLSS Performance, Frame Generation off, VRAM limit Auto

What happens, and when:
Two compute shaders do not translate and their pipelines' draws are dropped.

The first appears at startup, right after the shaders are translated. The second appears mid-session, at the moment new pipelines are first used during heavy streaming: the frame rate drops to about 3.6 fps while 46.3 MB of textures and 43.8 MB of buffer copies are sent up per frame. The pipeline is first bound 0.35 s before the translation error.

Both fail with the same converter error: no wave32 lowering for this wave64 program. It repeats within a session, so it is not a one-off. I cannot say what is missing on screen, because a dropped compute pass removes an effect rather than the whole picture.

Log (the newest file in %LOCALAPPDATA%\victory\logs, game folder replaced with ):

2026-12-01T02:07:34.321783Z WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported

2026-12-01T03:15:45.435804Z INFO victory_gpu::host: 3.6 fps, 279.6 ms/frame (54.7 preparing: copies 16.7 ms 43.8 MB, textures 17.5 ms 46.3 MB; 0.0 on the GPU; 9.7 copying back 1.2 MB), 6796 draws/frame, dropped 247 without a host pipeline (1 being made) ...

2026-12-01T03:15:50.189768Z INFO victory_gpu::pipeline: first bind pipeline=0x1dfaf780c00 frame=69337 stage="compute" size=15608 hash=18d957e62926ed3e

2026-12-01T03:15:50.538963Z WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=18d957e62926ed3e error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported

The full log is 69 MB and can be provided on request.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:issue:6712187844 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/258). Originally posted by [myzsdtz-hub](https://github.com/myzsdtz-hub) on 2026-12-01T04:04:40Z. --- **foxhound version:** v0.8.2 (victory.exe SHA-256 D96E0F85B7F8E610FF97DCAAE0420C09B279A246DEA6A938DB961AD253CA3A2E) **GPU / CPU / RAM / Windows:** NVIDIA GeForce RTX 4070 12 GB / Intel Core i5-14600K / 16 GB DDR4-3200 (single channel) / Windows 11 10.0.26200 **Launcher settings (resolution, DLSS, Frame Generation, VRAM limit):** Series S profile, 1080p-class output (1080 to 1440), DLSS Performance, Frame Generation off, VRAM limit Auto **What happens, and when:** Two compute shaders do not translate and their pipelines' draws are dropped. The first appears at startup, right after the shaders are translated. The second appears mid-session, at the moment new pipelines are first used during heavy streaming: the frame rate drops to about 3.6 fps while 46.3 MB of textures and 43.8 MB of buffer copies are sent up per frame. The pipeline is first bound 0.35 s before the translation error. Both fail with the same converter error: no wave32 lowering for this wave64 program. It repeats within a session, so it is not a one-off. I cannot say what is missing on screen, because a dropped compute pass removes an effect rather than the whole picture. **Log** (the newest file in %LOCALAPPDATA%\victory\logs, game folder replaced with <game>): 2026-12-01T02:07:34.321783Z WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported 2026-12-01T03:15:45.435804Z INFO victory_gpu::host: 3.6 fps, 279.6 ms/frame (54.7 preparing: copies 16.7 ms 43.8 MB, textures 17.5 ms 46.3 MB; 0.0 on the GPU; 9.7 copying back 1.2 MB), 6796 draws/frame, dropped 247 without a host pipeline (1 being made) ... 2026-12-01T03:15:50.189768Z INFO victory_gpu::pipeline: first bind pipeline=0x1dfaf780c00 frame=69337 stage="compute" size=15608 hash=18d957e62926ed3e 2026-12-01T03:15:50.538963Z WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=18d957e62926ed3e error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported The full log is 69 MB and can be provided on request.
futurepro62 commented 2026-12-01 05:18:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by futurepro62 on 2026-12-01T05:18:25Z.


Thanks for the log. From reading the code (I did not run foxhound itself):

  • 6b82bc7d22016cb5 is vfx_triangleClip:CS_CollectTriangles_Meshlets (groups of 1,024, its LDS fills the host's 32 KiB). It is the one named "still refused" in 10c5f8b, and the same hash as in #10/#103/#256.
  • 18d957e62926ed3e is GpuParticleEmit:CS_Emit_Dynamic_Model (names from an offline translate of the archive on a VIctory-NVIDIA build, same hash). 10c5f8b widened four sibling emitters by digest (ae0deeafe219c15c, 5e3dd99e0f067aee, 57f1b81de55c2842, 407eca669212d400); this one is not in the scene_kernel list, which would explain the mid-session drop. Adding its digest (from VICTORY_WAVE_WHY) is likely the smallest fix, untested.
  • In foxhound the error comes from the supported check at the end of emit (crates/victory-shader/src/emit/mod.rs ~829), after every wave64 form has failed.

Fixes elsewhere: trustno1-coder/VIctory-NVIDIA folds wave64 programs onto 32-lane waves (8f0a0c2, PR #1504 by @aventureroestelar-source), including the case of a group whose own LDS is the full 32 KiB. I checked offline that folding fixes CS_CollectTriangles_Meshlets on fork main (829188e9). On my VIctory-NVIDIA build with the paired-lane fallback below (PR #348 plus a local fix), both programs translate and validate in an offline translate --validate. I did not check 18d957e62926ed3e on fork main with folding. An earlier paired-lane approach (PR #348, @grosterr, with work by @ByFxbian and @fxceless) also fixed 6b82bc7d22016cb5 and was closed in favour of folding. Follow-ups worth taking with it: a91133e (@qlfu), 05d1c56 (@trustno1-coder), and PR #3896 (@nyxctura, the light-atlas programs are slow when folded).

I applied 8f0a0c2 to foxhound main 297f58a locally: 58 of 66 hunks apply, the other 8 are small (about 33 lines), and victory-shader builds after fixing them by hand. cargo test -p victory-shader gives 307 passed and 1 failed. The failure is a folded 2-D group test, which needs a wave-counter piece foxhound lacks (fork #1243). The 1-D 32 KiB LDS test that matches CS_CollectTriangles_Meshlets passes. I have not translated the archive with it or run it in game. On the fork, folding changes about 266 compute programs. Running it only as the last form would leave every program that translates today unchanged.

Checked: code reading, offline translation logs, and the port's cargo test on an RTX 5070 Ti PC. Not checked: foxhound v0.8.2 in game, or your card.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7301632396 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/258#issuecomment-7301632396). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-12-01T05:18:25Z. --- Thanks for the log. From reading the code (I did not run foxhound itself): - `6b82bc7d22016cb5` is `vfx_triangleClip:CS_CollectTriangles_Meshlets` (groups of 1,024, its LDS fills the host's 32 KiB). It is the one named "still refused" in `10c5f8b`, and the same hash as in #10/#103/#256. - `18d957e62926ed3e` is `GpuParticleEmit:CS_Emit_Dynamic_Model` (names from an offline `translate` of the archive on a VIctory-NVIDIA build, same hash). `10c5f8b` widened four sibling emitters by digest (`ae0deeafe219c15c`, `5e3dd99e0f067aee`, `57f1b81de55c2842`, `407eca669212d400`); this one is not in the `scene_kernel` list, which would explain the mid-session drop. Adding its digest (from `VICTORY_WAVE_WHY`) is likely the smallest fix, untested. - In foxhound the error comes from the `supported` check at the end of `emit` (`crates/victory-shader/src/emit/mod.rs` ~829), after every wave64 form has failed. Fixes elsewhere: trustno1-coder/VIctory-NVIDIA folds wave64 programs onto 32-lane waves (`8f0a0c2`, PR #1504 by @aventureroestelar-source), including the case of a group whose own LDS is the full 32 KiB. I checked offline that folding fixes `CS_CollectTriangles_Meshlets` on fork main (`829188e9`). On my VIctory-NVIDIA build with the paired-lane fallback below (PR #348 plus a local fix), both programs translate and validate in an offline `translate --validate`. I did not check `18d957e62926ed3e` on fork main with folding. An earlier paired-lane approach (PR #348, @grosterr, with work by @ByFxbian and @fxceless) also fixed `6b82bc7d22016cb5` and was closed in favour of folding. Follow-ups worth taking with it: `a91133e` (@qlfu), `05d1c56` (@trustno1-coder), and PR #3896 (@nyxctura, the light-atlas programs are slow when folded). I applied `8f0a0c2` to foxhound main `297f58a` locally: 58 of 66 hunks apply, the other 8 are small (about 33 lines), and `victory-shader` builds after fixing them by hand. `cargo test -p victory-shader` gives 307 passed and 1 failed. The failure is a folded 2-D group test, which needs a wave-counter piece foxhound lacks (fork #1243). The 1-D 32 KiB LDS test that matches `CS_CollectTriangles_Meshlets` passes. I have not translated the archive with it or run it in game. On the fork, folding changes about 266 compute programs. Running it only as the last form would leave every program that translates today unchanged. Checked: code reading, offline translation logs, and the port's `cargo test` on an RTX 5070 Ti PC. Not checked: foxhound v0.8.2 in game, or your card.
futurepro62 commented 2026-12-01 06:07:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by futurepro62 on 2026-12-01T06:07:17Z.


Follow-up: I tried adding 18d957e62926ed3e (GpuParticleEmit:CS_Emit_Dynamic_Model) to the same digest list in crates/victory-shader/src/emit/mod.rs that 10c5f8b extended. Its DXBC digest is 19db0c89 92e7d723 cd740956 bc3bbc8c.

Offline translate on an RTX 5070 Ti PC, not run in game (VICTORY_HOST_WAVE=32, VICTORY_VIEW_LIMIT=1000000, empty cache, translate --validate --list, main 297f58a vs. the patch):

  • 18d957e62926ed3e: refused ("no wave32 lowering") -> emitted + validated
  • ae0deeafe219c15c, 5e3dd99e0f067aee, 57f1b81de55c2842, 407eca669212d400: unchanged (same emitted DXIL)
  • compute 2660 -> 2661 emitted/validated; "no wave32 lowering" 17 -> 16; nothing else changed
  • cargo test -p victory-shader: 291 passed, 4 ignored

The change, if you want it as-is (happy to open a PR instead):

                     | [0x37, 0x0e, 0x87, 0xce, 0x06, 0x2b, 0x9a, 0x4d, 0xed, 0x2a, 0xa7, 0x90, 0xf9, 0xea, 0x6b, 0xfd]
+                    // Their unskinned sibling CS_Emit_Dynamic_Model (18d957e62926ed3e, groups of
+                    // 64), refused the same way (#258).
+                    | [0x19, 0xdb, 0x0c, 0x89, 0x92, 0xe7, 0xd7, 0x23, 0xcd, 0x74, 0x09, 0x56, 0xbc, 0x3b, 0xbc, 0x8c]
             )

Still refused on wave32: CS_Emit_Dynamic_Model_Edge (9fe711566bec0d0a) and CS_EmitCounts_Dynamic_Edge (a40ae27594631121), not tried.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7302503341 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/258#issuecomment-7302503341). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-12-01T06:07:17Z. --- Follow-up: I tried adding 18d957e62926ed3e (GpuParticleEmit:CS_Emit_Dynamic_Model) to the same digest list in `crates/victory-shader/src/emit/mod.rs` that 10c5f8b extended. Its DXBC digest is `19db0c89 92e7d723 cd740956 bc3bbc8c`. Offline translate on an RTX 5070 Ti PC, not run in game (`VICTORY_HOST_WAVE=32`, `VICTORY_VIEW_LIMIT=1000000`, empty cache, `translate --validate --list`, main 297f58a vs. the patch): - 18d957e62926ed3e: refused ("no wave32 lowering") -> emitted + validated - ae0deeafe219c15c, 5e3dd99e0f067aee, 57f1b81de55c2842, 407eca669212d400: unchanged (same emitted DXIL) - compute 2660 -> 2661 emitted/validated; "no wave32 lowering" 17 -> 16; nothing else changed - `cargo test -p victory-shader`: 291 passed, 4 ignored The change, if you want it as-is (happy to open a PR instead): ```diff | [0x37, 0x0e, 0x87, 0xce, 0x06, 0x2b, 0x9a, 0x4d, 0xed, 0x2a, 0xa7, 0x90, 0xf9, 0xea, 0x6b, 0xfd] + // Their unskinned sibling CS_Emit_Dynamic_Model (18d957e62926ed3e, groups of + // 64), refused the same way (#258). + | [0x19, 0xdb, 0x0c, 0x89, 0x92, 0xe7, 0xd7, 0x23, 0xcd, 0x74, 0x09, 0x56, 0xbc, 0x3b, 0xbc, 0x8c] ) ``` Still refused on wave32: CS_Emit_Dynamic_Model_Edge (9fe711566bec0d0a) and CS_EmitCounts_Dynamic_Edge (a40ae27594631121), not tried.
myzsdtz-hub commented 2026-12-01 15:52:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by myzsdtz-hub on 2026-12-01T15:52:33Z.


Thank you so much for the detailed analysis and for actually writing and validating the patch — that's well beyond what I expected. I really appreciate you taking the time to identify both shaders and to track down that 18d957e62926ed3e was the one missing from the list.

Please go ahead and open a PR for the 18d957e62926ed3e (CS_Emit_Dynamic_Model) digest fix whenever you have a moment.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7316656286 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/258#issuecomment-7316656286). Originally posted by [myzsdtz-hub](https://github.com/myzsdtz-hub) on 2026-12-01T15:52:33Z. --- Thank you so much for the detailed analysis and for actually writing and validating the patch — that's well beyond what I expected. I really appreciate you taking the time to identify both shaders and to track down that `18d957e62926ed3e` was the one missing from the list. Please go ahead and open a PR for the `18d957e62926ed3e` (CS_Emit_Dynamic_Model) digest fix whenever you have a moment.
Benitoow commented 2026-12-01 21:47:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by Benitoow on 2026-12-01T21:47:44Z.


Same first shader on a different card, in case it helps show it is not tied to one GPU: RTX 5070 Ti 16 GB, foxhound v0.8.2, Windows 11 10.0.26300.

Seen at startup, 7 seconds after launch:

WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported

Also in the same run: a dispatch without a host pipeline dropped (once, minute 2) and 29 a pipeline creation method that is not implemented: the title goes without this pipeline. The 18d957e62926ed3e shader from this issue did not appear in this run. Settings: Series X, DLSS Balanced, FG 3x, VRAM limit Auto.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7326792542 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/258#issuecomment-7326792542). Originally posted by [Benitoow](https://github.com/Benitoow) on 2026-12-01T21:47:44Z. --- Same first shader on a different card, in case it helps show it is not tied to one GPU: RTX 5070 Ti 16 GB, foxhound v0.8.2, Windows 11 10.0.26300. Seen at startup, 7 seconds after launch: ``` WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported ``` Also in the same run: `a dispatch without a host pipeline dropped` (once, minute 2) and 29 `a pipeline creation method that is not implemented: the title goes without this pipeline`. The `18d957e62926ed3e` shader from this issue did not appear in this run. Settings: Series X, DLSS Balanced, FG 3x, VRAM limit Auto.
myzsdtz-hub commented 2026-12-04 04:25:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from readmet3xt-lab/foxhound. Originally posted by myzsdtz-hub on 2026-12-04T04:25:20Z.


Update after loading the 0.8.3.5 title profile (official build 0.8.3, commit 0145c0d):

18d957e62926ed3e — resolved by the profile, no code change needed:
a wave64 program the title profile lists as refused on 32-lane cards translated in the wave-wide form (VICTORY_WAVE_WIDE_REFUSED=0 refuses it) n=1 program="18d957e62926ed3e" ms=608.1
It then appears as a normal host pipeline and never shows a failure again for the rest of the session.

6b82bc7d22016cb5 — still failing with the profile:
shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=no wave32 lowering for this wave64 program is not supported
It is reported 20 times, first at 02:50:46 (36 s after start) and last at 04:12:56, with "dropped 0.4–1.0/frame: does not translate: compute 6b82bc7d22016cb5" in between. So the digest / folding fix for this one is still needed.

Session: 84 minutes, 0 crashes, 0 shadow-map errors, 0 other translation failures; the only remaining shader failure is 6b82bc7d22016cb5.

<!-- greyfinch-sync:readmet3xt-lab/foxhound:comment:7401205139 --> Imported from [readmet3xt-lab/foxhound](https://github.com/readmet3xt-lab/foxhound/issues/258#issuecomment-7401205139). Originally posted by [myzsdtz-hub](https://github.com/myzsdtz-hub) on 2026-12-04T04:25:20Z. --- Update after loading the 0.8.3.5 title profile (official build 0.8.3, commit 0145c0d): 18d957e62926ed3e — resolved by the profile, no code change needed: a wave64 program the title profile lists as refused on 32-lane cards translated in the wave-wide form (VICTORY_WAVE_WIDE_REFUSED=0 refuses it) n=1 program="18d957e62926ed3e" ms=608.1 It then appears as a normal host pipeline and never shows a failure again for the rest of the session. 6b82bc7d22016cb5 — still failing with the profile: shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=no wave32 lowering for this wave64 program is not supported It is reported 20 times, first at 02:50:46 (36 s after start) and last at 04:12:56, with "dropped 0.4–1.0/frame: does not translate: compute 6b82bc7d22016cb5" in between. So the digest / folding fix for this one is still needed. Session: 84 minutes, 0 crashes, 0 shadow-map errors, 0 other translation failures; the only remaining shader failure is 6b82bc7d22016cb5.
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
readmet3xt-lab/foxhound#258
No description provided.