ci: a scheduled physical-GPU run of the _hardware tests on main (RTX 3070 + WARP) #966
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#966
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?
@roansystemlabs on GitHub · 2026-11-23 19:06 UTC · original
Proposal: a scheduled physical-GPU run of the
_hardwaretests onmain(RTX 3070 + WARP)Both Windows jobs in
.github/workflows/windows.ymlrunctest … -E '_hardware$', so no test that needs a real adapter runs in CI. With the current merge rate, a hardware-only regression can sit onmainuntil someone happens to run the suite locally — #958 tonight is one example, and #737, #369 and #448 are earlier ones.We can run this on our side every day, on a quiet desktop:
main, build thedevpreset, run every_hardwaretest on an RTX 3070 (Ampere desktop, debug layer on) plus the_warpcounterparts;git bisectto the first bad commit and report it with the adapter, driver, command, and a negative control.It is one NVIDIA desktop adapter, so an NVIDIA-only red will be labelled as such.
Two questions before we start:
We won't start until you say it's useful.
AI-assisted.
@R0Y00 on GitHub · 2026-11-23 19:13 UTC · original
Yes, please run this as a contributor-side check of a clean main checkout. The results can go in this thread as a short index. When a failure matches an open report such as #958, please add the evidence there and link it here. For a distinct regression, include the known-good and first-bad commits if the bisect is conclusive. Otherwise give the observed range and any skipped or untestable revisions.
Please include the exact commit, command, adapter, driver, Windows build, debug-layer state and pass/fail/skip for the affected test. Keep timeouts and deterministic output mismatches distinct. This is an independent hardware report; the current GitHub merge checks stay in place.
@roansystemlabs on GitHub · 2026-11-23 20:09 UTC · original
Index of contributor-side hardware runs on
main. This first entry is the green baseline; from here on, only a run with a confirmed red gets an entry, with its evidence here or in the matching open report.2026-11-23 ·
mainat23d2e93(#974 merge) · baseline10de:2484), driver 621.01 (UMD32.0.16.2101), and WARP10.0.26100.9818; Windows 11 25H2, build 26200.9974debug_layer=enabled): everydebug_errors=counter printed was 0; 10debug_warningsin total, fromcompute_to_pixel,pixel_aot_buffer_colorandpixel_aot_attributeon both adaptersmain,devpreset (Debug), built as in the Windows CI job (out/pe-env,tools/dev.ps1, pinned SPIR-V tools,X2W_REQUIRE_SPIRV_TOOLS=1)ctest --preset dev --no-tests=error -R "(_hardware|_warp)$" --timeout 600, run serially;--timeoutonly applies to tests without their ownTIMEOUT. Any red is rerun twice and reported as timeout, deterministic mismatch (same output 3/3), varying failure, crash or flaky, never lumped together._hardware(RTX 3070)_warpNo red. Skips:
bvh_wave64_hardwareandbvh_wave64_warpneed 64-lane waves (this adapter reports 32..32, WARP 4..4);wave_shuffle_warpneeds a forced wave width (16/32/64) that WARP does not support; its native-width (4) checks printed no errors before the skip.bc7_mode6_multiblock_hardwareandbc7_mode6_multiblock_warpneedBCPACK_REFERENCE_TOOLS, which this machine does not have, so they are not testable here.pixel_aot_comparisons_hardwareand_warppass at this commit, consistent with the NVIDIA/WARP data in #958.Not covered: AMD and Intel adapters, other NVIDIA generations or drivers, and Release builds.
AI-assisted.
@thepatrickworld on GitHub · 2026-11-25 20:14 UTC · original
2026-11-25 ·
mainatb976e8bc· AMD desktop, red1002:7550), driver32.0.32029.2010; Windows 11 25H2, build 26200.9974debug_layer=unavailableandD3D12GetDebugInterfacereturnsDXGI_ERROR_SDK_COMPONENT_MISSING— so nodebug_errors=counters, and four tests skip on itmainatb976e8bc,devpreset (Debug). One prerequisite worth writing down: thestartup_*tests are only registered whenINTAKE_PYTHONpoints at a real interpreter, so the configure needs-DINTAKE_PYTHON=…/pe-env/Scripts/python.exe; without itctestselects a much smaller set and the sweep looks green for the wrong reasonctest --preset dev --no-tests=error -R "_hardware$", run serially from the repo root; all nine reds rerun three times, and their output compared with heap addresses, temp paths and durations normalised_hardware(RX 9070 XT)Crash (5, all
0xc0000409, 3/3).startup_indirect_translated_indexed_hardware,startup_indirect_translated_indexed_upload_hardware,startup_indirect_translated_indexed_rect_hardware,startup_indirect_translated_indexed_alias_hardware,startup_indirect_rectlist_hardware.The Windows Event Log on this machine held ten entries for
startup_indirect_draw_indexed.exe, from three separate batches, every one identical: faulting moduleamdxc64.dll, fault offset0x35f2a19, driver32.0.32029.2010.Each of them prints its full check sequence (~13 KB) and stops on the same line as the WARP run of the same binary:
then dies.
warpon the same binary exits0, andhardware translated-indexed-alias-offexits0too; but the fault is reachable through-upload,-rectandrectlistas well, so disabling the alias route does not avoid it. This reproduces onmainatb976e8bc.Fail, same output 3/3 (4).
dxr_opacity_hardware—rays=126 hits=94 … mismatches=43 committed_hit=43 committed_t_plus_tmin=43(already listed in #1148)gpu_alias_lookup_writes_hardware—array_atomics threads=256 buffers=4 expected=64 actual=256,256,256,256; the test's own message reads "InterlockedAdd through a per-thread index into a UAV array is not applied exactly once per thread on this adapter … recorded for the Windows 10 in-box WARP 10.0.19041 in docs/experiments.md". The later counters (add_sub,other results,records=2331) do reportmismatches=0— they are not the failing check (already listed in #1148)compute_store_aot_mac_f32_hardware—groups=1 compared_words=320 mismatches=0, thenAssertionError: mac_f32: mutation 'fused mad() instead of unfused multiply+add' escaped detectionpixel_aot_comparisons_hardware—pixel_mismatch x=0 y=0, the subnormal case tracked in #958Skips (13), by cause.
startup_command_signature_hardware,startup_draw_depth_target_debug_hardware,startup_root_heap_hardware,pixel_batch_debug_hardwarestartup_view_heap_hardware,startup_logical_view_hardwaretools/setup-spirv-tools.ps1):spirv_minlod_hardware,spirv_minlod_exact_hardware,spirv_minlod_levels_hardware,spirv_minlod_fractional_hardwarewave_startup_4_hardware— SM 6.6 and WaveOps are both satisfied here (highest_shader_model=0x66,wave_ops=1); what blocks it is the reported lane range (min 32 / max 64) against the forced width 4mesh_two_exits_hardwareneeds LLVM 15 with AMDGPUbc7_mode6_multiblock_hardwareneedsBCPACK_REFERENCE_TOOLSSo on AMD the read is: the two failures in #1148 and the one in #958 reproduce,
compute_store_aot_mac_f32is red here as well, and five tests die inside the vendor compiler after passing their own checks. If a scheduled run is meant to separate "this commit broke something" from "this adapter cannot run this test", those five are the case where the distinction matters.Not covered here: NVIDIA or Intel adapters, and Release (
devonly). Adding areleaserow on the same commit is a single sweep if you want it.AI-assisted.
@thepatrickworld on GitHub · 2026-11-25 21:27 UTC · original
Correction to the entry above (the AMD one). The clause "five tests die inside the vendor compiler after passing their own checks" was my read of the faulting module, and a full dump shows it is wrong.
The faulting module is
amdxc64.dll, so the guess was reasonable, but the call does not come from a draw or a compile.cdbon aLocalDumpsdump (DumpType=2) gives:(
0x42022a19− base0x3ea30000=0x35f2a19, the offset those ten Application-log entries pointed at.)So the crash is at process exit, when the two statics that own pipeline states —
src/startup_stubs/d3d12_draw.inl:1604andsrc/startup_stubs/rect_indirect_args.h:153— are destroyed during CRT teardown, andFinalReleasereaches the UMD after it has been detached. Removing each static's destructor makes its own test exit0; a control run that changes only the other site still crashes. Reproduced onmainatb976e8bc, one run per row.That changes the classification: these five are not "this adapter cannot run this test". They are a lifetime bug in the shim that only the UMD punishes — WARP is clean because
amdxc64is never loaded there, not because the test is fine on WARP.Full stack, the two experiments and a direction for a fix: #2572.
The rest of the table stands: on
mainatb976e8bc, 491 tests, 469 pass, 4 deterministic failures, 5 crashes, 13 skips.AI-assisted.
@thepatrickworld on GitHub · 2026-11-26 14:38 UTC · original
A full physical run of the
_hardwareset onmain: 689 tests, 3 red, and all three are already in the tracker. Ran it because this proposal is the right one, and because the cost turns out to be small.Machine: RX 9070 XT (
gfx1201, vendor1002device7550), driver32.0.32029.2010, Windows 11 25H2 (10.0.26200.9974), D3D12 debug layer not installed (debug_layer=unavailablein every hardware log),devpreset,-j4, 300 s per-test timeout, tree forced toorigin/mainat5a41adba(ARBRE_PROPRE).JUnit (
sw_all.xml) reportstests=689 failures=3 skipped=14 disabled=0, and the sweep's own clock reads 15:20:45 → 15:31:12. So 689 − 14 − 3 = 672 passed, 14 skipped, 3 failed, 10 min 27 s of wall clock.The three reds
dxr_opacity_hardware→ tracked by #1011dxr_opacity rays=126 hits=94 shader_commits=42 misses=32 first_hit_rays=36 mismatches=43 committed_hit=43 committed_t_plus_tmin=4313 of the 16 mismatching rays in the log are exactly expected +
dxr_opacity_tmin=0.25on the expected geometry. The other three (rays 16, 17, 19) also add t_min, but on the wrong geometry: they come back on geometry 2 at 3.25 where the reference expects geometry 0/1 at 1/2. #1011's doubled-TMin title does not describe that part.gpu_alias_lookup_writes_hardware→ tracked by #369array_atomics threads=256 buffers=4 expected=64 actual=256,256,256,256The fixture prints the adapter-defect notice itself and still fails, which is the right call — the defect stays visible.
pixel_aot_comparisons_hardware→ tracked by #958case 2 returns
mismatchwhere the reference expectspass; every other case matches. One case, one subnormal compare, as the issue says.Rerun of exactly those three, same preset and same build (no rebuild in between):
0% tests passed, 3 tests failed out of 3both times, identical counters and the identicalAssertionErrorline, only the timings and the temp directory names differ. 6/6 in the two reruns, 9/9 with the sweep, so nothing intermittent in this session.What that means for this proposal
Every red in this run maps to one of those three issues: no failure outside the tracker at
5a41adba, on this adapter and this preset. That is the argument for doing it — the board is small and stable enough that a nightly job nobody triages is not the risk; the risk is the opposite, that a fourth red appears someday and no one sees it. 627 s with-j4is cheap enough for a nightly.The 14 skips, and why they matter to the same decision
A scheduled run reports skips as passes (
99% tests passedcounts them), so they have to be named or the coverage claim is overstated. The-Vcapture gives a reason for 13 of the 14:startup_command_signatureandstartup_root_heapprintno debug layer: skipped;startup_draw_depth_target_debugprintsthe D3D12 debug layer is not installed: the debug-message check cannot run (skip);pixel_batch_debugprintsskip: pixel batch control requires the D3D12 debug layer.spirv_minlod*):skip: SPIRV-Cross lacks MinLod support; run tools/setup-spirv-tools.ps1.mesh_two_exits):skip: two-exit mesh draw requires LLVM 15 with AMDGPU.wave_startup_4):skip: wave startup variant requires SM 6.6, WaveOps and a wave lane range containing the forced width.bc7_mode6_multiblock):Set BCPACK_REFERENCE_TOOLS to the pinned Leonida tools directory.adapter accepts 1245184 descriptors directly; the shortcut is not needed here(startup_view_heap) and… the logical view tables are not needed here(startup_logical_view).The fourteenth,
startup_sharedexp_target, prints onlydebug_layer=unavailableand the support bits, no skip line — I am not guessing at its cause. The debug-layer and SPIRV-Cross groups (8 tests) would execute on a runner that has them, so a nightly would cover more than I can reach here.Limits
One adapter, one driver, one preset, one session. Skips are environment-specific and a different runner will produce a different list. Nothing here says anything about the RTX 3070 + WARP this proposal targets, nor about RDNA 2/3 or NVIDIA, and
prandreleaseare untested. The registered test commands runtests/fromx2w-mainthrough the Python venv atx2w-pr641/out/pe-env(INTAKE_PYTHON) — that is how the tree is configured, not a different checkout of the tests.I can rerun the whole set at any sha on request — say the word and I will post the same table for it.
AI-assisted.
@roansystemlabs on GitHub · 2026-11-27 23:45 UTC · original
I'm on this: running the full
native_*_hardwarefamily on current main (post-#3039) on an RTX 3070 (SM 6.6 wave32), Debug and Release; will post only the reds with a bisect.AI-assisted.
@roansystemlabs on GitHub · 2026-11-28 00:22 UTC · original
2026-11-28 ·
mainatad306425(#2926, after #3039) ·native_*_hardwarefamily, Debug and Release · 1 red, already reported10de:2484), driver 621.01 (UMD32.0.16.2101); Windows 11 25H2, build 26200.9974. The adapter exposes shader model 6.6 with 32-lane waves, so none of the 83 tests skipped (no exit 77).out/pe-env,tools/dev.ps1, pinned SPIR-V tools,X2W_REQUIRE_SPIRV_TOOLS=1),dev(Debug) andrelease(/O2) presets.ctest --preset <dev|release> --no-tests=error -R '^native_.*_hardware$', serial, on a quiet machine.dev(Debug)release(/O2)Red:
native_rtv_variant_hardware, Debug and Release, 3/3 runs each:AssertionErrorattests/native_rtv_variant_check.py:291, because the cache holds an extrarevision.txt.native_rtv_variant_warpfails the same way, so it is not adapter-specific.e9d1d6a0(#3207):native_rtv_variant_{warp,hardware}pass 2/2. First bad14d56502(#2820): both fail 2/2. Same build and test command at both points.The other 82 pass in both presets, including
native_cvt_pk_u8_hardwareandnative_sdwa_f16_hardwarefrom #3052.Not covered: AMD and Intel adapters, other NVIDIA generations or drivers, and the rest of the
_warpand non-native_hardwaretests.AI-assisted.