Repository navigation
GPU: a live device is not reported removed - #1634
Closed
davutsimsekk wants to merge 1 commit into
Closed
davutsimsekk wants to merge 1 commit into
davutsimsekk wants to merge 1 commit into
Conversation
github-actions Bot
added a commit
to KevinPratap/VIctory
that referenced
this pull request
Nov 24, 2026
Contributor
Author
nazmi
added a commit
to nazmi/VIctory
that referenced
this pull request
Nov 24, 2026
…sak#928 Integrated: Marvisak#1476 (MD5 round constants precomputed, stack buffer instead of a per-block Vec), Marvisak#1590 (XMA frame counting follows the selected packet chain), Marvisak#1635 (an indirect call with no host pipeline is dropped before the argument refresh, so nothing transitions a buffer nothing will read), Marvisak#988 (a fault past the end of its title-memory copy now says how far past), and Marvisak#928 (GetDeviceRemovedReason reports the host's real state). Marvisak#1634 was merged earlier and then reverted: it hardcoded S_OK, which asserts a live device even when the host's was removed. Marvisak#928 is the same slot wired to the host, and its author had closed Marvisak#1634 in its favour. Duplicates confirmed: Marvisak#1268, Marvisak#522, Marvisak#528, Marvisak#1494, Marvisak#1636 (whose test this branch adds; the code was already right). Obsolete: Marvisak#1523. Gate at b976f7f: fmt 0 differing, both Clippy gates 0 errors, policy 219 files, workspace 678 passed / 0 failed with the 10 documented GPU skips.
nazmi
added a commit
to nazmi/VIctory
that referenced
this pull request
Nov 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
ID3D12Device::GetDeviceRemovedReason(vtable 0x128) was left unwritten, so a healthy device answeredE_NOTIMPL. A title's watchdog that treats anything butS_OKas device loss would see a failure on a live device; the host device reportsS_OKin the same run.This wires slot 0x128 to a small method that returns
S_OK. Host-device removal is still reported byhostwhen a submission fails.Test
a_live_device_is_not_reported_removedcalls slot 0x128 on the created device. Onmainit returnsE_NOTIMPL(0x80004001); with the change it returnsS_OK.cargo test -p victory-gpu --lib: 51 passed, 1 ignoredcargo clippy -p victory-gpu --all-targets --locked -- -D warnings: cleanrustfmt --edition 2024 --check crates/victory-gpu/src/device.rs: clean