gpu(texture): back off guarded texture hashing after 4 quiet turns (DARNER_TEXTURE_HASH_BACKOFF) #509
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!509
Loading…
Reference in a new issue
No description provided.
Delete branch "hingeowl/Darner:pr/texture-hash-backoff"
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?
What it changes
Lesloo/longroad(a66080bf3a47f7e750e81aad1fd9542cb28c4ba7):Last::quiet) for guarded textures incrates/darner-gpu/src/texture.rs.64 -> 512frames) until a blind write is detected, which resetsquietto 0 and marks the texture hot as before.DARNER_TEXTURE_HASH_BACKOFF(on unless=0).How it was tested
e58ae4f(based onmainc8258f9)cargo xtask policy— passcargo clippy --workspace --all-targets --locked -- -D warnings— passcargo clippy --workspace --all-targets --all-features --locked -- -D warnings— passcargo test -p darner-gpu --locked— passDARNER_TEXTURE_HASH_BACKOFF=0; can be made opt-in if maintainers prefer).cam-city60(RTX 4090 + Ryzen 9 7950X3D, Series X, HW RT) as part of our integration branch with clean visual output and no texture staleness.cargo xtask policy, both workspaceclippygates,cargo test -p darner-gpu --locked.cam-city60run not yet recorded for this commit in isolation.Checklist
main.docs/asset-policy.md.Checked for overlap
Standalone A/B from a 24-thread Intel PC, with the switch: within noise here.
PC: i7-13700K (8P + 8E), RTX 4080 16 GB (driver 621.40), 64 GB, Windows 11 26300. Series X profile, 1440p with DLSS Quality, frame generation off, hardware ray tracing on, Reflex boost (where the card waits on the CPU side, so CPU savings would show),
DARNER_ALIAS_SHARE=1,DARNER_D3D12_BACKGROUND=0.Build: main
9b288a7+ #303 + #457 + this PR (e58ae4f), merged cleanly. B = as built (backoff on), A = the same exe withDARNER_TEXTURE_HASH_BACKOFF=0.Method: the opening scene of one save, entered the same way every run (no input after the start screen); medians of per-second values from the host log in three 45-second windows from the moment the world appears; warm pipelines. Order: B, A, B, A.
The first B run was a little better in the later windows, the second was the same as A, so I would not read a gain into it; a 2-minute scene in one room may simply not reach the 4-quiet-turns point for many textures. No stale textures seen in the screenshots.
Not tested: longer runs, driving, other CPUs, the gates.
[pr-performance][rendering] gpu(texture): back off guarded texture hashing after 4 quiet turns (DARNER_TEXTURE_HASH_BACKOFF)to gpu(texture): back off guarded texture hashing after 4 quiet turns (DARNER_TEXTURE_HASH_BACKOFF)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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.