Skip to content

Stop preparing heap views after device removal - #838

Closed
Kamiloj9 wants to merge 1 commit into
fxceless:mainfrom
Kamiloj9:codex/fail-on-heap-device-removal
Closed

Kamiloj9 wants to merge 1 commit into
fxceless:mainfrom
Kamiloj9:codex/fail-on-heap-device-removal

Conversation

@Kamiloj9

Copy link
Copy Markdown

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

MamaLeVrai commented Nov 25, 2026 •

Copy link
Copy Markdown

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.

@Kamiloj9 Kamiloj9 closed this Nov 26, 2026
@Kamiloj9
Kamiloj9 deleted the codex/fail-on-heap-device-removal branch November 26, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants