You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop preparing heap views after device removal - #838
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.
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 mainf85101b 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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