#43 (static Wave32 LDS alias): 8 compute shaders no longer translate on 32-lane hosts ("no wave32 lowering for this wave64 program") #1435

Closed
opened 2026-11-28 19:51:21 +00:00 by AiToR51 · 16 comments
AiToR51 commented 2026-11-28 19:51:21 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by AiToR51 on 2026-11-28T19:51:21Z.


Since #43 was merged (1789b869), 8 compute shaders that translated before now fail on a 32-lane host, and their dispatches are dropped. In game this shows as missing shading on some faces and small details.

Host: RTX 3080 10 GB (32 lanes), driver 621.40, Windows 10 22H2 (19045), Agility SDK 1.620. Release build, main at 32ecacfa, Series X profile.

Log line (one of ten):

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

Hashes that fail on 32ecacfa (10):

0e366d15868e17bd 1f1fbd86759b3da2 21f7ad7863620328 55679a0547649d0b 5964b734c70b91eb
6871d6e4b3ac9a10 6b82bc7d22016cb5 7c9a6a83826cdfac 89d08e561897d4e5 caf96a3229145fa6

6871d6e4b3ac9a10 and 6b82bc7d22016cb5 already failed before #43. The other 8 are new.

Reproduce without running the game. Put the hashes in a file, use an empty cache so nothing is served from an earlier build, then run:

