fix(gpu): raise fault-page bound to 16,384, skip <4 GiB strays, and log refused pages #1008
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!1008
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1008"
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?
@whoalin1 on GitHub · 2026-11-28 10:59 UTC · original
whoalin1:pr/bvh-fault-strays-confirm→main· +102 −8 · 1 files · 1 commits · closed without mergingSummary
Updates title-memory fault-page handling in
crates/victory-gpu/src/memory.rsfor ray-tracing / BVH workloads:FAULTS_ALLfrom2,048to16,384and addsVICTORY_BVH_FAULTS_ALL=<n>(the2,048cap could exhaust ~50 s into a scene, leaving later committed reads zeroed).< 4 GiB(page < 0x1_0000) and out-of-range (>= MEMORY_PAGES - 1) stray walker faults before tracking or counting.VICTORY_BVH_FAULTS_CONFIRM=<frames>(unset/0preserves immediate first-ask mapping;N > 0waits for a second ask withinNframes to filter single-frame stray bursts).?: uncommitted,b: in title buffer,p: packed structure), plus per-intervaldistinct,left, andwaitingstats.Verification
Verified on Windows (
x86_64-pc-windows-msvc, RTX 4070 SUPER):git diff --check origin/main..HEAD— cleancargo run --locked -p xtask -- policy—asset policy: 294 files okcargo clippy --workspace --all-targets --locked&--all-features— 0 warnings incrates/victory-gpu/src/memory.rscargo test --release -p victory-gpu --locked --lib memory:: -- --test-threads=1— 2 passed, 0 failed, 0 ignored@trustno1-coder on GitHub · 2026-11-28 20:23 UTC · original
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 (
VICTORY_RT_FAULT_MB,VICTORY_RT_FAULT_KEEP). The two conflict throughout memory.rs. If yours does something #722 doesn't, please rebase it on main once #722 is in and open a new pull request.Pull request closed