Stop preparing heap views after device removal #837
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/838"
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 fxceless/victory-fork. Originally posted by Kamiloj9 on 2026-11-25T10:01:58Z.
Change
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
Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T12:23:36Z.
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