VICTORY_CACHE_DIR=<empty folder> VICTORY_HOST_WAVE=32 victory translate <game>/shaders.rpf --warm hashes.txt
Build Result
c4e4fcfe (merge before #43) 8 translated, 2 do not translate
1789b869 (merge of #43) 0 translated, 10 do not translate
32ecacfa (main) 0 translated, 10 do not translate
32ecacfa with #43 reverted (git revert -m 1 1789b869) 8 translated, 2 do not translate

git bisect --first-parent between 9ce3cf9e and 32ecacfa points at 1789b869. VICTORY_LDS_INIT_HOIST=0 and VICTORY_SHADER_OPT=0 do not change the result on 32ecacfa.

My guess is that these 8 programs were taken wave-wide or lowered before #43, and the new lds::analyze now refuses them (a Refusal). The program is then left at 64 lanes, which a 32-lane host cannot run. If the refusal is meant to be conservative, falling back to the previous lowering for these programs would keep them drawing. Running VICTORY_WAVE_WHY=1 on one of the hashes should show which refusal it is.

For now I'm running with #43 reverted locally.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6670405000 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435). Originally posted by [AiToR51](https://github.com/AiToR51) on 2026-11-28T19:51:21Z. --- Since #43 was merged (1789b869), 8 compute shaders that translated before now fail on a 32-lane host, and their dispatches are dropped. In game this shows as missing shading on some faces and small details. **Host:** RTX 3080 10 GB (32 lanes), driver 621.40, Windows 10 22H2 (19045), Agility SDK 1.620. Release build, `main` at 32ecacfa, Series X profile. **Log line (one of ten):** ``` WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=caf96a3229145fa6 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported ``` **Hashes that fail on 32ecacfa (10):** ``` 0e366d15868e17bd 1f1fbd86759b3da2 21f7ad7863620328 55679a0547649d0b 5964b734c70b91eb 6871d6e4b3ac9a10 6b82bc7d22016cb5 7c9a6a83826cdfac 89d08e561897d4e5 caf96a3229145fa6 ``` `6871d6e4b3ac9a10` and `6b82bc7d22016cb5` already failed before #43. The other 8 are new. **Reproduce without running the game.** Put the hashes in a file, use an empty cache so nothing is served from an earlier build, then run: ``` VICTORY_CACHE_DIR=<empty folder> VICTORY_HOST_WAVE=32 victory translate <game>/shaders.rpf --warm hashes.txt ``` | Build | Result | |---|---| | c4e4fcfe (merge before #43) | 8 translated, 2 do not translate | | 1789b869 (merge of #43) | 0 translated, 10 do not translate | | 32ecacfa (`main`) | 0 translated, 10 do not translate | | 32ecacfa with #43 reverted (`git revert -m 1 1789b869`) | 8 translated, 2 do not translate | `git bisect --first-parent` between 9ce3cf9e and 32ecacfa points at 1789b869. `VICTORY_LDS_INIT_HOIST=0` and `VICTORY_SHADER_OPT=0` do not change the result on 32ecacfa. My guess is that these 8 programs were taken wave-wide or lowered before #43, and the new `lds::analyze` now refuses them (a `Refusal`). The program is then left at 64 lanes, which a 32-lane host cannot run. If the refusal is meant to be conservative, falling back to the previous lowering for these programs would keep them drawing. Running `VICTORY_WAVE_WHY=1` on one of the hashes should show which refusal it is. For now I'm running with #43 reverted locally.
kibagami-nc commented 2026-11-28 21:18:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T21:18:59Z.


Thanks for the bisect, that pins it. Reading #43 against the code before it, here is what changed for these programs, and one switch to try first.

What #43 changed. Before it, lds_meetings refused a lane-branch region (one not every lane runs) only when it both read and wrote LDS. A region that only wrote, or only did atomics, was taken as it was:

shortcut: two writes in one region are taken not to hit the same dword from both halves.

lds::analyze now wants a proof for those regions: disjoint constant ranges, or lane-private slots. Without one, it refuses with one of these:

  • unproven LDS writes in one lane-branch region;
  • overlapping LDS writes in one lane-branch region;
  • a shared LDS write in a lane-branch loop;
  • an atomic-only refusal.

Two more refusals are new in this check: an unhandled LDS instruction in a lane-branch region (before, any DS instruction that wasn't a read counted as a write) and a barrier in a lane-branch region (lds_meetings didn't look at barriers).

The old shortcut is still there, but opt-in: VICTORY_LDS_WRITE_ONLY_OK=1. It covers the write-only and atomic-only cases, not the last two.

Two runs would tell which it is, with your setup (empty cache, VICTORY_HOST_WAVE=32, the same hashes.txt):

  1. With VICTORY_LDS_WRITE_ONLY_OK=1: if the 8 translate again, it's the shortcut.
  2. With VICTORY_WAVE_WHY=1, for one or two of the 8 hashes: the WAVE64-WHY lines name the refusal for each program.

If (1) brings them back, I'd propose a last-resort fallback instead of switching the shortcut back on everywhere:

  • a program that would otherwise be dropped (still 64 lanes on a 32-lane host) is translated once more with the shortcut;
  • #43's proofs stay first for every program that translates without it;
  • VICTORY_LDS_WRITE_ONLY_OK=0 would keep the strict behaviour.

That gives back what drew before #43, at the old shortcut's risk, only where the alternative is a dropped dispatch.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7245929046 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7245929046). Originally posted by [kibagami-nc](https://github.com/kibagami-nc) on 2026-11-28T21:18:59Z. --- Thanks for the bisect, that pins it. Reading #43 against the code before it, here is what changed for these programs, and one switch to try first. **What #43 changed.** Before it, `lds_meetings` refused a lane-branch region (one not every lane runs) only when it both read and wrote LDS. A region that only wrote, or only did atomics, was taken as it was: > shortcut: two writes in one region are taken not to hit the same dword from both halves. `lds::analyze` now wants a proof for those regions: disjoint constant ranges, or lane-private slots. Without one, it refuses with one of these: - `unproven LDS writes in one lane-branch region`; - `overlapping LDS writes in one lane-branch region`; - `a shared LDS write in a lane-branch loop`; - an atomic-only refusal. Two more refusals are new in this check: `an unhandled LDS instruction in a lane-branch region` (before, any DS instruction that wasn't a read counted as a write) and `a barrier in a lane-branch region` (`lds_meetings` didn't look at barriers). The old shortcut is still there, but opt-in: `VICTORY_LDS_WRITE_ONLY_OK=1`. It covers the write-only and atomic-only cases, not the last two. **Two runs would tell which it is**, with your setup (empty cache, `VICTORY_HOST_WAVE=32`, the same `hashes.txt`): 1. With `VICTORY_LDS_WRITE_ONLY_OK=1`: if the 8 translate again, it's the shortcut. 2. With `VICTORY_WAVE_WHY=1`, for one or two of the 8 hashes: the `WAVE64-WHY` lines name the refusal for each program. **If (1) brings them back**, I'd propose a last-resort fallback instead of switching the shortcut back on everywhere: - a program that would otherwise be dropped (still 64 lanes on a 32-lane host) is translated once more with the shortcut; - #43's proofs stay first for every program that translates without it; - `VICTORY_LDS_WRITE_ONLY_OK=0` would keep the strict behaviour. That gives back what drew before #43, at the old shortcut's risk, only where the alternative is a dropped dispatch.
kibagami-nc commented 2026-11-28 21:59:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T21:59:30Z.


Confirmation came from another side: #1575 measured, on a 32-lane host, that the write-only shortcut brings back 19 wave64 programs #43 made refused, the tree culling passes among them (your 55679a05…, 89d08e56…, 7c9a6a83… and 21f7ad78…).

Three PRs now take them back, in different ways:

  • #1590 (mine): the shortcut as a last try, only for a program that would otherwise be dropped. Everything that translates without it is left as it is.
  • #1575 (commit 1): the shortcut on by default again.
  • #1504: exact wave64 forms, in a much larger change.

#1450 does #1590's retry for a list of known kernels.

If you run your check on #1590's branch (fix/lds-write-only-last-resort on kibagami-nc's fork, or git fetch https://github.com/trustno1-coder/VIctory-NVIDIA pull/1590/head), the eight should translate. With VICTORY_WAVE_WHY=1, each one prints LDS-WRITE-ONLY last resort. 6871d6e4… and 6b82bc7d…, which failed before #43 too, may stay refused: they don't depend on the shortcut.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7246418059 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7246418059). Originally posted by [kibagami-nc](https://github.com/kibagami-nc) on 2026-11-28T21:59:30Z. --- Confirmation came from another side: #1575 measured, on a 32-lane host, that the write-only shortcut brings back 19 wave64 programs #43 made refused, the tree culling passes among them (your `55679a05…`, `89d08e56…`, `7c9a6a83…` and `21f7ad78…`). Three PRs now take them back, in different ways: - #1590 (mine): the shortcut as a last try, only for a program that would otherwise be dropped. Everything that translates without it is left as it is. - #1575 (commit 1): the shortcut on by default again. - #1504: exact wave64 forms, in a much larger change. #1450 does #1590's retry for a list of known kernels. If you run your check on #1590's branch (`fix/lds-write-only-last-resort` on kibagami-nc's fork, or `git fetch https://github.com/trustno1-coder/VIctory-NVIDIA pull/1590/head`), the eight should translate. With `VICTORY_WAVE_WHY=1`, each one prints `LDS-WRITE-ONLY last resort`. `6871d6e4…` and `6b82bc7d…`, which failed before #43 too, may stay refused: they don't depend on the shortcut.
oz-stanislav-zhukov commented 2026-11-28 22:55:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by oz-stanislav-zhukov on 2026-11-28T22:55:33Z.


A data point from a fork that does not have #43 and has #348 merged (bd888b09, the PR branch as of 2026-11-28). On this tree, a program that no wave32 form takes is tried once more in #348's paired Wave64 form before it is dropped. That fallback is on unless VICTORY_WAVE_PAIRS=0.

Your 10 hashes plus a10179ab7eda0dc3 from #1374, empty cache, VICTORY_HOST_WAVE=32, victory translate --list with VICTORY_TRANSLATE_ONLY set to the 11 hashes:

programs     11 translated of 11
DXIL         11 emitted of 11 compute programs

That includes the two that already failed before #43:

  • 6871d6e4b3ac9a10 (water_shading CS_TransmissionVolumetrics);
  • 6b82bc7d22016cb5 (vfx_triangleClip CS_CollectTriangles_Meshlets).

It also includes a10179ab7eda0dc3 (CS_TransmissionVolumetrics_VolumePortalsOnly). Those three are the programs #348 was written for, so whichever way #1590 / #1575 / #1504 lands, #348 covers what is left.

Over the whole archive, compute on this tree is 2677 emitted of 2682. The remaining 5 are shadowmask CS_TraceShadowRays, which fail with "a descriptor read only as data" (ray tracing only), not with the wave64 error.

Limits:

  • emitted only: not validated against a device here (Windows 10, SM 6.5 for the test exe);
  • I have not compared these passes in game against a build where they are dropped.

Host: RTX 5060 Ti 16 GB, Windows 10 22H2.

AI-assisted (Claude Code, Claude Opus 5.5); no game data.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247077394 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247077394). Originally posted by [oz-stanislav-zhukov](https://github.com/oz-stanislav-zhukov) on 2026-11-28T22:55:33Z. --- A data point from a fork that does not have #43 and has #348 merged (bd888b09, the PR branch as of 2026-11-28). On this tree, a program that no wave32 form takes is tried once more in #348's paired Wave64 form before it is dropped. That fallback is on unless `VICTORY_WAVE_PAIRS=0`. Your 10 hashes plus `a10179ab7eda0dc3` from #1374, empty cache, `VICTORY_HOST_WAVE=32`, `victory translate --list` with `VICTORY_TRANSLATE_ONLY` set to the 11 hashes: ``` programs 11 translated of 11 DXIL 11 emitted of 11 compute programs ``` That includes the two that already failed before #43: - `6871d6e4b3ac9a10` (water_shading CS_TransmissionVolumetrics); - `6b82bc7d22016cb5` (vfx_triangleClip CS_CollectTriangles_Meshlets). It also includes `a10179ab7eda0dc3` (CS_TransmissionVolumetrics_VolumePortalsOnly). Those three are the programs #348 was written for, so whichever way #1590 / #1575 / #1504 lands, #348 covers what is left. Over the whole archive, compute on this tree is 2677 emitted of 2682. The remaining 5 are shadowmask `CS_TraceShadowRays`, which fail with "a descriptor read only as data" (ray tracing only), not with the wave64 error. Limits: - emitted only: not validated against a device here (Windows 10, SM 6.5 for the test exe); - I have not compared these passes in game against a build where they are dropped. Host: RTX 5060 Ti 16 GB, Windows 10 22H2. AI-assisted (Claude Code, Claude Opus 5.5); no game data.
icdmkg2 commented 2026-11-28 22:56:30 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by icdmkg2 on 2026-11-28T22:56:30Z.


Confirmed on an RTX 5060 Laptop GPU (8 GB, driver 621.24) with a Ryzen 7 H 260, Windows 11, release build, Series S, DLSS performance, the same save, driven by a script:

  • main at 923e38c: 9.3 fps median (worst 5 s window 3.9). The submitting thread spent 86 ms per frame preparing, against about 42 ms before. The log shows shader does not translate ... no wave32 lowering for this wave64 program for 55679a0547649d0b and 1f1fbd86759b3da2, among others.
  • The same commit with #43 reverted (git revert -m 1 1789b869, two test-only conflicts resolved): 18.5 fps median, with the submitting thread back to about 42 ms per frame.

It has kept running at 18–20 fps since, over 30 runs, with #43 reverted locally.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247087862 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247087862). Originally posted by [icdmkg2](https://github.com/icdmkg2) on 2026-11-28T22:56:30Z. --- Confirmed on an RTX 5060 Laptop GPU (8 GB, driver 621.24) with a Ryzen 7 H 260, Windows 11, release build, Series S, DLSS performance, the same save, driven by a script: - `main` at 923e38c: **9.3 fps median** (worst 5 s window 3.9). The submitting thread spent 86 ms per frame preparing, against about 42 ms before. The log shows `shader does not translate ... no wave32 lowering for this wave64 program` for `55679a0547649d0b` and `1f1fbd86759b3da2`, among others. - The same commit with #43 reverted (`git revert -m 1 1789b869`, two test-only conflicts resolved): **18.5 fps median**, with the submitting thread back to about 42 ms per frame. It has kept running at 18–20 fps since, over 30 runs, with #43 reverted locally.
AiToR51 commented 2026-11-28 22:57:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by AiToR51 on 2026-11-28T22:57:25Z.


Ran both checks. Same host as before (RTX 3080, 32 lanes, driver 621.40, Windows 10 19045, Agility SDK 1.620), empty cache for every run, VICTORY_HOST_WAVE=32, the same 10 hashes.

Build Switches Result
main d4b5d517 none 1 translated, 9 do not translate
main d4b5d517 VICTORY_LDS_WRITE_ONLY_OK=1 8 translated, 2 do not translate
#1590 8e0e3536 none 8 translated, 2 do not translate
#1590 8e0e3536 VICTORY_LDS_WRITE_ONLY_OK=0 1 translated, 9 do not translate

So it is the write-only shortcut, and #1590 brings the eight back.

Hash by hash on #1590 with VICTORY_WAVE_WHY=1:

  • 0e366d15…, 1f1fbd86…, 21f7ad78…, 55679a05…, 5964b734…, 7c9a6a83…, 89d08e56… translate and print LDS-WRITE-ONLY last resort.
  • caf96a32… already translates on main without the shortcut (something merged since 32ecacfa took it), so it doesn't need the last try.
  • 6871d6e4… and 6b82bc7d… stay refused, as you expected.

On main, the WAVE64-WHY reasons for these programs are mostly unproven LDS writes in one lane-branch region, a shared LDS write in a lane-branch loop and an LDS atomic with no plain LDS read in one lane-branch region.

I haven't run #1590 in the game yet. I'm still on 32ecacfa with #43 reverted, which gives the same 8/2 result offline.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247098387 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247098387). Originally posted by [AiToR51](https://github.com/AiToR51) on 2026-11-28T22:57:25Z. --- Ran both checks. Same host as before (RTX 3080, 32 lanes, driver 621.40, Windows 10 19045, Agility SDK 1.620), empty cache for every run, `VICTORY_HOST_WAVE=32`, the same 10 hashes. | Build | Switches | Result | |---|---|---| | `main` d4b5d517 | none | 1 translated, 9 do not translate | | `main` d4b5d517 | `VICTORY_LDS_WRITE_ONLY_OK=1` | 8 translated, 2 do not translate | | #1590 8e0e3536 | none | 8 translated, 2 do not translate | | #1590 8e0e3536 | `VICTORY_LDS_WRITE_ONLY_OK=0` | 1 translated, 9 do not translate | So it is the write-only shortcut, and #1590 brings the eight back. Hash by hash on #1590 with `VICTORY_WAVE_WHY=1`: - `0e366d15…`, `1f1fbd86…`, `21f7ad78…`, `55679a05…`, `5964b734…`, `7c9a6a83…`, `89d08e56…` translate and print `LDS-WRITE-ONLY last resort`. - `caf96a32…` already translates on `main` without the shortcut (something merged since 32ecacfa took it), so it doesn't need the last try. - `6871d6e4…` and `6b82bc7d…` stay refused, as you expected. On `main`, the `WAVE64-WHY` reasons for these programs are mostly `unproven LDS writes in one lane-branch region`, `a shared LDS write in a lane-branch loop` and `an LDS atomic with no plain LDS read in one lane-branch region`. I haven't run #1590 in the game yet. I'm still on 32ecacfa with #43 reverted, which gives the same 8/2 result offline.
kibagami-nc commented 2026-11-28 23:00:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T23:00:21Z.


@AiToR51, thank you, that settles it: the eight are the write-only shortcut, and #1590 brings them back by default (=0 restores the strict result). It's in #1590's description, with unueberlegt's run on the title's own files: the programs #1590 emits are bit for bit the plain shortcut's.

@icdmkg2, your numbers show what the dropped programs cost: 9.3 fps on main against 18.5 with #43 reverted, with the submitting thread at 86 ms a frame against about 42. #1590 gives the same programs as that revert, so the same gain should follow. If you can, a run on #1590 with your script would confirm it in game.

@oz-stanislav-zhukov, good to know #348 covers the remaining two (6871d6e4…, 6b82bc7d…) whichever of these lands.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247132220 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247132220). Originally posted by [kibagami-nc](https://github.com/kibagami-nc) on 2026-11-28T23:00:21Z. --- @AiToR51, thank you, that settles it: the eight are the write-only shortcut, and #1590 brings them back by default (`=0` restores the strict result). It's in #1590's description, with unueberlegt's run on the title's own files: the programs #1590 emits are bit for bit the plain shortcut's. @icdmkg2, your numbers show what the dropped programs cost: 9.3 fps on main against 18.5 with #43 reverted, with the submitting thread at 86 ms a frame against about 42. #1590 gives the same programs as that revert, so the same gain should follow. If you can, a run on #1590 with your script would confirm it in game. @oz-stanislav-zhukov, good to know #348 covers the remaining two (`6871d6e4…`, `6b82bc7d…`) whichever of these lands.
icdmkg2 commented 2026-11-28 23:20:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by icdmkg2 on 2026-11-28T23:20:49Z.


Ran it in game, as asked. Same laptop (RTX 5060 Laptop 8 GB, Ryzen 7 H 260, Windows 11), release builds, Series S, DLSS performance, the same save, driven by the script. Both builds are on the same base d4b5d51 and differ only in the fix. Each value is the median over 60 s of play after a 30 s settle, and the runs alternated:

Build fps median (run 1 / run 2) submitting thread, ms per frame "shader does not translate" lines
#1590 (8e0e353) 16.9 / 16.0 45 / 54 0
d4b5d51 + #43 reverted 14.1 / 17.9 52 / 48 0
(earlier: main 923e38c, no fix) 9.3 86 several

So #1590 recovers the same as the revert in game. The two are within each other's run-to-run noise (about ±1.5 fps here; this machine had been under load for hours, which is why both sit below the 18.5 I posted earlier), and neither logged a program that doesn't translate. 👍 from here for #1590.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247368711 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247368711). Originally posted by [icdmkg2](https://github.com/icdmkg2) on 2026-11-28T23:20:49Z. --- Ran it in game, as asked. Same laptop (RTX 5060 Laptop 8 GB, Ryzen 7 H 260, Windows 11), release builds, Series S, DLSS performance, the same save, driven by the script. Both builds are on the same base `d4b5d51` and differ only in the fix. Each value is the median over 60 s of play after a 30 s settle, and the runs alternated: | Build | fps median (run 1 / run 2) | submitting thread, ms per frame | "shader does not translate" lines | |---|---|---|---| | **#1590** (`8e0e353`) | 16.9 / 16.0 | 45 / 54 | **0** | | `d4b5d51` + #43 reverted | 14.1 / 17.9 | 52 / 48 | **0** | | (earlier: `main` 923e38c, no fix) | 9.3 | 86 | several | So #1590 recovers the same as the revert in game. The two are within each other's run-to-run noise (about ±1.5 fps here; this machine had been under load for hours, which is why both sit below the 18.5 I posted earlier), and neither logged a program that doesn't translate. 👍 from here for #1590.
kibagami-nc commented 2026-11-28 23:27:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T23:27:00Z.


@icdmkg2, thank you for the in-game run. 16.9 and 16.0 against the revert's 14.1 and 17.9, with no untranslated program, is the answer. It's in #1590's description now.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247438462 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247438462). Originally posted by [kibagami-nc](https://github.com/kibagami-nc) on 2026-11-28T23:27:00Z. --- @icdmkg2, thank you for the in-game run. 16.9 and 16.0 against the revert's 14.1 and 17.9, with no untranslated program, is the answer. It's in #1590's description now.
trustno1-coder commented 2026-11-28 23:53:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T23:53:45Z.


Update after testing your hash list on a 32-lane card (RTX 5070):

  • Retrying the refused wave64 programs with the pre-#43 write-only rule (VICTORY_LDS_WRITE_ONLY_OK=1) brings back 7 of your 10 (only 1 translates by default).
  • In play, though, the programs that come back are wrong and very expensive. A five-minute run on the same save gave 4–7 fps, with 150–250 ms of GPU time a frame and dark, blocky patches. With them left dropped it was 24 fps and the picture looked right.

So the retry will be an opt-in switch, off by default, in the next push to main: VICTORY_LDS_LAST_RESORT=1. It's keyed in the shader cache, so changing it rebuilds the shaders. The real fix still needs a correct wave32 lowering for these LDS regions. This stays open until then.

Once it's on main, if you try VICTORY_LDS_LAST_RESORT=1, please post a screenshot and your play log, so we can see whether it looks wrong on your card too.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7247734187 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7247734187). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-28T23:53:45Z. --- Update after testing your hash list on a 32-lane card (RTX 5070): - Retrying the refused wave64 programs with the pre-#43 write-only rule (`VICTORY_LDS_WRITE_ONLY_OK=1`) brings back 7 of your 10 (only 1 translates by default). - In play, though, the programs that come back are wrong and very expensive. A five-minute run on the same save gave 4–7 fps, with 150–250 ms of GPU time a frame and dark, blocky patches. With them left dropped it was 24 fps and the picture looked right. So the retry will be an opt-in switch, off by default, in the next push to main: `VICTORY_LDS_LAST_RESORT=1`. It's keyed in the shader cache, so changing it rebuilds the shaders. The real fix still needs a correct wave32 lowering for these LDS regions. This stays open until then. Once it's on main, if you try `VICTORY_LDS_LAST_RESORT=1`, please post a screenshot and your play log, so we can see whether it looks wrong on your card too.
NotADonky43 commented 2026-11-29 01:17:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by NotADonky43 on 2026-11-29T01:17:31Z.


Data point on current f9dfb76f, Windows RTX 5070 Ti (32-lane host), Series X, 1440p DLSS Quality, no framegen. Both an unmodified upstream build and our same-base cumulative reached heavy rendering. They each logged 12 distinct compute programs refused for lack of a wave32 lowering. The warnings alone do not establish that a particular visible draw or material was missing.

I reran offline precompile for those same 12 inputs from the local pipeline book with the same settings on old (d4b5d517-based) and new builds; 10/12 translated before and no longer translate by default. All ten are referenced by recorded early recipes. Offline only, VICTORY_LDS_LAST_RESORT=1 on f9 translated 8/12, which is not proof their output is correct. Left it off in all game runs. The reasons include shared writes in lane-branch loops and atomics without a plain LDS read. For the full six-process source batch, all other failure categories had the same counts; wave32 refusals rose from 34 to 75 (counts across disjoint batches, not a runtime drop count). No shader bytes or game data attached. Support a discriminating synthetic fixture for a specific safe access pattern rather than enabling the blanket fallback.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7248686859 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7248686859). Originally posted by [NotADonky43](https://github.com/NotADonky43) on 2026-11-29T01:17:31Z. --- Data point on current `f9dfb76f`, Windows RTX 5070 Ti (32-lane host), Series X, 1440p DLSS Quality, no framegen. Both an unmodified upstream build and our same-base cumulative reached heavy rendering. They each logged 12 distinct compute programs refused for lack of a wave32 lowering. The warnings alone do **not** establish that a particular visible draw or material was missing. I reran offline precompile for those **same 12 inputs** from the local pipeline book with the same settings on old (`d4b5d517`-based) and new builds; 10/12 translated before and no longer translate by default. All ten are referenced by recorded early recipes. Offline only, `VICTORY_LDS_LAST_RESORT=1` on f9 translated 8/12, which is not proof their output is correct. Left it **off** in all game runs. The reasons include shared writes in lane-branch loops and atomics without a plain LDS read. For the full six-process source batch, all other failure categories had the same counts; wave32 refusals rose from 34 to 75 (counts across disjoint batches, not a runtime drop count). No shader bytes or game data attached. Support a discriminating synthetic fixture for a specific safe access pattern rather than enabling the blanket fallback.
futurepro62 commented 2026-11-29 01:32:24 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by futurepro62 on 2026-11-29T01:32:24Z.


Data point from an RTX 5070 Ti (16 GB, host wave lanes 32..32), Windows 11 26300, shaders.rpf of 1.0.2.1. On main at f9dfb76, 75 compute programs fail with "no wave32 lowering for this wave64 program", and their dispatches are dropped. That is well above the 10 listed above.

Reproduce without running the game (offline, whole archive, empty cache):

VICTORY_CACHE_DIR=<empty folder> VICTORY_HOST_WAVE=32 VICTORY_VIEW_LIMIT=1000000 victory translate <game>/shaders.rpf --validate --list
Build Validated "no wave32 lowering"
main f9dfb76 25,543 75
Our local base (fork main from earlier today, plus #339; before #43 reached it) 25,548 22
That base + #348 + the fallback-order fix posted in #348 25,570 0 (every program that translated before is byte-identical)

Comparing f9dfb76 with that base: 18 of the base's 22 still fail, 4 now translate, and 57 fail on f9dfb76 only. Of the 10 hashes in this issue, 0e366d15868e17bd, 1f1fbd86759b3da2, 5964b734c70b91eb, 6871d6e4b3ac9a10 and 6b82bc7d22016cb5 still fail on f9dfb76. The other five translate, so 3302735 (the write-only fallback) does help those.

What the 75 are, by file (a lot of this is on screen every frame):

  • 12 vfx_proj_decal_trail, 12 sr_denoising
  • 9 TAA_Utilities (the CS_SceneColorTemporalResolve* family) and 1 TAA2
  • 6 indirect_diffuse_lighting (CS_DeferredGather_*), 1 indirect_light_probes
  • 5 GpuParticleEmit, 5 GpuParticleUpdate
  • 4 vfx_triangleClip, 4 cascadeshadows_classify, 3 shadowmask
  • 3 water_compressed_simulation_rendertarget, 2 water_shading
  • 2 InstanceCulling
  • 1 each: vfx_proj_decal_vbuffer, sr_tracing, scattering_transmittance_system, ptx_prerender, RiverSimPacket, EntityMask
All 75 (program, hash)
Program Hash
EntityMask:CS_EntityMaskEdgeFade_99e38014_Wrapped d55b760b0ebddc24
GpuParticleEmit:CS_EmitCounts_Dynamic_Edge_7dc2171b_Wrapped a40ae27594631121
GpuParticleEmit:CS_EmitCounts_Dynamic_Triangle_7dc2171b_Wrapped 7842e2ce8ccd9280
GpuParticleEmit:CS_Emit_Dynamic_Model_AttachMesh_bc12bdd6_Wrapped 407eca669212d400
GpuParticleEmit:CS_Emit_Dynamic_Model_Edge_bc12bdd6_Wrapped 9fe711566bec0d0a
GpuParticleEmit:CS_Emit_Dynamic_Model_bc12bdd6_Wrapped 18d957e62926ed3e
GpuParticleUpdate:CS_DrawBatch_678d221c_Wrapped f8f50ab85e7b10bb
GpuParticleUpdate:CS_UpdateAttachMeshParticles_5e6b644d_Wrapped 44094a03d6d521c5
GpuParticleUpdate:CS_UpdateParticles_cbe24474_Wrapped 660814153af43185
GpuParticleUpdate:CS_UpdateSkinnedAttachMeshParticles_5e6b644d_Wrapped 90fe2f65e9e589b5
GpuParticleUpdate:CS_UpdateSkinnedAttachMeshTreeParticles_d5e6e48d_Wrapped c1eee35dbc50a9ef
InstanceCulling:CS_Tree_BatchCullReflect_c47eb2b0_Wrapped 6b638f32efd6f858
InstanceCulling:CS_Tree_BatchNoCull_c47eb2b0_Wrapped da96a8117d87567a
RiverSimPacket:CS_HighDetailDeltas_SelectOutputPatches_68426264_Wrapped d24ad002f5250958
TAA2:CS_TAA2_PrepareFrameStats_f3fe77a8_Wrapped e535cfd7baac93b8
TAA_Utilities:CS_Disocclusion_6789256b_Wrapped 488b12f581b37bfc
TAA_Utilities:CS_SceneColorTemporalResolveDOFAware_ecd3fb1f_Wrapped 83d6b67393c1aa6d
TAA_Utilities:CS_SceneColorTemporalResolveDualOutputDOFAware_ecd3fb1f_Wrapped c89f7bd38af4f529
TAA_Utilities:CS_SceneColorTemporalResolveDualOutputWithLumaDOFAware_ecd3fb1f_Wrapped b2b1ea29bc3987db
TAA_Utilities:CS_SceneColorTemporalResolveDualOutputWithLuma_ecd3fb1f_Wrapped fecab3f50f335172
TAA_Utilities:CS_SceneColorTemporalResolveDualOutput_ecd3fb1f_Wrapped 6529806404cec985
TAA_Utilities:CS_SceneColorTemporalResolveWithLumaDOFAware_ecd3fb1f_Wrapped 857144d087e8dbcb
TAA_Utilities:CS_SceneColorTemporalResolveWithLuma_ecd3fb1f_Wrapped a8291de05d8b095c
TAA_Utilities:CS_SceneColorTemporalResolve_ecd3fb1f_Wrapped 1b1a62444e4ca639
cascadeshadows_classify:CS_CalcRTClassificationListCounts_71bbdf9d_Wrapped 67353810417f6c19
cascadeshadows_classify:CS_CalcRasterClassificationListCounts_71bbdf9d_Wrapped eae3498e6553afa8
cascadeshadows_classify:CS_WriteRTClassificationResults_71bbdf9d_Wrapped 4e9b58cc637d9272
cascadeshadows_classify:CS_WriteRasterClassificationResults_71bbdf9d_Wrapped b8f3f7979d6bbc50
indirect_diffuse_lighting:CS_DeferredGather_Mixed_21653e30_Wrapped c44697c4f620d86e
indirect_diffuse_lighting:CS_DeferredGather_Shared_21653e30_Wrapped be1e7049f0bd75d0
indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Mixed_ShaderBinning_1b4df702_Wrapped f76abe011ea678b3
indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Mixed_ShaderBinning_WithFar_1b4df702_Wrapped d5f6125b52723fc9
indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Shared_ShaderBinning_1b4df702_Wrapped 0f9382de73901605
indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Shared_ShaderBinning_WithFar_1b4df702_Wrapped ca91c1392fd098a4
indirect_light_probes:CS_VarianceFilterAlpha_b92710bc_Wrapped 5964b734c70b91eb
ptx_prerender:ptfx_CS_PreRenderViewportAverageTangentsTrail_b4b10327_Wrapped e91575ce58238137
scattering_transmittance_system:CS_SortRayTiles_663796eb_Wrapped a1bf269d5b19f025
shadowmask:CS_GenerateShadowMasksHairOnly_SampleHairScreenSpace_13d14336_Wrapped 888af37a584acf98
shadowmask:CS_GenerateShadowMasks_SampleHairScreenSpace_13d14336_Wrapped 2889c21328c69e58
shadowmask:CS_TraceShadowRays_Fullres_f554d195_Wrapped 4e816e1ef600ddcf
sr_denoising:CS_TemporalResolve1_Alpha_68979fba_Wrapped 34992f2b65a789a5
sr_denoising:CS_TemporalResolve1_Opaque_FrameStatistics_f60c8f41_Wrapped 0ffd3b911e35e7d0
sr_denoising:CS_TemporalResolve1_Opaque_f60c8f41_Wrapped 6547aeeef562cc81
sr_denoising:CS_TemporalResolve1_Water_68979fba_Wrapped cdaa46da629ca631
sr_denoising:CS_TemporalResolve2_Opaque_FrameStatistics_357e0818_Wrapped 71883e40620a567a
sr_denoising:CS_TemporalResolveAlpha_894cc1c8_Wrapped 1069ceb574bc92ca
sr_denoising:CS_TemporalResolveAlpha_ddeadbb3_Wrapped 068786c4b7e04851
sr_denoising:CS_TemporalResolveOpaque2_6297ed0c_Wrapped 3c9d23fa83d63d43
sr_denoising:CS_TemporalResolveOpaque_6297ed0c_Wrapped 81c535cf85fd9fd5
sr_denoising:CS_TemporalResolveOpaque_FrameStatistics_6297ed0c_Wrapped 4031c6c05fa7ec48
sr_denoising:CS_TemporalResolveWater_8a99acdb_Wrapped 441c0b3940ddfa2d
sr_denoising:CS_TemporalResolveWater_c36b4d91_Wrapped 780546beec578f2c
sr_tracing:CS_RayPrePass_Opaque_SSR_a80bdf75_Wrapped 7168dd781ca7efb9
vfx_proj_decal_trail:CS_BuildProjDecalTrailProjectionBoxInstances_2342df81_Wrapped 3b02415f67c6b0d8
vfx_proj_decal_trail:CS_BuildProjDecalTrailVertexBufferFromNodes_f859fb73_Wrapped 1d434307d981352a
vfx_proj_decal_trail:CS_DefragHeap_ComputeRelocations_9e6def81_Wrapped 22338086ea4c5364
vfx_proj_decal_trail:CS_DefragHeap_Defrag_8607a609_Wrapped d89ff746914b8cf7
vfx_proj_decal_trail:CS_PackProjDecalTrailVertexBuffer_7eb90277_Wrapped a4cb3ce527ad8569
vfx_proj_decal_trail:CS_RelocateProjDecalTrailAlt_51cfa5f1_Wrapped e5d3e62bd4dfc1fb
vfx_proj_decal_trail:CS_RelocateProjDecalTrailNodesAlt_1a0caa8e_Wrapped fcd8b294ee41c57f
vfx_proj_decal_trail:CS_SpawnLiquidTrail_SampleDecalRaycastTriangleTest_931d49f0_Wrapped ffa3a7645374474b
vfx_proj_decal_trail:CS_SpawnLiquidTrail_SampleDecalRaycastTriangleTest_Nodes_931d49f0_Wrapped 98fef92f7a6d825e
vfx_proj_decal_trail:CS_UpdateProjDecalTrailAttachment_8780f578_Wrapped aeac9d880daff3ba
vfx_proj_decal_trail:CS_UpdateProjDecalTrailAttachment_Nodes_8780f578_Wrapped a09f0c1fae2b5ca3
vfx_proj_decal_trail:CS_UpdateProjDecalTrailMeshIndices_3e94584f_Wrapped f38f83439083b9ef
vfx_proj_decal_vbuffer:CS_ProjDecalReduceClassification_Scalarized_98508564_Wrapped 1f1fbd86759b3da2
vfx_triangleClip:CS_CollectTriangles_Meshlets_cb481f38_Wrapped 6b82bc7d22016cb5
vfx_triangleClip:CS_CollectTriangles_cb481f38_Wrapped 6832a9da15c2e584
vfx_triangleClip:CS_DefragHeap_Defrag_8607a609_Wrapped c042a10ed3428758
vfx_triangleClip:CS_RelocateVfxStartIndexLocationAlt_319b1d7e_Wrapped 39998898c90889b2
water_compressed_simulation_rendertarget:CS_MinMax_Float_DualPlane_Parallel_8058dcc9_Wrapped 9809b8d965b04935
water_compressed_simulation_rendertarget:CS_MinMax_Float_SinglePlane_Parallel_8058dcc9_Wrapped a2f1004f8d6d7aad
water_compressed_simulation_rendertarget:CS_MinMax_Int_SinglePlane_Parallel_0c37f5de_Wrapped bdf438d5731d36cc
water_shading:CS_Classification_Water_6fdb6e78_Wrapped 0e366d15868e17bd
water_shading:CS_TransmissionVolumetrics_bd25dcd5_Wrapped 6871d6e4b3ac9a10

Not tested: #348 on top of f9dfb76. It conflicts there in lower.rs, mod.rs, shader_cache.rs, bitcode.rs and wave64_tests.rs (25 hunks), so I can't say yet whether the paired fallback takes all 75 on current main. On the older base it took all 22. In game on that build (about 75 minutes): no shader does not translate lines.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7248848532 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7248848532). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-29T01:32:24Z. --- Data point from an RTX 5070 Ti (16 GB, host wave lanes 32..32), Windows 11 26300, `shaders.rpf` of 1.0.2.1. On `main` at **f9dfb76**, **75** compute programs fail with "no wave32 lowering for this wave64 program", and their dispatches are dropped. That is well above the 10 listed above. **Reproduce without running the game** (offline, whole archive, empty cache): ``` VICTORY_CACHE_DIR=<empty folder> VICTORY_HOST_WAVE=32 VICTORY_VIEW_LIMIT=1000000 victory translate <game>/shaders.rpf --validate --list ``` | Build | Validated | "no wave32 lowering" | |---|---|---| | `main` f9dfb76 | 25,543 | **75** | | Our local base (fork `main` from earlier today, plus #339; before #43 reached it) | 25,548 | 22 | | That base + #348 + the fallback-order fix posted in #348 | 25,570 | **0** (every program that translated before is byte-identical) | Comparing f9dfb76 with that base: 18 of the base's 22 still fail, 4 now translate, and **57 fail on f9dfb76 only**. Of the 10 hashes in this issue, `0e366d15868e17bd`, `1f1fbd86759b3da2`, `5964b734c70b91eb`, `6871d6e4b3ac9a10` and `6b82bc7d22016cb5` still fail on f9dfb76. The other five translate, so 3302735 (the write-only fallback) does help those. What the 75 are, by file (a lot of this is on screen every frame): - 12 `vfx_proj_decal_trail`, 12 `sr_denoising` - 9 `TAA_Utilities` (the `CS_SceneColorTemporalResolve*` family) and 1 `TAA2` - 6 `indirect_diffuse_lighting` (`CS_DeferredGather_*`), 1 `indirect_light_probes` - 5 `GpuParticleEmit`, 5 `GpuParticleUpdate` - 4 `vfx_triangleClip`, 4 `cascadeshadows_classify`, 3 `shadowmask` - 3 `water_compressed_simulation_rendertarget`, 2 `water_shading` - 2 `InstanceCulling` - 1 each: `vfx_proj_decal_vbuffer`, `sr_tracing`, `scattering_transmittance_system`, `ptx_prerender`, `RiverSimPacket`, `EntityMask` <details><summary>All 75 (program, hash)</summary> | Program | Hash | |---|---| | `EntityMask:CS_EntityMaskEdgeFade_99e38014_Wrapped` | `d55b760b0ebddc24` | | `GpuParticleEmit:CS_EmitCounts_Dynamic_Edge_7dc2171b_Wrapped` | `a40ae27594631121` | | `GpuParticleEmit:CS_EmitCounts_Dynamic_Triangle_7dc2171b_Wrapped` | `7842e2ce8ccd9280` | | `GpuParticleEmit:CS_Emit_Dynamic_Model_AttachMesh_bc12bdd6_Wrapped` | `407eca669212d400` | | `GpuParticleEmit:CS_Emit_Dynamic_Model_Edge_bc12bdd6_Wrapped` | `9fe711566bec0d0a` | | `GpuParticleEmit:CS_Emit_Dynamic_Model_bc12bdd6_Wrapped` | `18d957e62926ed3e` | | `GpuParticleUpdate:CS_DrawBatch_678d221c_Wrapped` | `f8f50ab85e7b10bb` | | `GpuParticleUpdate:CS_UpdateAttachMeshParticles_5e6b644d_Wrapped` | `44094a03d6d521c5` | | `GpuParticleUpdate:CS_UpdateParticles_cbe24474_Wrapped` | `660814153af43185` | | `GpuParticleUpdate:CS_UpdateSkinnedAttachMeshParticles_5e6b644d_Wrapped` | `90fe2f65e9e589b5` | | `GpuParticleUpdate:CS_UpdateSkinnedAttachMeshTreeParticles_d5e6e48d_Wrapped` | `c1eee35dbc50a9ef` | | `InstanceCulling:CS_Tree_BatchCullReflect_c47eb2b0_Wrapped` | `6b638f32efd6f858` | | `InstanceCulling:CS_Tree_BatchNoCull_c47eb2b0_Wrapped` | `da96a8117d87567a` | | `RiverSimPacket:CS_HighDetailDeltas_SelectOutputPatches_68426264_Wrapped` | `d24ad002f5250958` | | `TAA2:CS_TAA2_PrepareFrameStats_f3fe77a8_Wrapped` | `e535cfd7baac93b8` | | `TAA_Utilities:CS_Disocclusion_6789256b_Wrapped` | `488b12f581b37bfc` | | `TAA_Utilities:CS_SceneColorTemporalResolveDOFAware_ecd3fb1f_Wrapped` | `83d6b67393c1aa6d` | | `TAA_Utilities:CS_SceneColorTemporalResolveDualOutputDOFAware_ecd3fb1f_Wrapped` | `c89f7bd38af4f529` | | `TAA_Utilities:CS_SceneColorTemporalResolveDualOutputWithLumaDOFAware_ecd3fb1f_Wrapped` | `b2b1ea29bc3987db` | | `TAA_Utilities:CS_SceneColorTemporalResolveDualOutputWithLuma_ecd3fb1f_Wrapped` | `fecab3f50f335172` | | `TAA_Utilities:CS_SceneColorTemporalResolveDualOutput_ecd3fb1f_Wrapped` | `6529806404cec985` | | `TAA_Utilities:CS_SceneColorTemporalResolveWithLumaDOFAware_ecd3fb1f_Wrapped` | `857144d087e8dbcb` | | `TAA_Utilities:CS_SceneColorTemporalResolveWithLuma_ecd3fb1f_Wrapped` | `a8291de05d8b095c` | | `TAA_Utilities:CS_SceneColorTemporalResolve_ecd3fb1f_Wrapped` | `1b1a62444e4ca639` | | `cascadeshadows_classify:CS_CalcRTClassificationListCounts_71bbdf9d_Wrapped` | `67353810417f6c19` | | `cascadeshadows_classify:CS_CalcRasterClassificationListCounts_71bbdf9d_Wrapped` | `eae3498e6553afa8` | | `cascadeshadows_classify:CS_WriteRTClassificationResults_71bbdf9d_Wrapped` | `4e9b58cc637d9272` | | `cascadeshadows_classify:CS_WriteRasterClassificationResults_71bbdf9d_Wrapped` | `b8f3f7979d6bbc50` | | `indirect_diffuse_lighting:CS_DeferredGather_Mixed_21653e30_Wrapped` | `c44697c4f620d86e` | | `indirect_diffuse_lighting:CS_DeferredGather_Shared_21653e30_Wrapped` | `be1e7049f0bd75d0` | | `indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Mixed_ShaderBinning_1b4df702_Wrapped` | `f76abe011ea678b3` | | `indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Mixed_ShaderBinning_WithFar_1b4df702_Wrapped` | `d5f6125b52723fc9` | | `indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Shared_ShaderBinning_1b4df702_Wrapped` | `0f9382de73901605` | | `indirect_diffuse_lighting:CS_ScreenProbes_TraceRays_BVH_Shared_ShaderBinning_WithFar_1b4df702_Wrapped` | `ca91c1392fd098a4` | | `indirect_light_probes:CS_VarianceFilterAlpha_b92710bc_Wrapped` | `5964b734c70b91eb` | | `ptx_prerender:ptfx_CS_PreRenderViewportAverageTangentsTrail_b4b10327_Wrapped` | `e91575ce58238137` | | `scattering_transmittance_system:CS_SortRayTiles_663796eb_Wrapped` | `a1bf269d5b19f025` | | `shadowmask:CS_GenerateShadowMasksHairOnly_SampleHairScreenSpace_13d14336_Wrapped` | `888af37a584acf98` | | `shadowmask:CS_GenerateShadowMasks_SampleHairScreenSpace_13d14336_Wrapped` | `2889c21328c69e58` | | `shadowmask:CS_TraceShadowRays_Fullres_f554d195_Wrapped` | `4e816e1ef600ddcf` | | `sr_denoising:CS_TemporalResolve1_Alpha_68979fba_Wrapped` | `34992f2b65a789a5` | | `sr_denoising:CS_TemporalResolve1_Opaque_FrameStatistics_f60c8f41_Wrapped` | `0ffd3b911e35e7d0` | | `sr_denoising:CS_TemporalResolve1_Opaque_f60c8f41_Wrapped` | `6547aeeef562cc81` | | `sr_denoising:CS_TemporalResolve1_Water_68979fba_Wrapped` | `cdaa46da629ca631` | | `sr_denoising:CS_TemporalResolve2_Opaque_FrameStatistics_357e0818_Wrapped` | `71883e40620a567a` | | `sr_denoising:CS_TemporalResolveAlpha_894cc1c8_Wrapped` | `1069ceb574bc92ca` | | `sr_denoising:CS_TemporalResolveAlpha_ddeadbb3_Wrapped` | `068786c4b7e04851` | | `sr_denoising:CS_TemporalResolveOpaque2_6297ed0c_Wrapped` | `3c9d23fa83d63d43` | | `sr_denoising:CS_TemporalResolveOpaque_6297ed0c_Wrapped` | `81c535cf85fd9fd5` | | `sr_denoising:CS_TemporalResolveOpaque_FrameStatistics_6297ed0c_Wrapped` | `4031c6c05fa7ec48` | | `sr_denoising:CS_TemporalResolveWater_8a99acdb_Wrapped` | `441c0b3940ddfa2d` | | `sr_denoising:CS_TemporalResolveWater_c36b4d91_Wrapped` | `780546beec578f2c` | | `sr_tracing:CS_RayPrePass_Opaque_SSR_a80bdf75_Wrapped` | `7168dd781ca7efb9` | | `vfx_proj_decal_trail:CS_BuildProjDecalTrailProjectionBoxInstances_2342df81_Wrapped` | `3b02415f67c6b0d8` | | `vfx_proj_decal_trail:CS_BuildProjDecalTrailVertexBufferFromNodes_f859fb73_Wrapped` | `1d434307d981352a` | | `vfx_proj_decal_trail:CS_DefragHeap_ComputeRelocations_9e6def81_Wrapped` | `22338086ea4c5364` | | `vfx_proj_decal_trail:CS_DefragHeap_Defrag_8607a609_Wrapped` | `d89ff746914b8cf7` | | `vfx_proj_decal_trail:CS_PackProjDecalTrailVertexBuffer_7eb90277_Wrapped` | `a4cb3ce527ad8569` | | `vfx_proj_decal_trail:CS_RelocateProjDecalTrailAlt_51cfa5f1_Wrapped` | `e5d3e62bd4dfc1fb` | | `vfx_proj_decal_trail:CS_RelocateProjDecalTrailNodesAlt_1a0caa8e_Wrapped` | `fcd8b294ee41c57f` | | `vfx_proj_decal_trail:CS_SpawnLiquidTrail_SampleDecalRaycastTriangleTest_931d49f0_Wrapped` | `ffa3a7645374474b` | | `vfx_proj_decal_trail:CS_SpawnLiquidTrail_SampleDecalRaycastTriangleTest_Nodes_931d49f0_Wrapped` | `98fef92f7a6d825e` | | `vfx_proj_decal_trail:CS_UpdateProjDecalTrailAttachment_8780f578_Wrapped` | `aeac9d880daff3ba` | | `vfx_proj_decal_trail:CS_UpdateProjDecalTrailAttachment_Nodes_8780f578_Wrapped` | `a09f0c1fae2b5ca3` | | `vfx_proj_decal_trail:CS_UpdateProjDecalTrailMeshIndices_3e94584f_Wrapped` | `f38f83439083b9ef` | | `vfx_proj_decal_vbuffer:CS_ProjDecalReduceClassification_Scalarized_98508564_Wrapped` | `1f1fbd86759b3da2` | | `vfx_triangleClip:CS_CollectTriangles_Meshlets_cb481f38_Wrapped` | `6b82bc7d22016cb5` | | `vfx_triangleClip:CS_CollectTriangles_cb481f38_Wrapped` | `6832a9da15c2e584` | | `vfx_triangleClip:CS_DefragHeap_Defrag_8607a609_Wrapped` | `c042a10ed3428758` | | `vfx_triangleClip:CS_RelocateVfxStartIndexLocationAlt_319b1d7e_Wrapped` | `39998898c90889b2` | | `water_compressed_simulation_rendertarget:CS_MinMax_Float_DualPlane_Parallel_8058dcc9_Wrapped` | `9809b8d965b04935` | | `water_compressed_simulation_rendertarget:CS_MinMax_Float_SinglePlane_Parallel_8058dcc9_Wrapped` | `a2f1004f8d6d7aad` | | `water_compressed_simulation_rendertarget:CS_MinMax_Int_SinglePlane_Parallel_0c37f5de_Wrapped` | `bdf438d5731d36cc` | | `water_shading:CS_Classification_Water_6fdb6e78_Wrapped` | `0e366d15868e17bd` | | `water_shading:CS_TransmissionVolumetrics_bd25dcd5_Wrapped` | `6871d6e4b3ac9a10` | </details> **Not tested:** #348 on top of f9dfb76. It conflicts there in `lower.rs`, `mod.rs`, `shader_cache.rs`, `bitcode.rs` and `wave64_tests.rs` (25 hunks), so I can't say yet whether the paired fallback takes all 75 on current `main`. On the older base it took all 22. In game on that build (about 75 minutes): no `shader does not translate` lines. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
NotADonky43 commented 2026-11-29 02:38:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by NotADonky43 on 2026-11-29T02:38:17Z.


Follow-up on the 12 distinct compute programs from the f9 opening above. On pristine 0338ec6c the same opening produced no wave refusals. To distinguish a successful offline compile from actual title use, a separate diagnostic on the same base counted host calls for exactly that cohort. Through the settled opening, six distinct programs accounted for 6,494 recorded nonzero direct dispatches; six different programs accounted for 142,364 recorded indirect calls. No missing PSO in either group. These are host recording counts, not GPU invocations or evidence of correct lighting; indirect counts can be zero on the card. The first diagnostic launch stopped at a guest breakpoint before the milestone; these figures are from the retry. On d1486134 the default reflection exclusions deliberately refuse three of the twelve in the native recipe check. I would retain those exclusions rather than use 12/12 acceptance as the success criterion. Overall dropped-command counts did not disappear and the runs were not shot-matched, so no FPS claim.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7249552886 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7249552886). Originally posted by [NotADonky43](https://github.com/NotADonky43) on 2026-11-29T02:38:17Z. --- Follow-up on the 12 distinct compute programs from the f9 opening above. On pristine `0338ec6c` the same opening produced no wave refusals. To distinguish a successful offline compile from actual title use, a separate diagnostic on the same base counted host calls for exactly that cohort. Through the settled opening, six distinct programs accounted for 6,494 recorded nonzero direct dispatches; six different programs accounted for 142,364 recorded indirect calls. No missing PSO in either group. These are host recording counts, **not** GPU invocations or evidence of correct lighting; indirect counts can be zero on the card. The first diagnostic launch stopped at a guest breakpoint before the milestone; these figures are from the retry. On `d1486134` the default reflection exclusions deliberately refuse three of the twelve in the native recipe check. I would retain those exclusions rather than use 12/12 acceptance as the success criterion. Overall dropped-command counts did not disappear and the runs were not shot-matched, so no FPS claim.
icdmkg2 commented 2026-11-29 07:48:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by icdmkg2 on 2026-11-29T07:48:36Z.


@trustno1-coder, I need to correct my earlier numbers, and your finding holds here as well.

The correction. The "9.3 fps on main against 18.5 with #43 reverted" I posted came from the first run of a freshly built main, and that run translated about 2,300 shaders during play. The low number came from that, not from the dropped programs.

Clean test. Same laptop (RTX 5060 Laptop 8 GB, Ryzen 7 H 260, Windows 11), main at e1f2eb6, release build, Series S, DLSS performance, the same save, driven by the script. Each setting got a warm-up run that wasn't counted, then the measured runs alternated (60 s of play after a 30 s settle):

VICTORY_LDS_LAST_RESORT fps median (run 1 / 2) frame time median frames >50 ms per 5 s GPU ms per frame
unset (programs dropped) 19.5 / 18.0 47.2 / 47.8 ms 5.4 / 6.3 5.9 / 9.9
=1 (programs back) 15.5 / 20.2 48.8 / 47.8 ms 6.8 / 6.2 9.0 / 2.1

On this card the programs don't cost frame rate: there's no 150–250 ms of GPU time like on your 5070. Off and on are within the run-to-run noise.

The picture matches what you saw. Diagnostics build, VICTORY_CAPTURE_WORLD, the prologue's cell, measured over the last 60 captured gameplay frames:

mean luma pixels below 16/255
unset 66.2 1.4 %
=1 54.3 27.7 %

With =1, the walls, floor and shadowed parts of the cell go nearly black, and only direct sunlight survives. That fits wrong indirect lighting and denoise output (CS_DeferredGather_*, sr_denoising are among the 75 in futurepro62's list). So off by default is right. My 👍 for #1590 as a default is withdrawn: it only holds as an opt-in.

I've left out screenshots and the log: docs/asset-policy.md lists screenshots as game-derived, and the log has local paths. I can describe any frame in more detail if that helps.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7252704909 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7252704909). Originally posted by [icdmkg2](https://github.com/icdmkg2) on 2026-11-29T07:48:36Z. --- @trustno1-coder, I need to correct my earlier numbers, and your finding holds here as well. **The correction.** The "9.3 fps on main against 18.5 with #43 reverted" I posted came from the first run of a freshly built `main`, and that run translated about 2,300 shaders during play. The low number came from that, not from the dropped programs. **Clean test.** Same laptop (RTX 5060 Laptop 8 GB, Ryzen 7 H 260, Windows 11), `main` at `e1f2eb6`, release build, Series S, DLSS performance, the same save, driven by the script. Each setting got a warm-up run that wasn't counted, then the measured runs alternated (60 s of play after a 30 s settle): | `VICTORY_LDS_LAST_RESORT` | fps median (run 1 / 2) | frame time median | frames >50 ms per 5 s | GPU ms per frame | |---|---|---|---|---| | unset (programs dropped) | 19.5 / 18.0 | 47.2 / 47.8 ms | 5.4 / 6.3 | 5.9 / 9.9 | | `=1` (programs back) | 15.5 / 20.2 | 48.8 / 47.8 ms | 6.8 / 6.2 | 9.0 / 2.1 | On this card the programs don't cost frame rate: there's no 150–250 ms of GPU time like on your 5070. Off and on are within the run-to-run noise. **The picture matches what you saw.** Diagnostics build, `VICTORY_CAPTURE_WORLD`, the prologue's cell, measured over the last 60 captured gameplay frames: | | mean luma | pixels below 16/255 | |---|---|---| | unset | 66.2 | 1.4 % | | `=1` | 54.3 | **27.7 %** | With `=1`, the walls, floor and shadowed parts of the cell go nearly black, and only direct sunlight survives. That fits wrong indirect lighting and denoise output (`CS_DeferredGather_*`, `sr_denoising` are among the 75 in futurepro62's list). So off by default is right. My 👍 for #1590 as a default is withdrawn: it only holds as an opt-in. I've left out screenshots and the log: `docs/asset-policy.md` lists screenshots as game-derived, and the log has local paths. I can describe any frame in more detail if that helps.
kongmuqiu commented 2026-11-29 15:58:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kongmuqiu on 2026-11-29T15:58:27Z.


Another 32-lane data point, with the title's own ray tracing on, and three hashes that are not in the list above.

Host: RTX 4070 Laptop GPU 8 GB, Windows 11 26300, release build of 923e38cc, Series S, VICTORY_BVH_BUILDER=1, VICTORY_PIPELINE_COMPUTE_WAIT=0 (for #1654), waterfront house after the prologue, character walking.

Compute programs that do not translate (no wave32 lowering for this wave64 program is not supported):

93008750 923e38cc
6b82bc7d22016cb5 0e366d15868e17bd 1f1fbd86759b3da2 28918b7150a7aad5 55679a0547649d0b 5964b734c70b91eb 6b82bc7d22016cb5 89d08e561897d4e5 caa78b8ca62bc3d6 e63d22c4def9ba6a

28918b7150a7aad5, caa78b8ca62bc3d6 and e63d22c4def9ba6a are not in the list of ten above; they may come from the ray-tracing path, which those runs did not turn on. Worth checking that #1590 / #1575 / #1504 bring them back too.

Effect while moving (90 s, frame generation off): the frame line's dropped ... without a host pipeline is 294-313 a frame on 923e38cc, against 1 on 93008750. The frame rate looks higher on 923e38cc (15.3 fps, against about 11 fps on 93008750 builds), but that is work not done, so it should not be read as a speed-up.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7258514834 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7258514834). Originally posted by [kongmuqiu](https://github.com/kongmuqiu) on 2026-11-29T15:58:27Z. --- Another 32-lane data point, with the title's own ray tracing on, and three hashes that are not in the list above. **Host:** RTX 4070 Laptop GPU 8 GB, Windows 11 26300, release build of `923e38cc`, Series S, `VICTORY_BVH_BUILDER=1`, `VICTORY_PIPELINE_COMPUTE_WAIT=0` (for #1654), waterfront house after the prologue, character walking. Compute programs that do not translate (`no wave32 lowering for this wave64 program is not supported`): | `93008750` | `923e38cc` | |---|---| | `6b82bc7d22016cb5` | `0e366d15868e17bd` `1f1fbd86759b3da2` `28918b7150a7aad5` `55679a0547649d0b` `5964b734c70b91eb` `6b82bc7d22016cb5` `89d08e561897d4e5` `caa78b8ca62bc3d6` `e63d22c4def9ba6a` | `28918b7150a7aad5`, `caa78b8ca62bc3d6` and `e63d22c4def9ba6a` are not in the list of ten above; they may come from the ray-tracing path, which those runs did not turn on. Worth checking that #1590 / #1575 / #1504 bring them back too. Effect while moving (90 s, frame generation off): the frame line's `dropped ... without a host pipeline` is 294-313 a frame on `923e38cc`, against 1 on `93008750`. The frame rate looks higher on `923e38cc` (15.3 fps, against about 11 fps on `93008750` builds), but that is work not done, so it should not be read as a speed-up.
Lyrnc commented 2026-11-29 23:23:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Lyrnc on 2026-11-29T23:23:17Z.


Status on current main, for anyone following this issue: nothing is dropped any more. Every wave64 program the LDS check refuses is now translated through the folded form, which is exact but slow. So the remaining job is to move programs back to the plain 32-lane split.

Count of wave64 compute programs not on the plain split, translating shaders.rpf for a 32-lane host:

#3441 adds two proofs: a region that at most one thread runs, and per-thread footprints that never overlap where one thread writes. It has 13 hand-written wave64 cases on our hardware oracle: the 32-lane result on an RTX 5080 and a Radeon 680M matches native wave64 on gfx1036 in all 13. The cases also cover #2358's atomics and #1773's patterns. An in-game A/B on the 5080 is still pending: the first one was void because of a stale shared build dir.

What is left can't be fixed by a proof. About 50 programs read lanes another half wrote, with no barrier. About 70 have addresses the analysis can't resolve.

AI use: Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7264421864 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7264421864). Originally posted by [Lyrnc](https://github.com/Lyrnc) on 2026-11-29T23:23:17Z. --- Status on current main, for anyone following this issue: nothing is dropped any more. Every wave64 program the LDS check refuses is now translated through the folded form, which is exact but slow. So the remaining job is to move programs back to the plain 32-lane split. Count of wave64 compute programs not on the plain split, translating `shaders.rpf` for a 32-lane host: - main 829188e9: 181 - with #2358 + #1773: 162 - with #3441 on top: 139, so 42 fewer than main #3441 adds two proofs: a region that at most one thread runs, and per-thread footprints that never overlap where one thread writes. It has 13 hand-written wave64 cases on our hardware oracle: the 32-lane result on an RTX 5080 and a Radeon 680M matches native wave64 on gfx1036 in all 13. The cases also cover #2358's atomics and #1773's patterns. An in-game A/B on the 5080 is still pending: the first one was void because of a stale shared build dir. What is left can't be fixed by a proof. About 50 programs read lanes another half wrote, with no barrier. About 70 have addresses the analysis can't resolve. AI use: Claude Code (Claude Opus 5.5).
trustno1-coder commented 2026-11-30 15:43:18 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T15:43:18Z.


Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.

If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7283468006 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1435#issuecomment-7283468006). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-30T15:43:18Z. --- Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
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
trustno1-coder/VIctory-NVIDIA#1435
No description provided.