Fix pipeline wait accounting and diagnose wave-size limits (RTX 5060 gameplay verified) #16
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/DexNom--VIctory!16
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-16"
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?
@Castyan on GitHub · 2026-11-25 18:29 UTC · original
Castyan:diagnose-nvidia-wave32→main· +316 −37 · 8 files · 6 commits · open## Changes
victory translate --pipelinesso the offline translator uses the detected width by default. Explicit overrides still work.Validation
On RTX 5060 (driver 32.0.16.2124), the Windows SDK validator passed all 18 targeted compute shaders. Twelve comparison pipelines were created. The six pipelines that returned
0x80070057before the change now reportshader requires wave64, host supports at most wave32. The release diagnostics build, focused PSV regression test, and asset policy check passed.The six compute shaders still need a wave32 lowering that preserves shared-memory ordering. The breakpoint at the end of the recorded session and the scene's performance remain open.
@molodayamama on GitHub · 2026-11-25 18:53 UTC · original
Verified on NVIDIA GeForce RTX 4060 8 GB (Ada, wave32) / AMD Ryzen 5 5600 / Windows 10 22H2 (
19045.5794) / Rust1.98.1(x86_64-pc-windows-msvc):main(2e01ab4)cargo test --locked -p xtask: 4 passed, 0 failed (196 files ok)cargo clippy --workspace --all-targets --locked -- -D warnings(default &--all-features): 0 warnings1.614.1via #12 for Windows 10 SM 6.6; no game files):emit::container::tests::fixed_wave_size_requires_matching_lanes_in_complete_runtime_info: passedemit::wave64_tests: 7 passed, 0 failedcargo test --locked -p victory-gpu --lib: 188 passed, 0 failed@Castyan on GitHub · 2026-11-25 19:23 UTC · original
Thanks @molodayamama for the independent RTX 4060 validation. I also tested the exact PR commit (
1ae3b85, release with diagnostics) in game on an RTX 5060, driver32.0.16.2124, with the Series X profile and experimental RT off. This run used copied save data and a separate, effectively cold pipeline cache. Both upload switches were set before launch.10de:2d05) and reportedhost wave lanes min=32 max=32.required=64 max=32for02384a60fda6f2d0,369cbe906ea72764, and2da4beb386509b77. The game kept rendering after all three refusals.0xc0000005during intro prestreaming, about 2 min 21 s after launch. It attempted a null write at image offset+0x23cf683, with the next two image-relative stack entries at+0x2215c35and+0x2215eca. These match an earlier run on2e01ab4. There was no DXGI device removal in this run.This confirms the adapter and wave-size diagnostics in game. The wave32 lowering and the recurring title crash remain open. The cold-cache run does not establish a performance change or a causal link between the skipped compute dispatches and the crash.
@Castyan on GitHub · 2026-11-25 19:53 UTC · original
Final RTX 5060 integration update for commit
e7c90ca. The build combining #1, #7, #9, #12, and #16 reached the introduction and crashed about 13 min 18 s after launch, during intro prestreaming (frame 1260).0x80000003at+0x63966f. The next four title-image stack offsets match the earlier run on2e01ab4.0xc0000005null write did not recur in this run.The breakpoint trigger remains unverified. This combined run cannot isolate the effect of any single PR.
@Castyan on GitHub · 2026-11-25 20:15 UTC · original
RTX 5060 retest: reached interactive gameplay
Tested on Windows 11 build 26300.9974, NVIDIA driver 32.0.16.2124, Series X profile, system D3D12, and release with diagnostics. Both runs used copied saves,
VICTORY_LOG=info,VICTORY_FILL_WORKERS=4, andVICTORY_PARALLEL_PRELUDES=1, with experimental RT and GPU detiling off. The integration included #1 (a902405), #7 (3ac8713), #9 (83e78b9), #12 (999fd75), and #16.98c516d0x80000003at+0x5149aecafter 6m48s, intro prestreaming at frame 1944,INSTANCE_LIST=45000/45000.00b26e5, including6b5a8880after the suspend timeout.For samples with at least 500 draws, the median was 2,768.4 ms/frame for the reference (36 samples) and 570.9 ms/frame for the corrected run (89 samples). The last three samples in the corrected run were 249–290 ms/frame at about 5,000 draws. The cache sizes and base waits differed, so the numbers describe the two tested configurations. The corrected run ended before the breakpoint that ended the older trace run at 13m18s, and this is one successful gameplay session.
Change and verification
6b5a888charges the loading allowance once per frame. Sequential waits share one base allowance, overlapping waits count once in shared-window mode, and an outstanding wait is still counted when the next frame starts. This follows the accounting issue reported in the discussion of #7. The focused suite passed 10/10 on #16 alone and 12/12 with the integration, including #7's Present ceiling and the new regressions.6b82bc7d22016cb5and926c46bab3b86bd6to the six already recorded. An offline check validated all nine DXIL containers, and the control created its pipeline. The eight wave64 pipelines remain outside the RTX 5060's32..=32range.Recorded results and settings
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.