Stop preparing heap views after device removal #837

Closed
Kamiloj9 wants to merge 1 commit from upstream-pr/838 into main
Kamiloj9 commented 2026-11-25 10:01:58 +00:00 (Migrated from github.com)

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_RESET while preparing indexed textures. Upload and texture preparation continued and subsequently returned repeated DXGI_ERROR_DEVICE_REMOVED errors. The last view is context for diagnosis. The cause of the reset remains unverified.

Verification

  • Independent review, workspace check with all features, existing CPU tests for descriptor slot tracking on the PR branch and fence completion and submission grouping in the integration checkout, and asset policy.
  • The terminal route was checked in source. No game run or hardware submission was used for this change.
<!-- greyfinch-sync:fxceless/victory-fork:issue:6601920606 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/838). Originally posted by [Kamiloj9](https://github.com/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_RESET` while preparing indexed textures. Upload and texture preparation continued and subsequently returned repeated `DXGI_ERROR_DEVICE_REMOVED` errors. The last view is context for diagnosis. The cause of the reset remains unverified. ## Verification - Independent review, workspace check with all features, existing CPU tests for descriptor slot tracking on the PR branch and fence completion and submission grouping in the integration checkout, and asset policy. - The terminal route was checked in source. No game run or hardware submission was used for this change.
MamaLeVrai commented 2026-11-25 13:06:04 +00:00 (Migrated from github.com)

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 2166181 into main f85101b in a throwaway tree (no conflict). cargo clippy --workspace --all-targets --locked -- -D warnings fails with the errors main itself has on this machine (placed_filler_twins, depth_written, a sort, and manual implementation of .is_multiple_of() at victory-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 the is_multiple_of one was extra here. It is in main too: my first baseline run of main did not list it, and a run with --keep-going on a clean main does.) cargo test --workspace --locked: run 1: 565 passed, 0 failed, 12 ignored; run 2: stopped at inplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offset (a failure main has now and then (PR #878)) (main alone: 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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7162311448 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/838#issuecomment-7162311448). Originally posted by [MamaLeVrai](https://github.com/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 `2166181` into `main` `f85101b` in a throwaway tree (no conflict). `cargo clippy --workspace --all-targets --locked -- -D warnings` fails with the errors `main` itself has on this machine (`placed_filler_twins`, `depth_written`, a sort, and `manual implementation of .is_multiple_of()` at `victory-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 the `is_multiple_of` one was extra here. It is in `main` too: my first baseline run of `main` did not list it, and a run with `--keep-going` on a clean `main` does.) `cargo test --workspace --locked`: run 1: 565 passed, 0 failed, 12 ignored; run 2: stopped at `inplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offset` (a failure `main` has now and then (PR #878)) (`main` alone: 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.
upstream-sync closed this pull request 2026-11-26 01:05:57 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!837
No description provided.