docs: the RT structure builder runs on NVIDIA with VICTORY_FIRSTLANE_OWN=1 #12

Closed
github-bot wants to merge 1 commit from github-bot/gh-12 into main AGit
Owner

@⁠vilja22 on GitHub · 2026-11-26 23:43 UTC · original
vilja22:rt-on-nvidia-docs → main · +80 −0 · 2 files · 1 commits · closed without merging

What this changes

Docs only, no behaviour change:

  • new docs/rt-on-nvidia.md with the settings, the evidence and the cache trap;
  • a note under README point 14 ("Ray tracing mostly off") linking to it.

Why

Point 14 says the builder cannot run on NVIDIA because its 64-lane programs are
refused, so every ray misses and the resolve passes make rooms white and hazy. The
first part stops being true with VICTORY_FIRSTLANE_OWN=1.

The builder has 53 programs. Without the switch, three fail to translate:

WARN the ray-tracing structure builder stays off: not all of its programs have a host
pipeline ... missing=3 of=53
which=["39321a95223001ed", "77360df21e12ea43", "9fc111d3be79364f"]

WARN shader does not translate ... hash=39321a95223001ed
error=converter shader.dxil v1: GFX10 code at 0x23c:
a first-lane read where not every lane runs is not supported
(77360df21e12ea43: 0x23c; 9fc111d3be79364f: 0x258)

With the switch:

INFO the ray-tracing structure builder runs: all of its programs have host pipelines
pipelines=53

The switch is exact when the value is the same in every lane of the console wave, which
is what the builder's scans are (the comment in lower.rs names that case). 6–7 draws a
frame are dropped instead of 500+.

Reproduction

VICTORY_BVH_BUILDER=1
VICTORY_BVH_MISS=0
VICTORY_FIRSTLANE_OWN=1
VICTORY_RENDER_SCALE=0.5
VICTORY_OWN_UPSCALER=1
VICTORY_COMPOSE=1
# only the eight known driver-compiler hangs; NOT scripts/rt_off_hashes.txt
VICTORY_SKIP_PIPELINES=32ed072b9f845048,3b9d6c2ddaae83d8,3e7e04c03727b40c,479975ca9ff7e370,569d5818db7555f3,9fb1ebea2c1a32d4,a9c43aa1a29e7b32,fdd56d97a806bcca

Series S. VICTORY_FIRSTLANE_OWN changes the translation, so pre-translate with the same
switches and delete pipelines/host-pipelines.bin; otherwise old PSOs are served and the
game re-translates hundreds of compute shaders while holding the last frame (we saw the
last frame six minutes old).

Cost (Series S, 0.5 scale, RT on)

scene fps frame GPU draws
lighter 11.3 88.1 ms 34.7 ms 2,654
heavy 7.8 128.6 ms 62.1 ms 4,612
heavy (other spot) 8.2–8.5 118–121 ms 55–56 ms 4.9–6.1k

Builder off in the same build: 9.6 fps, but the resolve passes run over an empty BVH (the
white/hazy artifact). Correct RT costs about 1–2 fps here.

Caveats

  • One machine: RTX 4070 12 GB, Ryzen 5 7600X, 30 GiB, CachyOS Linux, GE-Proton 11-14
    (vkd3d-proton 3.1-83), NVIDIA 580.196.07; not measured on Windows.
  • No AMD reference A/B for lighting correctness; the claim is that the builder runs and
    the RT path is live.
  • VRAM is near the ceiling at 0.5 scale (11.6 of 12.3 GB); 2/3 scale goes over it.

For discussion

Would you enable RT on NVIDIA with FIRSTLANE_OWN (possibly only for these three builder
programs, or as an opt-in for -RayTracing)? Is there a correctness reason not to for
these three? I can follow up with a code change if you want one; this PR is docs only on
purpose.

**@⁠vilja22** on GitHub · 2026-11-26 23:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/12) `vilja22:rt-on-nvidia-docs` → `main` · +80 −0 · 2 files · 1 commits · closed without merging ## What this changes Docs only, no behaviour change: - new `docs/rt-on-nvidia.md` with the settings, the evidence and the cache trap; - a note under README point 14 ("Ray tracing mostly off") linking to it. ## Why Point 14 says the builder cannot run on NVIDIA because its 64-lane programs are refused, so every ray misses and the resolve passes make rooms white and hazy. The first part stops being true with `VICTORY_FIRSTLANE_OWN=1`. The builder has 53 programs. Without the switch, three fail to translate: ``` WARN the ray-tracing structure builder stays off: not all of its programs have a host pipeline ... missing=3 of=53 which=["39321a95223001ed", "77360df21e12ea43", "9fc111d3be79364f"] WARN shader does not translate ... hash=39321a95223001ed error=converter shader.dxil v1: GFX10 code at 0x23c: a first-lane read where not every lane runs is not supported (77360df21e12ea43: 0x23c; 9fc111d3be79364f: 0x258) ``` With the switch: ``` INFO the ray-tracing structure builder runs: all of its programs have host pipelines pipelines=53 ``` The switch is exact when the value is the same in every lane of the console wave, which is what the builder's scans are (the comment in `lower.rs` names that case). 6–7 draws a frame are dropped instead of 500+. ## Reproduction ``` VICTORY_BVH_BUILDER=1 VICTORY_BVH_MISS=0 VICTORY_FIRSTLANE_OWN=1 VICTORY_RENDER_SCALE=0.5 VICTORY_OWN_UPSCALER=1 VICTORY_COMPOSE=1 # only the eight known driver-compiler hangs; NOT scripts/rt_off_hashes.txt VICTORY_SKIP_PIPELINES=32ed072b9f845048,3b9d6c2ddaae83d8,3e7e04c03727b40c,479975ca9ff7e370,569d5818db7555f3,9fb1ebea2c1a32d4,a9c43aa1a29e7b32,fdd56d97a806bcca ``` Series S. `VICTORY_FIRSTLANE_OWN` changes the translation, so pre-translate with the same switches and delete `pipelines/host-pipelines.bin`; otherwise old PSOs are served and the game re-translates hundreds of compute shaders while holding the last frame (we saw the last frame six minutes old). ## Cost (Series S, 0.5 scale, RT on) | scene | fps | frame | GPU | draws | |---|---|---|---|---| | lighter | 11.3 | 88.1 ms | 34.7 ms | 2,654 | | heavy | 7.8 | 128.6 ms | 62.1 ms | 4,612 | | heavy (other spot) | 8.2–8.5 | 118–121 ms | 55–56 ms | 4.9–6.1k | Builder off in the same build: 9.6 fps, but the resolve passes run over an empty BVH (the white/hazy artifact). Correct RT costs about 1–2 fps here. ## Caveats - One machine: RTX 4070 12 GB, Ryzen 5 7600X, 30 GiB, CachyOS Linux, GE-Proton 11-14 (vkd3d-proton 3.1-83), NVIDIA 580.196.07; not measured on Windows. - No AMD reference A/B for lighting correctness; the claim is that the builder runs and the RT path is live. - VRAM is near the ceiling at 0.5 scale (11.6 of 12.3 GB); 2/3 scale goes over it. ## For discussion Would you enable RT on NVIDIA with `FIRSTLANE_OWN` (possibly only for these three builder programs, or as an opt-in for `-RayTracing`)? Is there a correctness reason not to for these three? I can follow up with a code change if you want one; this PR is docs only on purpose.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:42:53 +00:00
github-bot closed this pull request 2026-11-27 06:05:05 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.