Textures: a slot keeps another texture of the same description only when its bytes match, by default, and on the show-later path too #2102

Manually merged
github merged 1 commit from github-bot/gh-2102 into main 2026-11-30 14:16:22 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-29 09:32 UTC · original
101Leafy:nv/slot-bytes-match → main · +12 −10 · 1 files · 1 commits · merged 2026-11-30 14:12 UTC

A descriptor slot written with a different texture of the same description (same size and format, placed elsewhere) went on showing the old texture until the new one's upload ran, unless VICTORY_KEEP_SHOWN=checked was set. Streamers reuse slots that way for unrelated textures, so a surface could show rainbow-noise texels, or a shirt could show another character's map of the same size, a different one each run.

checked is now the default: a moved texture of the same description is kept only when both memories begin and end with the same 4 KiB, which means the title really moved it. Otherwise the slot shows the neutral texture until the upload lands. A number in VICTORY_KEEP_SHOWN still picks the old modes (0, 1, 2).

The show-later path in mirror_inner also used its own copy of the rule and skipped the byte check. It now calls kept_meanwhile like the other path.

**@⁠101Leafy** on GitHub · 2026-11-29 09:32 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2102) `101Leafy:nv/slot-bytes-match` → `main` · +12 −10 · 1 files · 1 commits · merged 2026-11-30 14:12 UTC A descriptor slot written with a different texture of the same description (same size and format, placed elsewhere) went on showing the old texture until the new one's upload ran, unless `VICTORY_KEEP_SHOWN=checked` was set. Streamers reuse slots that way for unrelated textures, so a surface could show rainbow-noise texels, or a shirt could show another character's map of the same size, a different one each run. `checked` is now the default: a moved texture of the same description is kept only when both memories begin and end with the same 4 KiB, which means the title really moved it. Otherwise the slot shows the neutral texture until the upload lands. A number in `VICTORY_KEEP_SHOWN` still picks the old modes (0, 1, 2). The show-later path in `mirror_inner` also used its own copy of the rule and skipped the byte check. It now calls `kept_meanwhile` like the other path.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 09:34:07 +00:00
Author
Owner

@⁠DoubleD17 on GitHub · 2026-11-30 03:37 UTC · original · edited 2026-11-30 09:56 UTC

We ran a picture test of this PR's default, VICTORY_KEEP_SHOWN=checked, on main 41adb551: two 150 s runs, each with bursts of 10 captures a second at 45, 90 and 130 s, 600 frames in all, looked at frame by frame.

No new defects in any of the 600 frames. One burst was flagged by our detector, but it was a bird flying across. The mix-ups this PR targets (another texture of the same size shown on a surface) did not show in our scene with or without the switch, so this shows only that it does not regress anything here, not the fix itself. Frame rate was not compared: the mid-run bursts take CPU time.

Setup:

  • Ryzen 7 5800X (8 cores, 16 threads), RTX 5070 12 GB (DXGI budget 11,175 MB), 64 GB RAM, Windows 11;
  • Series X, 1440p with DLAA (DLSS at native resolution; corrected, this line said DLSS Performance at first), frame generation and ray tracing off;
  • main 41adb551 with the switch, against 41adb551 without it;
  • 150 s runs in two rounds (the second in reverse order), with four control runs spread through the session;
  • every run starts from the same save, restored before each run;
  • figures are medians of the 5 s host lines; memory is the median of the last ~100 s of each run.

AI Assisted

**@⁠DoubleD17** on GitHub · 2026-11-30 03:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2102#issuecomment-7268049169) · edited 2026-11-30 09:56 UTC We ran a picture test of this PR's default, `VICTORY_KEEP_SHOWN=checked`, on main 41adb551: two 150 s runs, each with bursts of 10 captures a second at 45, 90 and 130 s, 600 frames in all, looked at frame by frame. **No new defects in any of the 600 frames.** One burst was flagged by our detector, but it was a bird flying across. The mix-ups this PR targets (another texture of the same size shown on a surface) did not show in our scene with or without the switch, so this shows only that it does not regress anything here, not the fix itself. Frame rate was not compared: the mid-run bursts take CPU time. **Setup:** - Ryzen 7 5800X (8 cores, 16 threads), RTX 5070 12 GB (DXGI budget 11,175 MB), 64 GB RAM, Windows 11; - Series X, 1440p with DLAA (DLSS at native resolution; corrected, this line said DLSS Performance at first), frame generation and ray tracing off; - main 41adb551 with the switch, against 41adb551 without it; - 150 s runs in two rounds (the second in reverse order), with four control runs spread through the session; - every run starts from the same save, restored before each run; - figures are medians of the 5 s host lines; memory is the median of the last ~100 s of each run. AI Assisted
github manually merged commit 8c5000ac3c into main 2026-11-30 14:16:22 +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!2102
No description provided.