Skip page faults for unread BVH nodes #2108
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!2108
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2108"
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?
@Ondra97 on GitHub · 2026-11-29 09:33 UTC · original
Ondra97:codex/skip-unread-bvh-node-faults→main· +89 −7 · 2 files · 1 commits · merged 2026-11-30 14:12 UTCWhat it changes
The ray-tracing node instruction returns four all-ones dwords for instance and procedural node kinds without reading their data. The raw-address lowering still reported absent pages for those lanes. The host could then provision a 64 KiB page for a read that never happened.
Limit missing-page reports to active triangle and box lanes.
How it was tested
829188e9reported four pages on RTX. The patch reports the two required pages on both adapters in both the 32-bit and 64-bit instruction forms. The box, triangle, instance, procedural and masked-lane outputs match their expected dwords.VICTORY_MEMORY_NEAR=0. Both Windows release builds, staged asset policy and whitespace checks passed. Local tests ran on stable Rust 1.100.0 because the installed pinned toolchain has no working Cargo.main(55d06914) stops on the existingunwind_copyClippy error. The CI restoration in #2620 passed both Clippy gates and the full workspace suite and is open for maintainer review. Locally, the three BCPack oracle failures and the full-tree asset-policy failure reproduce on clean829188e9. The standalone complete shader suite was stopped to free the GPU for the smoke tests after 259 passes and nine skips.f06505ea) with Windows Rust 1.98.1. All 11 intersection tests and 16 CPU BVH reference tests passed. RTX and WARP both reported the two required pages in the 32-bit and 64-bit forms. The targeted case also passed withVICTORY_MEMORY_NEAR=0.Checked for overlap
bvh_missin the same file. #2095 changes host-side reclamation after packed structures shrink.@dyshay on GitHub · 2026-11-29 15:40 UTC · original
Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch
janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with--profile diag --features diagnostics, and the CPU tests of the touched crates pass. Runs on an RTX 4090 are queued (Series X 1440p, and Series S with ray tracing, DLSS Quality). Frame times will follow here.