gpu: sync retire queues before the title settle #3545
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3545
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/3543/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?
@lambirou on GitHub · 2026-11-30 03:33 UTC · original
lambirou:tests/startup-retire-settle→main· +3 −0 · 1 files · 1 commits · closed without mergingRefs #3509 (c).
case6_written_generation_preservedreleases the newer wrapper, which signals a release-time fence on every registered queue, then callssettle()without waiting.settle()resubmits the drain list but never waits, so a fence that has not completed leaves both wrappers retained and the_debug1stage fails withretained=131072/2against65536/1. Syncdirectandgatedbeforesettle(), as #3459 did forstartup_resource_retire.cpp.Test-only change: three lines in
tests/startup_resource_retire_title.cpp; the expectation and runtime code are unchanged.Validation
startup_resource_retire_title.startup_resource_retire_title_hardware_debug0: 5/5 passed in Debug and 5/5 passed at /O2 on the RX 9060 XT.startup_resource_retire_title_hardware_debug1: 5/5 skipped with code 77 in both presets because this host has noC:\\Windows\\System32\\d3d12sdklayers.dll.debug0variants pass; thedebug1variants skip 77 for the same missing debug layer.git diff --checkandgit show --checkpass.Not measured: the exact
_debug1path. The failure that prompted the fix was not reproduced locally because the D3D12 debug layer is unavailable on this host.AI-assisted.
@lambirou on GitHub · 2026-11-30 03:39 UTC · original
Folded into #3544 so the main-green fix, including the retire-queue sync, is one review unit. The 3-line test change is unchanged.
github-bot referenced this pull request2026-12-01 11:17:12 +00:00
Pull request closed