agc_driver_wait_attribution_trace variants fail intermittently on NVIDIA Windows under ctest --parallel 4 #28231
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 boykopovar/AnyPS5. Originally posted by hamdanpor-ctrl on 2026-11-29T10:36:48Z.
What happens
agc_driver_wait_attribution_traceandagc_driver_wait_attribution_trace_draw_pipelinesometimes fail on an NVIDIA RTX 3050 Laptop on Windows when the GPU set runs withctest --parallel 4:The check is
DispatchDrainAttemptincore/libs/prx/libSceAgcDriver/tests/execution/WaitAttributionTrace.cpp(line 214 onmain9f02806678). The test does three things:DrawPipeline::Queue0().DrainWaits()to change.Outstanding() >= 2.In the failing runs, neither happened within the 1 s window: only the spinning item was queued.
How often
There are 6 full GPU runs on this machine, on the same
main9f02806678tree:mainitself, plus 5 runs with unrelated PRs applied (#27859, #27862, #27831, #28150, #28132). Each run executes all three variants once.wait_attribution_trace_draw_pipeline_plan_verifymainSo 2 of 18 runs failed, and one variant failed in 2 of the 6 full runs. Both failures print the same two lines and take about 3.5 s. None of those PRs touch the draw pipeline queue.
Guess
Under load from the other three parallel tests, the submission may not reach queue 0 within the 1 s window, so the test sees one outstanding item and no drain. If that is right, the test could keep waiting until either a drain or a second outstanding item appears, instead of stopping at a fixed 1 s. I have not confirmed this.
Setup
ANYPS5_GPU=NVIDIA,ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation(Vulkan SDK 1.4.363.0)ctest --test-dir build -V --parallel 4 --timeout 120 -R "^agc_|^request_serializer|shader|^windows_write_watch"AI-assisted (Claude Code).