Stop preparing heap views after device removal #838
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!838
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/838/head"
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?
@Kamiloj9 on GitHub · 2026-11-25 10:01 UTC · original
Kamiloj9:codex/fail-on-heap-device-removal→main· +17 −23 · 3 files · 1 commits · closed without mergingChange
Route a confirmed device removal during heap view preparation through the existing fatal GPU report. Preserve the observed removal reason and relevant view descriptions. Release the buffer-range lock before reporting. Keep the existing polling cadence.
Evidence
A retained run first reported
DXGI_ERROR_DEVICE_RESETwhile preparing indexed textures. Upload and texture preparation continued and subsequently returned repeatedDXGI_ERROR_DEVICE_REMOVEDerrors. The last view is context for diagnosis. The cause of the reset remains unverified.Verification
@MamaLeVrai on GitHub · 2026-11-25 12:23 UTC · original · edited 2026-11-25 12:51 UTC
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
2166181intomainf85101bin a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with the errorsmainitself has on this machine (placed_filler_twins,depth_written, a sort, andmanual implementation of .is_multiple_of()atvictory-gpu/src/shadow.rs:2675; PR #841 fixes the first three), also with--all-features; this PR adds none. (Correction: my first version of this report said that theis_multiple_ofone was extra here. It is inmaintoo: my first baseline run ofmaindid not list it, and a run with--keep-goingon a cleanmaindoes.)cargo test --workspace --locked: run 1: 565 passed, 0 failed, 12 ignored; run 2: stopped atinplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offset(a failuremainhas now and then (PR #878)) (mainalone: 555 passed, 0 failed, 11 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
Pull request closed