Repository navigation
Conversation
… (#82), core/VRAM scaling (#49/#38/#42/#45/#47), scatter batching (#108), prelude textures (#80), and shader/UAV fixes Integrates 15 upstream PRs orthogonal to Issue #2's default speed-switch measurements: - GPU culling & compute cap: - Marvisak/VIctory#1731: real host D3D12 occlusion queries (wired into read_backs for both sync execute and async VICTORY_RELAY/LATE_WAIT flights) - fxceless/victory-fork#82: hardware depth-bounds test pass-through in pipelines and command lists - fxceless/victory-fork#66: lower default compute shader loop cap (4096 -> 256) - CPU multicore, streaming & memory/VRAM scaling: - fxceless/victory-fork#49: scale shadow, pipeline (keeping VICTORY_PIPELINE_THREADS override), and DirectStorage workers with CPU cores - fxceless/victory-fork#38: default-on parallel host-copy refreshes on >=4 logical CPUs (VICTORY_WIDE_REFRESH=0 opts out) - fxceless/victory-fork#108: batch adjacent zero-page unmaps in XMemMapPhysicalPagesScatter - fxceless/victory-fork#67: release directly indexed buffer ranges with their heap - fxceless/victory-fork#42, #45, #47: auto-scale card buffers, texture staging/floor, and snapshot/scratch/list pools from VRAM and RAM - Rendering smoothness & correctness: - fxceless/victory-fork#80: upload dirty title textures in HostList::prelude - fxceless/victory-fork#114: mirror placed unordered texture views onto host textures - fxceless/victory-fork#121: preserve VGPR slots observed by relative reads - fxceless/victory-fork#122: recompute ISG1 input usage and barycentrics flag after bitcode opt - fxceless/victory-fork#112: fix DXIL signature ordering for packed semantics Verified: - cargo xtask policy --staged: 21 files ok - cargo clippy --workspace --all-features --lib --tests -- -D warnings: 0 warnings - cargo test --workspace: 0 failures (140 victory-gpu incl. host occlusion query + depth-bounds tests; 226/226 victory-shader) - Live 2560x1440 run (RTX 4080, VICTORY_RELAY=2 + VICTORY_INPLACE=1): reached 3D world (frame 1285), 77 in-place windows (364 MB, 0 refused), 0.0 ms texture remap waits, 0 crashes, 0 D3D12 errors Fixes #10
|
Tested on CachyOS Linux (
(AI-assisted build/log analysis.) |
|
Measured together with #95 (range locks for title-memory mapping), which changes the same lock in Setup. One exe: #95 (b18da0e) + this PR (2765f3d) + #92 (02c2743), all on 4e17478. Each change can be turned off by a switch, so every run uses the same warm shader cache.
What this PR does on top of #95. It cuts the mapping changes the runtime makes per frame by a third (778 → 516), and texture time drops a little (52 → 36 ms). The frame median does not move beyond noise. The two "none" runs, A and A2, differ by 14% in median, so differences under ~15% are not resolved by one run each. Once #95 lets reads and remaps of different bytes go on together, the lock is no longer where frames wait. The fewer acquisitions this PR gives then save CPU rather than wait time. Your standalone numbers (753 → 643 ms) are measured without #95, and these runs do not contradict them. Together. The victory-hle, victory-gpu and victory-formats tests pass on the combination. The xmem tests also pass with AI use: measured and written with Claude Code (Claude Opus 5.5); posted with my approval. |
…page scatter unmaps (by Kamiloj9)
XMemMapPhysicalPagesScatter unmaps runs of consecutive zero-page entries in one call instead of one page at a time, never looking ahead across the input arrays an unmap could change. Port of fxceless PR fxceless#108 (2765f3d). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017V7WBCi8h4eymnRhdth77t
Summary
XMemMapPhysicalPagesScatter.Verification
victory-hlelibrary tests passed with diagnostics on the PR base. Targeted Clippy, the diagnostic build and the asset-policy check passed locally.