Repository navigation
Wait 30 s for the depth resolve fence, not 5 s, so parallel GPU tests… - #2916
Conversation
… stop tripping it (TEST-514)
|
Code read of AI-assisted review (Claude Code). |
|
Tested
What I can't confirm is the flake itself. With the 5 s wait, on |
|
Tested bd2194f (merged onto main 77444fa) on NVIDIA GeForce RTX 4060 Ti, driver 610.88 (32.0.16.1088), Windows 11 26200, MSVC 14.51.36231 (VS 2026), Vulkan SDK 1.4.363.0: pass
AI-assisted (Claude). |
TEST-514 (part 2) — the
d3d12_depth_resolve-j 6flake. Claimed in the coordination issue as: claiming: TEST-514 (part 2).What and why
What the test shares with parallel tests: device-wide GPU state, not a fixed file or port. The test and
runtime/test/vk_test_device.htouch no fixed paths or ports, and each test process owns its own VkDevice - the only thing-j 6shares is the physical GPU's queue throughput.Evidence:
main- contention, not a code-path change.resolve_and_read(runtime/test/d3d12_depth_resolve_test.cpp:155). The whole test takes ~5 s on a mid-range GPU, so on the reporter's RTX 3060 under 6-way load a fence signal can exceed 5 s. Sibling GPU tests already wait 15-60 s (multithread 15 s, buffer_uav/m3/m4 20 s, rgb96 60 s); 5000 ms was the outlier.d3d12_multithread~100 s timeout vs ~10 s baseline,d3d12_drawfence race), confirming the contention mechanism.Fix: raise the fence wait to 30000 ms, with a comment. Test-only change; no runtime code touched.
Tested
Windows 11, MSVC RelWithDebInfo/Ninja, on RTX 3070 Ti, RTX 5080 and the 9950X3D iGPU:
--repeat until-fail:5clean on this test; fullctest -C RelWithDebInfo -j 6clean with this change (the four window-showing present/swapchain tests excluded from the repeat loops). AI-assisted (opencode); synthetic fixtures only, no game files.Checklist
docs/design.md, with how it was confirmed.