Stop preparing heap views after device removal #838

Closed
github-bot wants to merge 1 commit from gh-pr/838/head into gh-pr/838/base
Owner

@⁠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 merging

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.
**@⁠Kamiloj9** on GitHub · 2026-11-25 10:01 UTC · [original](https://github.com/fxceless/victory-fork/pull/838) `Kamiloj9:codex/fail-on-heap-device-removal` → `main` · +17 −23 · 3 files · 1 commits · closed without merging ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:52:14 +00:00
github-bot closed this pull request 2026-11-26 03:52:14 +00:00
Author
Owner

@⁠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 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.

**@⁠MamaLeVrai** on GitHub · 2026-11-25 12:23 UTC · [original](https://github.com/fxceless/victory-fork/pull/838#issuecomment-7162311448) · 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 `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.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.