Reduce CPU work preparing GPU submissions #1800
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!1800
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1800"
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?
@t90 on GitHub · 2026-11-29 00:07 UTC · original
t90:contribute/stutter-fixes-main→main· +611 −154 · 5 files · 4 commits · openSupersedes #850, which was closed with a request to rebase on current main and open a replacement. Based on
d4b5d51702db615bd0aec74a35b042f60ba4cf62.What it changes
Draw submission allocates a descriptor-heap vector, fill planning repeats work and target lookups, small refresh jobs contend on shared accounting, and independent title-buffer backing allocations serialize unrelated lookups under the registration lock.
Four separate commits:
This excludes launcher/configuration changes, lighting, facial-data changes, early command-list recycling, and unrelated texture experiments.
How it was tested
cargo test -p victory-gpu --profile rc --features diagnostics --locked --offlineruns: 16 passed, 0 failed, 1 existing test ignored. Filters:host::card_steps::tests,shadow::wide_range_tests,shadow::title_allocation_tests,descriptor_bindings_omit_empty_slots(one test thread).Known baseline checks: unchanged upstream emits five compiler warnings; the asset-policy command fails because unchanged
crates/victory-shader/src/emit/lower.rsexceeds its 655360-byte source-file limit. Strict CI is not claimed green. No source/CI lint allowances or policy exemptions were added.Checked for overlap
AI-assisted implementation and validation; gameplay feedback from @t90.
@POMXARK on GitHub · 2026-11-29 00:45 UTC · original
@t90 — ran a full 20-minute gameplay A/B on Windows 11 (RTX 5080 16 GB, Ryzen 7 5700X 8C/16T, 32 GB RAM, Series X 1440p, DLSS Quality + MFG 4x, release build, matched save & switches with
VICTORY_FILL_TITLE=1,VICTORY_PLACED_READS=1,VICTORY_CARD_STEPS=2):Verification
title_allocation_tests3/3 PASS (0.35s),card_steps10/10 PASS (0.22s).0errors over 20 minutes,refused=2, clean visuals across all 16 captured screenshots.20-minute A/B (matched draw buckets)
#1637 + #1633)58.5 ms)57.7 ms)-0.8 ms)73.6 ms)73.1 ms)-0.5 ms)95.6 ms,85.8 MB)102.3 ms,86.7 MB)+6.7 ms)70.3 ms)71.0 ms)plan 1.5,steps 35.6)plan 1.8,steps 37.5)>100ms(5s bins)>100msbinsTakeaway
1k–4k,4k–7k), PR #1800 was slightly ahead (+0.7%to+1.2%) and trimmed peak Commit by-244 MBwith0errors.7k–10kscenes (at identical~86 MB/fcopy volume),plan(1.5 -> 1.8 ms) andsteps(35.6 -> 37.5 ms) were slightly slower (-6.7%FPS,+420total CPU-seconds) — likely from the per-submissionWriterIndexbuild and8-wayVec<&Op>bucket allocations incard_steps::take_stepswhenplanis already fast (~1.5 ms). Reusing scratch buffers forWriterIndex/parts(or gatingWriterIndexto higher writer counts) may keep thedraw.rs+shadow.rswins without the heavy-scene regression.github-bot referenced this pull request2026-11-29 12:10:51 +00:00
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.