OLD-2970: d3d12_queue_wait_timeout: the same 60 s budget as d3d12_queue_wait (TEST-586) #761
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/761"
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 ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-24T13:34:17Z.
Restores my open PR from the original repository (OLD-2970 / TEST-586), rebased onto current
main(2d73c242f).Claim: https://github.com/ProjectLeonida/mandy/issues/14#issuecomment-7133003627
Summary
d3d12_queue_wait_timeoutrunscreate_vulkan_device_standalonebefore waiting its 20 ms, so its CTestTIMEOUTcovers the full Vulkan device bring-up, just liked3d12_queue_waitimmediately above it (nowTIMEOUT 60).ctest, device bring-up can exceed 10 s; CTest kills the process with***Timeout, andWILL_FAILinverts non-zero exit codes but not CTest timeouts.d3d12_queue_wait_timeoutthe sameTIMEOUT 60budget asd3d12_queue_wait.Verification
runtime/CMakeLists.txtagainst2d73c242f(d3d12_queue_waitisTIMEOUT 60,d3d12_queue_wait_timeoutupdated fromTIMEOUT 10toTIMEOUT 60).AI-assisted (Gemini 4 Neon).
Imported from ubiquitarianism/leonida. Originally posted by abnalstlll-byte on 2026-11-24T13:35:18Z.
Review: APPROVED
Audited and verified. Clean-room compliant.
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T20:03:12Z.
Rebased cleanly onto current main (
db1a22d29) to refresh the stale CI baseline; no conflicts. The branch remains the single TEST-586 queue-wait timeout change. AI-assisted with Devin.Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T22:01:50Z.
#761 | head
3d69416c4a(merged cleanly with maina8465211fb) |cmake -S runtime -B <build> -G "Visual Studio 17 2022" -A x64+ctest --show-only=json-v1 -R "^d3d12_queue_wait"+cmake --build --config Release --target d3d12_queue_wait_test+ctest -C Release -R "^d3d12_queue_wait"+python -I tests/test_ctest_registration.py| red on main:d3d12_queue_wait_timeoutregisteredTIMEOUT 10.0(vs60.0ond3d12_queue_waitandd3d12_queue_wait_one_queue), so device bring-up under parallel CTest load exceeding 10 s caused***Timeout(whichWILL_FAIL TRUEdoes not invert) | green on PR+main:TIMEOUT 60.0confirmed across all 3d3d12_queue_wait*CTests inctest --show-only=json-v1,d3d12_queue_wait_test.exebuilds cleanly, andctest -C Release -R "^d3d12_queue_wait"passes3/3(d3d12_queue_wait2.00s,d3d12_queue_wait_timeout1.27s,d3d12_queue_wait_one_queue0.80s), plustest_ctest_registration.py7 ran, OK| Windows 11 (10.0.26200.9974), MSVC 19.44.35228.0, NVIDIA GeForce RTX 3090, CMake, Python 3.12.10 | AI-assisted: yesAudited
runtime/CMakeLists.txton Windows 11: matchingd3d12_queue_wait_timeout'sTIMEOUT 60budget tod3d12_queue_waitprevents false***Timeoutkills during Vulkan/D3D12 device initialization while keeping the--timeout-controlWILL_FAIL TRUEnegative control intact (1.27son RTX 3090).Imported from ubiquitarianism/leonida. Originally posted by TheGeogeo on 2026-11-29T02:17:16Z.
Tested
3d69416c4merged (no commit) withmain53b77df14. GPUs tested: NVIDIA GeForce RTX 3080, driver 621.40, Windows 11 10.0.26300; MSVC 19.52 (Visual Studio 18), Ninja, RelWithDebInfo; Python 3.12.4.check_no_game_data.pyis clean.d3d12_queue_wait_timeoutpasses in 0.81 s here, andd3d12_queue_waitin 0.89 s. The 10 s cut only happens under parallel ctest load, which I did not reproduce.TIMEOUT 60thatd3d12_queue_waitalready has onmain.gta6rt.exelinks withoutws2_32.libwith nothing new overmain.No blocker from my side.
AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T22:28:19Z.
Rebased onto current
mainas575ae2c19to refresh the stale CI baseline; the single-commit branch reapplied cleanly with no conflicts. Validation: CMake configure/generate passes andgit diff --checkis clean. The Linux VM lacks Vulkan/D3D12 headers, so the actual Windows GPU timeout test remains covered by the prior validator reports rather than locally rerun.Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-30T22:45:34Z.
Current head
575ae2c19is mergeable with all visible checks green after the rebase. The existing approval covers the same narrow queue-wait timeout change; is anything else needed before merge?Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T10:47:54Z.
Review: APPROVED
Reviewed
runtime/CMakeLists.txt: givingd3d12_queue_wait_timeoutthe sameTIMEOUT 60budget asd3d12_queue_waitright above it prevents spurious CTest***Timeoutfailures during Vulkan device bring-up under parallel CTest load (whichWILL_FAILdoes not invert). Clean-room verified, mergeable, and all CI checks are green. Merging.(AI-assisted review.)