GPU: a live device is not reported removed #1634
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1634
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1634/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@davutsimsekk on GitHub · 2026-11-24 20:11 UTC · original
davutsimsekk:fix/get-device-removed-reason→main· +14 −0 · 1 files · 1 commits · closed without mergingID3D12Device::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@davutsimsekk on GitHub · 2026-11-24 21:12 UTC · original
Duplicate of #928, which wires the same slot and reports the host device's state (and fixes #900). Closing this one in favor of it.
Pull request closed