Textures picked by index looked at again sooner; play: painted textures every 6 frames #4644

Open
github-bot wants to merge 1 commit from github-bot/gh-4643 into main AGit
Owner

@⁠isgti07-hub on GitHub · 2026-12-01 00:34 UTC · original
isgti07-hub:fix/texture-recheck-sooner → main · +9 −2 · 2 files · 1 commits · open

What it changes

After a whole upload, a texture picked by index is looked at again 4, 12, 40, 120 and 400 frames later. One the title streams sharper levels into between two looks stays blurry until the next. In a 20-minute drive, 202 textures were found changed with nothing told of it (changed after its upload with nothing to tell of it): the median 4 frames after their upload, the tenth slowest 16, the slowest 176 (about 9 s at 20 fps). In play: textures that look as if they are still loading.

  • RECHECK_FRAMES is now [2, 6, 12, 24, 48, 100, 200, 400] (a look reads 48 KiB).
  • The launcher sets VICTORY_PAINTED_EVERY=6 (from #1573, off by default), so a texture once found changed is looked at every 6 frames for good.

How it was tested

  • GPU and profile: RTX 5090 32 GB, Ryzen 7 9800X3D, 62 GB RAM, Windows 11; Series X, 3840x2160 output, DLSS Quality, no frame generation, no ray tracing; release build.
  • Before: low-quality textures that stayed so for seconds while driving; found up to 176 frames late.
  • After: they came up to quality much sooner in play. The texture pass took the same time (about 1.0 to 1.7 s of every 5 s over a 20-minute session, as before).
  • Game results are from my own build, which carried this change together with the other three pull requests listed in this set; this exact commit was not played on its own.
  • For shader changes, the wave sizes tested: no shader change.
  • cargo test passed for the crates it touches: yes, cargo test --release --locked -p victory-gpu --lib draw:: on a80a3ea0: 33 passed, 0 failed, 2 ignored.
  • Commit: a80a3ea0, on main 7d93ee07.

Checked for overlap

  • I searched the open and closed pull requests for RECHECK_FRAMES and VICTORY_PAINTED_EVERY. Related: #4161 (open: watches a texture for writes after its last recheck; complementary, this makes the looks before it sooner; both touch draw.rs near RECHECK_FRAMES), #1573 (merged: added VICTORY_PAINTED_EVERY), #4207 (open: mentions RECHECK_FRAMES, changes something else).

🤖 Generated with Claude Code

**@⁠isgti07-hub** on GitHub · 2026-12-01 00:34 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4643) `isgti07-hub:fix/texture-recheck-sooner` → `main` · +9 −2 · 2 files · 1 commits · open ## What it changes After a whole upload, a texture picked by index is looked at again 4, 12, 40, 120 and 400 frames later. One the title streams sharper levels into between two looks stays blurry until the next. In a 20-minute drive, 202 textures were found changed with nothing told of it (`changed after its upload with nothing to tell of it`): the median **4 frames** after their upload, the tenth slowest **16**, the slowest **176** (about 9 s at 20 fps). In play: textures that look as if they are still loading. - `RECHECK_FRAMES` is now `[2, 6, 12, 24, 48, 100, 200, 400]` (a look reads 48 KiB). - The launcher sets `VICTORY_PAINTED_EVERY=6` (from #1573, off by default), so a texture once found changed is looked at every 6 frames for good. ## How it was tested - GPU and profile: RTX 5090 32 GB, Ryzen 7 9800X3D, 62 GB RAM, Windows 11; Series X, 3840x2160 output, DLSS Quality, no frame generation, no ray tracing; release build. - Before: low-quality textures that stayed so for seconds while driving; found up to 176 frames late. - After: they came up to quality much sooner in play. The texture pass took the same time (about 1.0 to 1.7 s of every 5 s over a 20-minute session, as before). - Game results are from my own build, which carried this change together with the other three pull requests listed in this set; this exact commit was not played on its own. - For shader changes, the wave sizes tested: no shader change. - `cargo test` passed for the crates it touches: yes, `cargo test --release --locked -p victory-gpu --lib draw::` on a80a3ea0: 33 passed, 0 failed, 2 ignored. - Commit: a80a3ea0, on main 7d93ee07. ## Checked for overlap - [x] I searched the open and closed pull requests for `RECHECK_FRAMES` and `VICTORY_PAINTED_EVERY`. Related: #4161 (open: watches a texture for writes after its last recheck; complementary, this makes the looks before it sooner; both touch `draw.rs` near `RECHECK_FRAMES`), #1573 (merged: added `VICTORY_PAINTED_EVERY`), #4207 (open: mentions `RECHECK_FRAMES`, changes something else). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
After a whole upload, a texture's memory was looked at again 4, 12, 40, 120
and 400 frames later. One the title streamed sharper levels into between two
looks stayed blurry until the next: in a 20-minute drive, 202 textures were
found changed with nothing told of it, the median 4 frames after the upload,
the tenth slowest 16 and the slowest 176 (about 9 s at 20 fps), seen in play
as textures that looked as if they were still loading.

RECHECK_FRAMES is now 2, 6, 12, 24, 48, 100, 200, 400 (a look reads 48 KiB),
and the launcher sets VICTORY_PAINTED_EVERY=6 so a texture once found
changed is looked at every 6 frames for good. In play the low-quality
textures came up to quality much sooner; the texture pass took the same time
over a 20-minute session (about 1.0 to 1.7 s in every 5).

RTX 5090 32 GB, Ryzen 7 9800X3D, 62 GB RAM, Windows 11, Series X profile,
3840x2160 output, DLSS Quality.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 00:35:12 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4644/head:github-bot/gh-4643'
git switch 'github-bot/gh-4643'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4643'
git switch 'github-bot/gh-4643'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4643'
git switch 'github-bot/gh-4643'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4643'
git switch 'main'
git merge --squash 'github-bot/gh-4643'
git switch 'main'
git merge --ff-only 'github-bot/gh-4643'
git switch 'main'
git merge 'github-bot/gh-4643'
git push origin 'main'
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!4644
No description provided.