GPU: start swap-chain retry delay after failure #3694
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3694"
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 Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T08:16:11Z.
The retry added in #1626 now starts its one-second delay when a failed DXGI creation or resize returns. A slow call can no longer use up the retry interval before logging the failure.
The new clock-driven test simulates a call that fails after 1,500 ms. With the main implementation the immediately following operation runs. With this change it is skipped both immediately and 999 ms after the error. The call at 1,000 ms runs. The existing 60 FPS retry test still reaches two attempts in two seconds for instantaneous failures and verifies that success clears the delay.
Both focused GPU tests passed on Windows with default and diagnostics features. Strict GPU Clippy and the asset policy passed.
Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI Codex.
Imported from Marvisak/VIctory. Originally posted by andrewpozdnakov7-jpg on 2026-11-28T08:19:44Z.
Windows CI passed at
bc0140c, including both Clippy configurations and the workspace test job. The simulated 1,500 ms failure suppresses retries immediately after return and at 999 ms, then allows one at 1,000 ms. Both focused tests passed locally with default and diagnostics features.The next step is maintainer review. Please retain the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding the change into another commit.AI-assisted with OpenAI 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.