v0.8.2: two compute shaders fail to translate ("no wave32 lowering"), draws dropped #258
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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):
6b82bc7d22016cb5isvfx_triangleClip:CS_CollectTriangles_Meshlets(groups of 1,024, its LDS fills the host's 32 KiB). It is the one named "still refused" in10c5f8b, and the same hash as in #10/#103/#256.18d957e62926ed3eisGpuParticleEmit:CS_Emit_Dynamic_Model(names from an offlinetranslateof the archive on a VIctory-NVIDIA build, same hash).10c5f8bwidened four sibling emitters by digest (ae0deeafe219c15c,5e3dd99e0f067aee,57f1b81de55c2842,407eca669212d400); this one is not in thescene_kernellist, which would explain the mid-session drop. Adding its digest (fromVICTORY_WAVE_WHY) is likely the smallest fix, untested.supportedcheck at the end ofemit(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 fixesCS_CollectTriangles_Meshletson 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 offlinetranslate --validate. I did not check18d957e62926ed3eon fork main with folding. An earlier paired-lane approach (PR #348, @grosterr, with work by @ByFxbian and @fxceless) also fixed6b82bc7d22016cb5and 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
8f0a0c2to foxhound main297f58alocally: 58 of 66 hunks apply, the other 8 are small (about 33 lines), andvictory-shaderbuilds after fixing them by hand.cargo test -p victory-shadergives 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 matchesCS_CollectTriangles_Meshletspasses. 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 teston an RTX 5070 Ti PC. Not checked: foxhound v0.8.2 in game, or your card.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.rsthat10c5f8bextended. Its DXBC digest is19db0c89 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, main297f58avs. the patch):cargo test -p victory-shader: 291 passed, 4 ignoredThe change, if you want it as-is (happy to open a PR instead):
Still refused on wave32: CS_Emit_Dynamic_Model_Edge (9fe711566bec0d0a) and CS_EmitCounts_Dynamic_Edge (a40ae27594631121), not tried.
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
18d957e62926ed3ewas 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.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:
Also in the same run:
a dispatch without a host pipeline dropped(once, minute 2) and 29a pipeline creation method that is not implemented: the title goes without this pipeline. The18d957e62926ed3eshader from this issue did not appear in this run. Settings: Series X, DLSS Balanced, FG 3x, VRAM limit Auto.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.