GPU: stop when a direct submission fence wait fails #984
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/986"
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?
Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-25T15:10:41Z.
A synchronous submission can currently publish completion, retire resources and start copy-back after fence event registration fails or the Win32 wait returns
WAIT_FAILED. The non-relay late-submit path also runs the title's bottom-of-pipe writes after either error. The D3D12 device can still report success at that point.Route signal, event-registration and Win32 wait errors through the existing GPU failure handler. The synchronous submit and non-relay late paths share the direct-queue wait. Preserve the Windows last error when the wait fails. Publish synchronous completion after the existing device-removal check.
Verification
VICTORY_LATE_WAIT=1 VICTORY_RELAY=0. The title-facing write was visible while the fence remained pending.85e2a1fverified five injected paths in isolated WARP children. The failure callback observed no completion and the late write was untouched. The ordinary, timed and late controls completed. The exact production source passed the default Windows check, seven queue tests and the repository asset policy.The probes inject immediate API errors around an actual WARP queue. Physical-adapter device loss and title runs were outside this validation.
Assisted-by: Codex
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.