Repository navigation
Conversation
Port the recycled ray-tracing fault-page budget from fxceless/victory-fork commit 3e573d2556adc5a5b22ccd2d6d92231a72ee55bb (including the fault-miss breakdown from 52dfd12 carried in 3e573d2) into crates/victory-gpu/src/memory.rs while preserving PR trustno1-coder#88 (30b979e) in Memory::another.
…art of fxceless 2eade68c) The pool gate port left this hunk out while this branch had no pages held from faults. With the fault-page budget of PR trustno1-coder#401 merged, card_room() takes the same rule as shadow::by_address: crate::resource::by_address_room. (cherry picked from commit 2eade68c of fxceless/victory-fork, memory.rs only) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UQcgHR3YtRXoG9ujeWvCLK
|
Data point from Linux (Wine + GE vkd3d-proton, RTX 5070 Ti 16 GB, Series X profile, title ray tracing on with VICTORY_BVH_BUILDER=1). Two 8-minute runs on the same save, without and with fxceless 3e573d25 (the same change as this PR):
On frame rate: ray tracing stays expensive on this card (9-12 fps at 4K output), but that cost is separate from this change. The builder dispatches (150-1500 a frame) account for most of it. (AI-assisted test and write-up.) |
|
Thanks for this. I'm closing it without merging because #722 covers the same problem (#688: the faulted-page budget ran out and never came back) and is going into main: faulted pages are kept under a reusable budget ( |
Summary
Ports the 512 MB recycled ray-tracing fault-page budget and fault-miss breakdown from
fxceless/victory-forkcommit3e573d2556adc5a5b22ccd2d6d92231a72ee55bb(GPL-3.0-or-later), rebased ontomain(df2daaf).Changes
crates/victory-gpu/src/memory.rs:goes_first,fault_room,give_back), and reports the per-frame fault-miss breakdown while preserving merged PR Ray tracing: no arena storm when the low range is full (the 30 s watchdog crash); reserve the arenas' room at the start #88 (Memory::another).Distinct from PR #181 (
shadow::exact()buffer pooling) and PR #295 (placed-page write-watch stamps).Verification
Verified on Windows (
x86_64-pc-windows-msvc) againstmain(df2daaf):git diff --check main..HEAD— cleancargo test -p xtask --locked— 6 passed, 0 failed (asset policy: 287 files ok)cargo clippy -p victory-gpu --all-targets --locked— exit 0, 0 warnings in changed files (mainhas pre-existing clippy warnings in untouched files)cargo test -p victory-gpu --locked memory::— 5 passed, 0 failed