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

Open
isgti07-hub wants to merge 1 commit from upstream-pr/4643 into main
isgti07-hub commented 2026-12-01 00:34:17 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by isgti07-hub on 2026-12-01T00:34:17Z.


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), #4206 (open: mentions RECHECK_FRAMES, changes something else).

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5576436466 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4643). Originally posted by [isgti07-hub](https://github.com/isgti07-hub) on 2026-12-01T00:34:17Z. --- ## 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`), #4206 (open: mentions `RECHECK_FRAMES`, changes something else). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/4643:upstream-pr/4643'
git switch 'upstream-pr/4643'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/4643'
git switch 'upstream-pr/4643'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4643'
git switch 'upstream-pr/4643'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4643'
git switch 'main'
git merge --squash 'upstream-pr/4643'
git switch 'main'
git merge --ff-only 'upstream-pr/4643'
git switch 'main'
git merge 'upstream-pr/4643'
git push origin 'main'
Sign in to join this conversation.
No reviewers
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
trustno1-coder/VIctory-NVIDIA!4643
No description provided.