docs: the runtime ctest suite by host, Wine against native Windows, on one Pascal card (#1150) #1217
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1217"
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 robot00f on 2026-11-24T20:27:59Z.
Claim: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7143569659 (ID
RUNTIME-CTEST-HOST-PARITY; for #1150)#1150 reports 24 runtime ctest failures under Wine 10.0 and asks for a Windows cross-check to separate ours from the host's. This is that cross-check, recorded so the classification does not live in one comment: the same suite, the same GPU model, Windows 10 natively.
Measured
xmem,file_system,bcrypt_rng(_seeded),d3d12_clear(_formats),dxgi_swapchain,dstorage,run_startup_cmdline,vk_device_filter_tools,root_sig, the host-comparison family, and all four hangs (d3d12_buffer_tiles,d3d12_texture_tiles,dxgi_host_parity,dxgi_waitable_latency).d3d12_vulkan_device,d3d12_subresource_copy,d3d12_heap_properties,d3d12_existing_heap,d3d12_r9g9b9e5_uav.--repeat until-fail:3on this build:d3d12_subgroup(stack-layout-dependent SegFault in device slot 14, #1328),d3d12_set_descriptor_heaps(CHECK failed: !blob.empty(), #1353),root_signature_oracle(Windows 10 serializer refuses0xC00, #988),d3d12_close_parity(#989),d3d12_pso_validation(DYNAMIC_DEPTH_BIASparity at line 436, #967 / #1377), andxdxr_build_check, which is not a hang: it passes in 212 s with--timeout 400(#1424).The page lists each with the log line it produces and links the follow-up fixes measured since the run.
Tested
The full suite natively (MSVC 19.44,
--parallel 4), the native-only failures isolated 3 times each,xgameruntime_offline(_hdr)interactively, andxdxr_build_checkat a 400 s valve.check_no_game_data.pyon both files -> exit 0;tests/test_docs_links.py,tests/test_docs_table_rows.pyandtests/test_docs_repeated_lines.py-> OK.Docs only. No game files, nothing run from the game.
GPUs tested: NVIDIA GPU (Pascal class, 4 GB), driver 582.28, Vulkan device 1.4.312, Windows 10 19045. Model and PCI id withheld.
AI-assisted: yes (OpenCode, DeepSeek V4.1 Flash; Antigravity)
Checklist
mainand merges cleanly.docs/design.md. (n/a: no translator change)Imported from ubiquitarianism/leonida. Originally posted by qhukz13 on 2026-11-24T21:19:14Z.
An independent run on the same card class, natively: GeForce GTX 1050 Ti 4 GB, NVIDIA 582.66, Windows 10 Pro 19045, MSVC (VS 2022 Build Tools), RelWithDebInfo at
6293c1c4f(20 commits before your58be9cdf; none of them touchesruntime/shims/d3d12_vulkan_device.cpp,runtime/src/vulkan_backend.hor the subgroup test).ctest --parallel 4, no--timeout, implicit layers left on. Result: 308 tests, 11 failed, 236 s.Reproduced, same symptoms:
d3d12_vulkan_device,d3d12_subresource_copy(line 391,CPU copies (host image copy): the steps differ from the host's),d3d12_heap_properties(CUSTOM write-back L0: ours 0x8007000e host 0x0),d3d12_existing_heap(slot-133 pages not imported, HRESULT0x80004001, line 196) andd3d12_r9g9b9e5_uav(format not supported yet: 67);d3d12_set_descriptor_heaps(CHECK failed: !blob.empty(), line 341) andd3d12_close_parity(3 failures of 113 cases);d3d12_pso_validationfails here too; the failing check printed is line 436,check_gfx_parity("gfx: Flags=DYNAMIC_DEPTH_BIAS", ...), which may be worth naming next to the depth-stencil format lines;xdxr_build_checkis no hang: it passes in 201.9 s with ctest's default timeout, which agrees with your 212 s and with giving it its ownTIMEOUT.Not reproduced:
d3d12_subgrouppasses here, 3 of 3 with--repeat until-fail:3(2.3-2.8 s each), on the same Pascal 4 GB class. With the code paths unchanged between the two commits, the SegFault afterdevice slot 16 (CreateRootSignature) first calllooks tied to something outside the repository: the driver (582.28 there, 582.66 here) or the disabled implicit layers are the first two differences I can see. It may be worth saying on the page that it is one machine's result until a second one crashes.Three failures here that the page does not list, all of which look like host or session limits rather than the layer:
root_signature_oracle:FAIL 1.1 with every root-signature flag: Microsoft serializer accepts it. The 1.2 cases already SKIP on this Windows 10 runtime; the flags case may need the same guard. Did it pass on your 19045?xgameruntime_offlineandxgameruntime_offline_hdr:FAIL XDisplayAcquireTimeoutDeferral acquires a display power request handle. My run was started over SSH (a non-interactive session), which is a likely reason; I have not rerun it from a desktop session yet.No game files. AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by robot00f on 2026-11-25T01:05:03Z.
Thanks @qhukz13 for the independent Pascal 4 GB cross-check — re-checked the saved
_ctest.logfrom58be9cdfand updated the page (rebased onto currentmaininc253e028):root_signature_oracleon 19045: it did fail here too (Test #122: FAIL 1.1 with every root-signature flag: Microsoft serializer accepts it/Unsupported bit-flag set (root signature flags c7f)). It was the missing 11th entry in11 failed(the two tables previously listed5 + 5 = 10). Added to the native-only table (now5 + 6 = 11), and corrected the summary row from279 passed, 11 failed, 47 skippedto the exact counts in_ctest.log:278 passed, 11 failed (9 failed, 1 SegFault, 1 timeout), 18 skipped(278 + 11 + 18 = 307).d3d12_subgroupcrashed 3/3 here and passed 3/3 on your build: we traced and fixed that crash in #1328. It was stack-layout-dependent rather than driver-dependent: ind3d12_xs_device.cppslot 14 (CreateDescriptorHeap),console_heap_range_plausible()checked onlysize == NumDescriptors * 32without requiring 64 KiB alignment, so when the caller's adjacent stack words after a PCD3D12_DESCRIPTOR_HEAP_DESChappened to hold0x65626f72705f7370("ps_probe") and32in our MSVC 19.44 build,CreateRenderTargetViewwrote to0x65626f72705f7370. A different build/stack frame (clang-clunder Wine, or your VS Build Tools build) does not place32at+0x18. Recorded on the page alongside your 3/3 pass.d3d12_pso_validationandd3d12_r9g9b9e5_uavfailing checks: updatedd3d12_pso_validationto nameline 436: check_gfx_parity("gfx: Flags=DYNAMIC_DEPTH_BIAS", ...)(noting the depth-stencil format lines are negative-case logs), andd3d12_r9g9b9e5_uavto nameline 669: CreateCommittedResource(&custom_heap, ...)(the same PascalHOST_TRANSFERCPU-heap failure your #1364 fixed — verified passing 3/3 on currentmain).xgameruntime_offline(_hdr): confirmed — our run was from an interactive desktop session, where both pass (0.11 sand0.03 s). Added a bullet underReading itnoting the SSH / non-interactiveXDisplayAcquireTimeoutDeferraldifference, plus the follow-up PRs inWhat follows(#1364, #1389, #1458, #1328, #1353, #988, #989, #967/#1377, #1424).AI-assisted: yes (Antigravity).
Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-29T01:07:44Z.
Independent verification on Windows 11 (
10.0.26200, x64,Python 3.12.10) of5f33b4ff30merged ontoorigin/main(aa52446f7d,0merge conflicts):python -I tests/test_docs_table_rows.py(2/2),python -I tests/test_docs_repeated_lines.py(3/3), andpython -I tests/test_text_write_line_endings.py(3/3) all exited0.python -I tests/test_docs_links.pyandpython -I tests/test_docs_cli_flags.pyadd0errors ondocs/README.mdordocs/runtime_ctest_hosts.mdrelative toorigin/main.278 + 11 + 18 = 307,9 + 1 + 1 = 11,5reproduced +6native-only =11, and the19Wine-only table entries account for all19tests).docs/runtime_ctest_hosts.md:16-17(The two runs), the Wine column statesTests run: 304 of 304andResult: 239 passed, 19 failed, 5 timeouts, 40 skipped, which sums to303:#1150's3aa97542row had1 disabled(303 of 304 (one disabled)).What follows(e.g.#1424) have since merged onmain.git diff --checkandpython -I scripts/check_no_game_data.py docs/README.md docs/runtime_ctest_hosts.mdboth exited0.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T19:17:48Z.
Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive), Python 3.12.16, spirv-tools + llvm-mc, main
7c330c76d(also merges cleanly on current maindd87aa405; does not force a rebase of #2566), PR head5f33b4ff3: docs only, doc tests greentests/test_docs_*.pypass on the merge, 0 skipped (same as main). No red possible for a docs-only change. Reviews: none.docs/README.mdand a newdocs/runtime_ctest_hosts.md(105 lines). No game data.Verdict: READY (docs only)
AI-assisted: Claude Code
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-29T21:12:45Z.
Merging. Head
5f33b4ff3has red/green verdicts from reviewers other than the author (above), merges cleanly withmainf359be5e6, does not force a rebase of #2566, and carries a claim ID. Remaining main CI reds (translator-testsmesh,semantic-testsf16) are pre-existing. Merged by MoonEyes.AI-assisted (Claude Code).