GPU: say when a fault lies past the end of its title memory copy #988
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!988
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-988"
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?
@h0useadv on GitHub · 2026-11-24 14:42 UTC · original
h0useadv:gpu/fault-past-copy-end→main· +27 −2 · 1 files · 1 commits · openDevice-removed reports print the nearest title-memory copy below the faulting VA and the offset into it. Whether that offset is inside the copy or past its end had to be worked out by hand. On an RX 9070 XT, every page fault in #557 turned out to be past the end of a 4 MiB copy (0x1000 to 0x52000 past it): a read beyond the copied range that lands in whatever allocation follows, which DRED then names as a freed texture. See #557.
The line now ends with
inside itor0x… past its end, after the unchangedoffset 0x…, so existing log searches still work:crates/victory-gpu/src/shadow.rs), +27/−2, with a unit test for the placement.cargo test -p victory-gpu --lib shadow::tests: passes.cargo clippy -p victory-gpu --all-targets: no warnings.cargo xtask policy: 154 files OK.rustfmt: the changed lines are formatted; the file has older unformatted lines onmain, left alone here.AI-assisted (Claude Code).
🤖 Generated with Claude Code
@Zipettte on GitHub · 2026-11-24 14:55 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
089bd76:cargo test -p victory-gpupasses, 51 passed / 0 failed. Workspace baseline on main (ffe310e) was green on the same machine (342 passed).Tested with AI assistance (Claude).
@MichaelSmithAI on GitHub · 2026-11-24 14:57 UTC · original
Both placement tests passed on an RTX 4090 under Wine/vkd3d-proton 3.2. In the added check we registered a buffer of 8,000 bytes (
0x1f40) and queried its live D3D12 backing, which was 65,536 bytes. At offset0x1f50the formatter reported0x10 past its end. That address is 16 bytes past the registered guest range and still inside the host buffer.For a registered buffer, “past its end” therefore measures distance from the logical end of the nearest lower tracked copy. Identifying the view used by the stopped command still requires separate binding evidence. The fixture queried the formatter directly without inducing a GPU fault.
@Marvisak on GitHub · 2026-11-25 00:31 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:crates/victory-gpu/src/shadow.rs.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
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.