Textures: VICTORY_TEXTURE_TURN_SPREAD=1 spreads hash turns by mixed page number instead of the 64 KB block #1712

Manually merged
github merged 4 commits from github-bot/gh-1712 into main 2026-11-29 08:21:28 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 23:41 UTC · original
101Leafy:nv/turn-spread → main · +32 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC

A guarded texture is hashed on its turn, and the turn is picked from the 64 KB block of its address. Big textures at aligned addresses then share one turn, so most of the bytes are hashed on one frame of the eight and little on the others.

VICTORY_TEXTURE_TURN_SPREAD=1 mixes the page number instead, so the same bytes spread over all the frames. Off by default, the turn is picked as before.

**@⁠101Leafy** on GitHub · 2026-11-28 23:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1712) `101Leafy:nv/turn-spread` → `main` · +32 −18 · 11 files · 4 commits · merged 2026-11-29 08:16 UTC A guarded texture is hashed on its turn, and the turn is picked from the 64 KB block of its address. Big textures at aligned addresses then share one turn, so most of the bytes are hashed on one frame of the eight and little on the others. VICTORY_TEXTURE_TURN_SPREAD=1 mixes the page number instead, so the same bytes spread over all the frames. Off by default, the turn is picked as before.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 23:46:55 +00:00
github-bot force-pushed github-bot/gh-1712 from 60ebaa825b to 22e3fb45df 2026-11-29 01:47:43 +00:00 Compare
Author
Owner

@⁠NotADonky43 on GitHub · 2026-11-29 02:56 UTC · original

RTX 5070 Ti, Series X opening: tested just the phase change on cumulative 7f78e8f7 (upstream d1486134), same release executable and same precompiled shader and native pipeline seeds. Four openings, off/on/on/off, each reached six settled heavy reports. Comparing off vs on: median of report p95s 64.8 vs 52.1 ms in the first pair, 59.3 vs 58.9 ms in reverse. Report FPS medians 20.3 vs 21.4 and 21.1 vs 22.1. Peak private bytes differed by under 0.2 GiB within either pair. At 3500–3999 draws/frame the reverse pair actually favored off (54.9 vs 64.5 ms p95, one report each). Indexed-texture waiting count medians were higher with spread in both pairs; that is a queue census, not evidence of missing pixels. This is a promising first pair but not a reproducible large hitch improvement or a visual comparison. Keeping it opt-in here. The phase unit tests also confirmed each address still gets one scheduled check per eight consecutive frames including counter wrap; they do not establish when a streamed texture becomes visible.

**@⁠NotADonky43** on GitHub · 2026-11-29 02:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1712#issuecomment-7249740513) RTX 5070 Ti, Series X opening: tested just the phase change on cumulative `7f78e8f7` (upstream `d1486134`), same release executable and same precompiled shader and native pipeline seeds. Four openings, off/on/on/off, each reached six settled heavy reports. Comparing off vs on: median of report p95s **64.8 vs 52.1 ms** in the first pair, **59.3 vs 58.9 ms** in reverse. Report FPS medians 20.3 vs 21.4 and 21.1 vs 22.1. Peak private bytes differed by under 0.2 GiB within either pair. At 3500–3999 draws/frame the reverse pair actually favored off (54.9 vs 64.5 ms p95, one report each). Indexed-texture waiting count medians were higher with spread in both pairs; that is a queue census, not evidence of missing pixels. This is a promising first pair but not a reproducible large hitch improvement or a visual comparison. Keeping it opt-in here. The phase unit tests also confirmed each address still gets one scheduled check per eight consecutive frames including counter wrap; they do not establish when a streamed texture becomes visible.
github manually merged commit 4d3ce24089 into main 2026-11-29 08:21:28 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1712
No description provided.