GPU: say when a fault lies past the end of its title memory copy #988
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from Marvisak/VIctory. Originally posted by h0useadv on 2026-11-24T14:42:12Z.
Device-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
Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T14:55:03Z.
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).
Imported from Marvisak/VIctory. Originally posted by MichaelSmithAI on 2026-11-24T14:57:50Z.
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.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:31:25Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.