Water rectangles come back when VICTORY_WAVE_PAIRS_ONLY is set: default programs lose the FP32 mode confirmation (7 of 28 refused, RTX 5060) #426

Open
opened 2026-11-28 20:25:44 +00:00 by notdxbi · 3 comments
notdxbi commented 2026-11-28 20:25:44 +00:00 (Migrated from github.com)
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by notdxbi on 2026-11-28T20:25:44Z.


Vice-Tay build

main fe7c6e5 plus a few open PRs merged locally (#395, #408, #413 and others; none touch emit/mod.rs or paired_fp32.rs). Release build.

Hardware and graphics driver

RTX 5060 8 GB (32-lane), Ryzen 7 5700X, 32 GB, Linux with GE-Proton11-14, NVIDIA 620.70.06. Series S profile, 1920x1080, DLSS Quality, ray tracing off.

What happens

Setting VICTORY_WAVE_PAIRS_ONLY to a list that only contains entries from the default list (here the #378 workaround: the default 29 minus CS_GatherDiffusion ce2378e5e8711aad) brings back the dark/grey rectangles on open water that #208 fixed. They sit along the waterline at the shore and under bridges during the boat mission.

The pretranslation log shows why. 7 of the 28 listed programs are refused the paired form and fall back to the unpaired one:

21x WAVE64-PAIRS-ONLY translated with paired Wave64
 7x WAVE64-PAIRS-ONLY refused: GFX10 code at 0x…: paired FP32 reduction requires a confirmed non-IEEE RNE/FTZ guest mode is not supported

Cause

In emit() (crates/victory-shader/src/emit/mod.rs) the FP32 confirmation for default programs only applies when the variable is unset:

let by_default = std::env::var_os("VICTORY_WAVE_PAIRS_ONLY").is_none() && paired_by_default(c.input);

So once any list is given, the default programs lose the confirmation that paired_fp32.rs relies on (None => paired_by_default_here()). docs/this-fork.md says VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz is needed for programs that are not on the default list, so I expected the default ones to stay confirmed.

Check

Same build and save, with VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz added to the same list: 28/28 translated with paired Wave64, 0 refused, and the water rectangles are gone. Frame rate unchanged (median 11.6 fps vs 11.3 before, ~7 min each in the world).

Skipping only the four water transmission-volumetrics programs (VICTORY_SKIP_PIPELINES=5dc3b25986622949,6f225b641c5b0708,926c46bab3b86bd6,1aa247ed3653b616) also removed the rectangles (and the water's colour), which is how I narrowed it to those.

Suggestion

Keep the confirmation for default-list programs regardless of VICTORY_WAVE_PAIRS_ONLY, e.g. let by_default = paired_by_default(c.input);, since their MODE writes were already checked. Otherwise, a note in the docs and the #378 thread that a custom list needs VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz as well.

(#378's own bisection runs set VICTORY_WAVE_PAIRS_FP32 explicitly, so they are not affected.)

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:6670746734 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/426). Originally posted by [notdxbi](https://github.com/notdxbi) on 2026-11-28T20:25:44Z. --- ### Vice-Tay build `main` fe7c6e5 plus a few open PRs merged locally (#395, #408, #413 and others; none touch `emit/mod.rs` or `paired_fp32.rs`). Release build. ### Hardware and graphics driver RTX 5060 8 GB (32-lane), Ryzen 7 5700X, 32 GB, Linux with GE-Proton11-14, NVIDIA 620.70.06. Series S profile, 1920x1080, DLSS Quality, ray tracing off. ### What happens Setting `VICTORY_WAVE_PAIRS_ONLY` to a list that only contains entries from the default list (here the #378 workaround: the default 29 minus `CS_GatherDiffusion` `ce2378e5e8711aad`) brings back the **dark/grey rectangles on open water** that #208 fixed. They sit along the waterline at the shore and under bridges during the boat mission. The pretranslation log shows why. 7 of the 28 listed programs are refused the paired form and fall back to the unpaired one: ``` 21x WAVE64-PAIRS-ONLY translated with paired Wave64 7x WAVE64-PAIRS-ONLY refused: GFX10 code at 0x…: paired FP32 reduction requires a confirmed non-IEEE RNE/FTZ guest mode is not supported ``` ### Cause In `emit()` (`crates/victory-shader/src/emit/mod.rs`) the FP32 confirmation for default programs only applies when the variable is unset: ```rust let by_default = std::env::var_os("VICTORY_WAVE_PAIRS_ONLY").is_none() && paired_by_default(c.input); ``` So once any list is given, the default programs lose the confirmation that `paired_fp32.rs` relies on (`None => paired_by_default_here()`). `docs/this-fork.md` says `VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz` is needed for programs that are *not* on the default list, so I expected the default ones to stay confirmed. ### Check Same build and save, with `VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz` added to the same list: **28/28 translated with paired Wave64, 0 refused**, and the water rectangles are gone. Frame rate unchanged (median 11.6 fps vs 11.3 before, ~7 min each in the world). Skipping only the four water transmission-volumetrics programs (`VICTORY_SKIP_PIPELINES=5dc3b25986622949,6f225b641c5b0708,926c46bab3b86bd6,1aa247ed3653b616`) also removed the rectangles (and the water's colour), which is how I narrowed it to those. ### Suggestion Keep the confirmation for default-list programs regardless of `VICTORY_WAVE_PAIRS_ONLY`, e.g. `let by_default = paired_by_default(c.input);`, since their MODE writes were already checked. Otherwise, a note in the docs and the #378 thread that a custom list needs `VICTORY_WAVE_PAIRS_FP32=non-ieee-rne-ftz` as well. (#378's own bisection runs set `VICTORY_WAVE_PAIRS_FP32` explicitly, so they are not affected.)
TaynanGT commented 2026-11-29 11:35:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:35Z.


Thanks for isolating this to the list-dependent FP32 confirmation. Going from 21/28 to 28/28 paired programs with the same list and the rectangles disappearing is useful evidence. #429 targets the condition and cache key. A matched retest without the explicit override would help validate that fix.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7255216660 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/426#issuecomment-7255216660). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-29T11:35:35Z. --- Thanks for isolating this to the list-dependent FP32 confirmation. Going from 21/28 to 28/28 paired programs with the same list and the rectangles disappearing is useful evidence. #429 targets the condition and cache key. A matched retest without the explicit override would help validate that fix.
TaynanGT commented 2026-11-30 17:00:17 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:00:17Z.


main has moved to a new line of the code and everything is now named Vice-Tay: vice-tay.exe play, and VICE_TAY_* switches instead of VICTORY_* (details in #468). Could you check whether this still happens on the current main and say so here, with a log if you can?

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285567484 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/426#issuecomment-7285567484). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:00:17Z. --- `main` has moved to a new line of the code and everything is now named Vice-Tay: `vice-tay.exe play`, and `VICE_TAY_*` switches instead of `VICTORY_*` (details in #468). Could you check whether this still happens on the current `main` and say so here, with a log if you can?
TaynanGT commented 2026-11-30 20:16:05 +00:00 (Migrated from github.com)
Author
Contributor

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T20:16:05Z.


The mechanism changed under this, so the report needs re-reading against the current build.

VICTORY_WAVE_PAIRS_ONLY, VICTORY_WAVE_PAIRS_FP32 and VICTORY_WAVE_PAIRS don't exist any more. What's there now (crates/vice-tay-shader/src/emit/lower/pair.rs):

  • VICE_TAY_WAVE_PAIR - the paired form, on by default. =0 turns it off.
  • VICE_TAY_WAVE_PAIR_NOT=<hash>,... - the other way round from the old _ONLY list: hashes (or prefixes) of programs that skip the paired form and are refused or translated as they were without it.

So the thing you were switching on is now the default, and the list you set is now an exclusion list. The "7 of 28 refused, default programs lose the FP32 mode confirmation" shape can't be reproduced as written.

If the water rectangles are still there on a current main, that's worth knowing and it's a different bug from this one. Also worth a try: --set VICE_TAY_WAVE_PAIR=0 to see whether the paired form is involved at all now.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7290653777 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/issues/426#issuecomment-7290653777). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T20:16:05Z. --- The mechanism changed under this, so the report needs re-reading against the current build. `VICTORY_WAVE_PAIRS_ONLY`, `VICTORY_WAVE_PAIRS_FP32` and `VICTORY_WAVE_PAIRS` don't exist any more. What's there now (`crates/vice-tay-shader/src/emit/lower/pair.rs`): - `VICE_TAY_WAVE_PAIR` - the paired form, **on by default**. `=0` turns it off. - `VICE_TAY_WAVE_PAIR_NOT=<hash>,...` - the other way round from the old `_ONLY` list: hashes (or prefixes) of programs that *skip* the paired form and are refused or translated as they were without it. So the thing you were switching on is now the default, and the list you set is now an exclusion list. The "7 of 28 refused, default programs lose the FP32 mode confirmation" shape can't be reproduced as written. If the water rectangles are still there on a current `main`, that's worth knowing and it's a different bug from this one. Also worth a try: `--set VICE_TAY_WAVE_PAIR=0` to see whether the paired form is involved at all now.
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
TaynanGT/Vice-Tay#426
No description provided.