Start the largest CPU texture refresh first in mixed batches (opt-in) #1821
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!1821
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1821"
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?
@NotADonky43 on GitHub · 2026-11-29 00:25 UTC · original
NotADonky43:perf/large-texture-first→main· +34 −0 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCFixes #1820. Opt in with
VICTORY_LARGE_TEXTURE_FIRST=1(default unchanged). Within an existing parallel CPU batch that already has both textures and buffers, move only the first maximum-size texture to the front. Preserve relative order for every other task. Size is its potential source read length: not a guarantee the task is expensive. No filtering, rebudgeting, fence, shader or GPU command order changes. No new allocations in the scheduling step.Windows RTX 5070 Ti, Series X, 1440p DLSS Quality, no FG, estimated lighting. Same optimized A/B exe
4882e6b4on ourd4b5d517-based cumulative; identical warm cache/profile seeds including 25,657 shaders. Ran off/on then on/off. In heavy windows with zero pending pipelines, medians (off vs on):6–7 reports per run; second effect notably smaller, shots not visually matched. No sustained FPS, reduced total memory, or exact visual parity claim. All four reached their heavy-rendering milestone. New ordering regression passed (empty, ties, preservation of every other job); existing batch tests 5 passed, 1 ignored. Final public source uses a non-local switch name; the experimental A/B used the same selection algorithm.
Checked #1138 and open refresh/scheduling PRs. #1298 targets different parts of this function; #614/#653 address clean checks/locking. Clean source merge onto
d4b5d517verified. Would welcome an independent scene-matched run on a second machine before changing defaults.@UwUCammie on GitHub · 2026-11-29 02:11 UTC · original
An independent cold-start result from the Wine port on an RX 7900 XT, RADV 26.3.1, native 720p: 26.17 FPS with default order, 25.72 FPS with largest-first. Both used the same executable, five empty graphics caches and the full first 300 seconds of a fresh story. P99 improved by 4.32 ms with the switch, while total time in long gaps increased by 4.98 s. This covers cold startup rather than the warm, zero-pending-pipeline windows in your report. One completed run per setting. Wine measurements