Repository navigation
fix(agc): keep presenting after a SUBOPTIMAL present - #9881
Conversation
|
The two-line change matches the distinction between |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Overlap with #9670 is the same QueuePresent hunk, not the same fix: that PR still zeroes the extent on VK_SUBOPTIMAL_KHR while moving present onto a separate queue. This PR only keeps presenting on SUBOPTIMAL (OUT_OF_DATE still clears). Whichever merges second will need a trivial rebase of that hunk; Depends on does not apply. |
92acab7 to
254b3d3
Compare
|
@mazen320 Could you add the requested repeated window-drag/resize results for the VulkanDevice.cpp:3748–3750 change? Please include OS, GPU, driver, exact head, and matched baseline/change observations showing presentation retained on SUBOPTIMAL and recovery after OUT_OF_DATE. The description still says manual validation is pending. |
254b3d3 to
e6c9022
Compare
d295ac3 to
5517fc4
Compare
|
@oneandonlydean Rebased onto current |
|
@oneandonlydean Understood — stopping the local drag/resize run. Updated ### Tested to drop the pending manual check; tip remains |
|
Windows run of this head
AI-assisted: yes (Claude Code) |
|
@babyhuey Thanks for the Windows selected-suite run on tip |
5517fc4 to
a4fd179
Compare
|
Rebased onto current |
|
Rebased onto current |
a4fd179 to
5a65acc
Compare
|
Rebased onto current |
5a65acc to
662b6e9
Compare
Dragging the window often returns VK_SUBOPTIMAL_KHR without a size change. Zeroing the swapchain extent made Presentable() false until a real Resize, which dropped frames and looked like flicker. Match AcquireImage: only OUT_OF_DATE clears the extent.
662b6e9 to
7fbe493
Compare
✅ NVIDIA GPU test: passedPR head
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (2, not counted against this PR)Passed on retry (1, failed in the parallel run, passed when re-run with a 360 s timeout; not counted against this PR)Validation IDs already present on main (3 IDs in 384 tests)Skipped (41)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
What
Keep presenting when
vkQueuePresentKHRreturnsVK_SUBOPTIMAL_KHRinstead of zeroing the swapchain extent. Window drag often reports suboptimal without a size change; clearing the extent madePresentable()false untilResizeand dropped frames (flicker).OUT_OF_DATEstill clears the extent, matchingAcquireImage.Tested
python tools/check_conventions.py --base upstream/mainmain; tip5517fc49a5. Manual window-drag/resize evidence withdrawn by review (source review + short gate suffice).5517fc49a5merged ontomain710cf9c0352(RTX 3080): 798 pass / 3 fail / 689 skip; the 3 fails also fail on thatmaintip alone (pr_overlap_encoding,agc_host_import_cut_lifetimeagc_host_import_cut_lifetime fails on Windows since the merge of #9159 #10746,windows_trace_importsDefender FP). No failures from this PR.Checklist