Textures picked by index looked at again sooner; play: painted textures every 6 frames #4644
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4644
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4643"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@isgti07-hub on GitHub · 2026-12-01 00:34 UTC · original
isgti07-hub:fix/texture-recheck-sooner→main· +9 −2 · 2 files · 1 commits · openWhat 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_FRAMESis now[2, 6, 12, 24, 48, 100, 200, 400](a look reads 48 KiB).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
cargo testpassed for the crates it touches: yes,cargo test --release --locked -p victory-gpu --lib draw::ona80a3ea0: 33 passed, 0 failed, 2 ignored.a80a3ea0, on main7d93ee07.Checked for overlap
RECHECK_FRAMESandVICTORY_PAINTED_EVERY. Related: #4161 (open: watches a texture for writes after its last recheck; complementary, this makes the looks before it sooner; both touchdraw.rsnearRECHECK_FRAMES), #1573 (merged: addedVICTORY_PAINTED_EVERY), #4207 (open: mentionsRECHECK_FRAMES, changes something else).🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.