DXIL fuzz tests: fuzz_validate_and_gpu_1 fails on AMD (seed 722 and others, RDNA2-4), so the default suite is red there #2115
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2115
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?
@cindertheblue on GitHub · 2026-11-25 04:58 UTC · original
fuzz_validate_and_gpu_1(seeds 500..1000) is not ignored and fails on AMD cards onmain, socargo test --workspaceis red on them. On #1679, @bmjask wrote that this needs "a translator-side workaround or an explicit AMD skip with a tracking issue before merge". #1679 was merged without either, and I can't find an open issue for it, so this is one to collect the results in.On
main6987e49(RX 7600 XT, RDNA3, native wave64),cargo test --workspace --no-fail-fast -- --test-threads=4:fuzz_validate_and_gpu_1,seed 722: res[30] = 0x1, CPU 0x7fffffff.XCL_DIRECT_DXIL=1: 1151 passed, 3 failed, 46 ignored. The same seed 722 failure, plusgpu_image_get_resinfo_1d_array(fixed by #2046) andoffline_compute_pipeline_is_reused_by_a_second_process(#1674).Reported on #1679 (the test stops at the first mismatching seed, so each run shows one seed unless the panic was changed):
_1), 1599 (_3), on mergedmain689f2db_1), 1599 (_3)_1, with the panic turned into a log line)_1)_1)_1), 3 mismatches in 500..1000_2)@thiagocalile's backward slice of seed 540 found the emitted DXIL sound, and on the RX 9070 the reduced 722 form (
switch+WaveReadLaneFirst) already fails on its own, which fits @bmjask's guess that the driver moves the read into a divergent case. Both point at the AMD DXIL compiler, but nobody has confirmed that independently. The NVIDIA failures in the same tests are a different problem (CreateComputePipelineStatereturns0x8007000E, no wrong values): #1905, and #1919.Ways to make
maingreen on AMD (I haven't tried any of them):amd_reduced_seedshas the 722 and 1599 shapes).Setup: AMD Radeon RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.31041.1004 (AMD Software 26.8.1); Ryzen 5 9600X; Windows 11 Home 26200.9974; rustc 1.99.1; DXC 1.8.2502.11 (SDK 10.0.26100); debug build;
mainat6987e49, no local changes.AI use: Claude Code (Claude Opus 5.5) ran the tests, collected the reports from #1679 and wrote this issue.
github-bot referenced this issue2026-11-26 05:26:12 +00:00
github-bot referenced this issue2026-11-26 05:31:08 +00:00
@luckyteagirl on GitHub · 2026-11-25 05:14 UTC · original
RX 6800M data point on current
mainf5c5bdf0e91035f8f1404f46f4f2f7aedc259e7f:Tested: Windows 11 build 26200, Ryzen 9 5980HX, AMD Radeon RX 6800M (RDNA2), driver
30.0.13002.13003, Rust 1.99.0 MSVC, DXC/DXIL 1.9.2609.5. I rancargo test --locked -p xcl --lib -j 2 gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 -- --test-threads=1 --show-outputwithXCL_ADAPTER=6800M,XCL_REQUIRE_GPU=1, and the stated DXC directory.XCL_DIRECT_DXIL=0: two isolated runs both failed at seed 530 while creating the compute pipeline:The GPU device instance has been suspended ... (0x887A0005). The test reported 0 passed, 1 failed, 1123 filtered out each time.XCL_DIRECT_DXIL=1: one isolated run failed at the same seed with the same device-suspended error and counts.mainand PR #2047 head had identical failing test names (993 passed, 161 failed, 46 ignored on each); both logs contained0x887A0005after the fuzz tests began. This says nothing about the cause of every downstream failure.This run stops at seed 530, before reaching the seed 540 or 722 value mismatches reported on other AMD cards. It is a pipeline/device error, not an observed result mismatch. I did not reduce seed 530, collect a driver crash dump, test a newer driver, or test another adapter.
AI use: OpenAI Codex (GPT-6, exact variant not exposed in this session) ran the tests, compared the logs, and drafted this report.
@SlopTart on GitHub · 2026-11-25 05:32 UTC · original
RDNA3 data point under Linux/Wine, and it does not match the Windows seed pattern:
fuzz_validate_and_gpu_1is green here, and the two reduced AMD shapes pass on their own.Rig: RX 7900 XT (RDNA3, RADV NAVI31, Mesa 26.2.5), Proton Experimental (wine-11.0) + the xcl-pinned vkd3d-proton 3.1 build, DXC 1.9.2609.5, release build, main at
cbc296ab, no local changes, pipeline cache removed before each run.XCL_DIRECT_DXILunset (default).Per test on the default suite:
fuzz_validate_and_gpu_1(500..1000): passes.fuzz seeds 500..1000: validated 500, GPU-compared 313. No mismatch at 722, 783, 817 or anywhere in the range. This is the first green_1among the AMD reports here; every Windows entry hits 722 or 540.fuzz_validate_and_gpu_2(1000..1500): fails atseed 1003: res[713] = 0x1, CPU 0x0. This test failed on 4/4 attempts on this stack across two checkouts; the seed line here is from maincbc296ab. Matches the RX 9070 XT Linux/RADV entry (also 1003), so 1003 now reproduces on two AMD generations under Wine/Mesa, and it does not appear in any Windows table entry.fuzz_validate_and_gpu_3(1500..2000): passes. No 1599 mismatch.amd_reduced_seeds(--ignored): both hand-reduced shapes pass on this stack:PASS full seed 722: 0 mismatching dwords,PASS full seed 1599: 0 mismatching dwords. So the reduced forms are not sufficient to reproduce on RDNA3 under Mesa; whatever makes them fail on the RDNA4 reports is absent here.Two variables stand out between this green
_1and the Windows red ones: this rig runs DXC 1.9.2609.5 while several red entries ran 1.8.2502.11, and the driver path is Mesa RADV rather than the amdgpu Windows driver. The seed 1003-only-under-Linux pattern cuts the other way, so the seed set that misbehaves looks stack-dependent in both directions. Not claiming cause, just the counts.Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@chaseb64 on GitHub · 2026-11-25 06:39 UTC · original
@SlopTart, could you run the full seed 1003 and the reduced comparison across four initialization variants on the RX 7900 XT/RADV setup from your 4/4 reproduction? Please keep the same Proton Experimental, vkd3d-proton build and DXC if available. Your full seed returned
1at word 713, where the CPU expected0. Please report whether that still reproduces and whether the reduced baseline independently reproduces at word 9, also expected0. Either result is useful. Your reproductionThe runner and all four fixtures use XCL
6020a33b16ba2de25b3aef5947552f2dc1831f09. The full and reduced baseline DXIL, inputs and expected results match the artifacts regenerated fromcbc296ab65a2661a61e3e2da109134bcd5319f60byte for byte. The candidates are saved synthetic fixtures on the same revision, with no production patch. The four runs pair the unchanged full seed with the reduced baseline, single-writer counters only, initialized scratch only, and both changes together.Synthetic downloads and SHA-256 hashes:
5efd465dc313163e3a3c6e0f445a955a97ca82c7e6bd0dd17525d1a887cce13b1082e18ac4a79c5a1a3bcef6ec9120400c4f65a6385e4fd99c1b4c363b7242efExtract both archives. In the companion directory, set
WINEPREFIX,XCL_ADAPTERandXCL_DXC_DIRas described in the README. Use the existing launcher that selects your reproducing stack.Please return
summary.tsv,environment.txtand the four variant logs, including any mismatching words, the actual RX 7900 XT/RADV/Mesa device and driver, the Proton build, the vkd3d-proton revision or loaded DLL SHA-256, and the DXC version. Each run should compare 4,736 words with zero skips, including 576 for the full seed and 64 for the reduced variant. If an expected mismatch disappears, please report the result for that variant. The controls also change generated code shape, so a pass alone does not isolate a cause.Locally all four reduced forms passed DXIL validation and matched the CPU expectations. The wrapper rejected local runs with zero GPU comparisons. The reduced baseline and three controls await hardware results on your stack.
AI-assisted using OpenAI Codex. GPT-6.2 Astra created and reviewed the original diagnostics. GPT-6.2 Sol prepared the Linux wrapper and this request.
@cindertheblue on GitHub · 2026-11-25 07:09 UTC · original
Every seed on two AMD GPUs (Windows),
main568e7db.fuzz_validate_and_gpu_*stops at the first mismatch, so for a skip list I ran all 2000 seeds with a local copy ofrun_seedsthat logs a mismatch and goes on (not pushed). 1232 seeds were GPU-run on each, with no pipeline errors. Two runs each, the same seeds both times, and the same withXCL_DIRECT_DXIL=0and1:gfx1036)amd_reduced_seedsshowed for the RX 7600 XT._1), and 1599 (_3, RDNA4 only so far). 1003 (_2) is only on Linux/RADV.res[30]=0x1(CPU0x7fffffff); 540res[833]=0x7(CPU0x6); 783res[64]=0xcon the RX 7600 XT,0xf5ffddbfon the iGPU (CPU0x7fffffff); 817res[320]=0xfe53ffffon both (CPU0x4a43fdeb).The rest of the suite found nothing else AMD-specific on this
main. I rancargo test --workspace --no-fail-fast -- --test-threads=4on the iGPU (XCL_ADAPTER="radeon(tm)", with and withoutXCL_DIRECT_DXIL=1), and on the RX 7600 XT withXCL_DIRECT_DXIL=alland withXCL_SPLIT_WAVE64=1. Apart fromfuzz_validate_and_gpu_1(seed 540 on the iGPU, 722 on the RX 7600 XT), the only failures weregpu_image_get_resinfo_1d_array(#2046) andoffline_compute_pipeline_is_reused_by_a_second_process(#1674) with the direct backend.Setup: Ryzen 5 9600X, Windows 11 Home 26200.9974, rustc 1.99.1, DXC 1.8.2502.11 (SDK 10.0.26100), debug,
main568e7dbwith no changes apart from the local scan test.AI use: Claude Code (Claude Opus 5.5) wrote the scan, ran it and wrote this comment from its output.
@oni-swr on GitHub · 2026-11-25 10:11 UTC · original
Plan: #2192 (draft) already addresses seed 722, so I am not touching that. I will reproduce and reduce seeds 783 and 817 on an RX 7800 XT (RDNA3), independent of #2192, and open a
Part of #2115PR: a translator-side fix if the emitted DXIL is at fault, otherwise a reduced regression test plus an explicit AMD-Windows skip that names this issue.AI use: Claude Code (Claude Sonnet 5.5).
@Toons29 on GitHub · 2026-11-25 10:24 UTC · original
Another RDNA4 data point for the table, on a newer driver: RX 9070, driver 32.0.32029.2010,
main6020a33.fuzz_validate_and_gpu_1(seed 722) andfuzz_validate_and_gpu_3(seed 1599) fail in 5 of 5 runs, with the sameseed and values each time.
amd_reduced_seedsgives the same output as the RX 9070 on 32.0.32015.7029 reported on#1679.
Tested
AMD Radeon RX 9070 (RDNA4), Adrenalin 26.11.2 (driver 32.0.32029.2010); Ryzen 7 7800X3D, 32 GB; Windows 11
build 26300; Rust 1.100.0 (stable MSVC); DXC 1.9.2602.17 (Windows SDK 10.0.26100); debug build.
mainat6020a33b16ba2de25b3aef5947552f2dc1831f09, no local changes.cargo test -p xcl --lib fuzz_validate_and_gpu -- --test-threads=1, 5 runs. Each run:test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 1120 filtered out.fuzz_validate_and_gpu_0: 5 of 5 passedfuzz_validate_and_gpu_1: 0 of 5 passed, every timeseed 722: res[30] = 0x1, CPU 0x7ffffffffuzz_validate_and_gpu_2: 5 of 5 passedfuzz_validate_and_gpu_3: 0 of 5 passed, every timeseed 1599: res[193] = 0x1, CPU 0x0FUZZ_SEED=<seed> cargo test -p xcl --lib fuzz_tests::debug_seed -- --ignored --nocapture, once per seed:GPU run: 1 mismatching results; seed 1599:GPU run: 62 mismatching results.FUZZ_WATCH=30on seed 722, the input word for lane 0 is0x7fffffffand for lane 30 is0x1; lane 30 isthe only one of the 32 lanes with input 1. So the expected
0x7fffffffis lane 0's value, and the GPU wrotelane 30's own value.
cargo test -p xcl --lib gpu::dxil::fuzz_tests::amd_reduced_seeds -- --ignored --nocapture, once(
test result: FAILED. 0 passed; 1 failed):The same two tests are the only failures in this machine's earlier whole-suite run of
maincbc296a(1152 passed, 2 failed, 46 ignored), and a second whole-suite run of
cbc296ashows the same seeds and values.Not tested
AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this draft.
@SlopTart on GitHub · 2026-11-25 10:49 UTC · original
New table row: first NVIDIA-under-Linux run I can find for this tracker.
GTX 1070 (Pascal), driver 550.163.01 (proprietary), Debian 13, Debian wine 10.0,
mainat568e7db, no local changes:gpu::dxil::fuzz_tests5 passed, 0 failed, 2 ignoredAll three seed ranges (
_1500..1000,_21000..1500,_31500..2000) pass, zero mismatching seeds. So on this stack the AMD seed failures do not appear at all, which fits the WaveReadLaneFirst/divergence reading from @thiagocalile and @Diskuss rather than a translator-wide problem. The NVIDIA failures previously noted here (#1905, #1919) wereCreateComputePipelineStatereturning0x8007000Eon Windows; under Linux/wine with the proprietary driver the compute pipelines are created fine and the values match, so that blocker does not apply to this configuration.Contrast from the same day, RDNA3 under Linux (
maincbc296ab, RX 7900 XT, Mesa 26.2.5, Proton Experimental):_1and_3green,_2fails at seed 1003, matching the existing Linux/RADV row.Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@Diskuss on GitHub · 2026-11-25 07:58 UTC · original · edited 2026-11-25 10:49 UTC
Update: seed 1599 is an AMD driver constant-folding bug:
Bfrev(Countbits(K))with a constantK. RX 9070 XT, driver 32.0.32015.7029,main568e7db.On this card, amdxc64 folds
reversebits(countbits(K))toreversebits(n) | n, wheren = countbits(K). For example,K = 2gives0x80000001instead of0x80000000. Single-op kernels with every word checked:Bfrev(Countbits(K))fails for K = 1, 2, 3, 5, 0xF0, 0x80000000 and 0xFFFFFFFF. In each case the GPU value isbfrev(n) | n, for bothCountbits.i32andCountbits.i64.Bfrev(K),Countbits(K),Countbits(Bfrev(K))andBfrev(Bfrev(K)).Bfrev(FirstbitLo/Hi(K)).Bfrev(Countbits(x))when x comes from a buffer load,WaveReadLaneFirst(load),WaveReadLaneAt(load, 5)or the lane index.Countbits.i64split inops.rsdoes not avoid it.It reproduces without XCL, from DXC output. DXC folds a literal itself, so the constant is routed through
WaveReadLaneFirst. Built with DXC 1.9.2602 (-T cs_6_6), it gives0x80000001on every lane at both-Odand-O3. The control, withk = mem.Load(...)= 2, gives0x80000000.Workaround (local branch, not pushed):
Shader::bit_count(crates/xcl/src/gpu/dxil/ops.rs) foldsCountbitsof an integer constant to an i32 constant, using the new helperModule::int_const. A new test,ops_tests::bfrev_of_countbits_of_a_constant_matches_cpu, covers it. Results on this card:fuzz_validate_and_gpu_3: passes, 306 seeds GPU-compared.cargo test -p xcl --lib -- --test-threads=4: 1098 passed, 1 failed, 26 ignored. The failure is_1at seed 722, which is unchanged.Countbits.i64(zext((in & 0) | 2)). The driver folds that to a constant itself, so it still fails. Only the driver can fix it fully.#2192 on this card: I swapped in its
shader.rs(head1d8341a). With it, the reduced 722 forms and full seed 722 pass. With both changes,_3passes and_1stops at seed 783 (res[64] = 0xffffffff, CPU0x7fffffff). That is the seed @oni-swr is working on.Tested on AMD Radeon RX 9070 XT (RDNA4) at
main568e7db7729c8fa6c8f0f4b32d798faaf11462bbAMD Radeon RX 9070 XT (RDNA4), driver 32.0.32015.7029; Ryzen 7 5700X3D; Windows 11 Pro 26300.9974; Rust 1.100.0 MSVC; DXC 1.9.2602.17; debug build;
XCL_DIRECT_DXILunset.Tested:
cargo test --workspace --no-fail-fast -- --test-threads=4: 1152 passed, 2 failed, 46 ignored. The failures arefuzz_validate_and_gpu_1andfuzz_validate_and_gpu_3; nothing else failed.gpu_direct_msaa_image_loadspasses.cargo test -p xcl --lib gpu::dxil::fuzz_tests::fuzz_validate_and_gpu -- --test-threads=1 --nocapture, with a local copy ofrun_seedsthat logs a mismatch and continues (not pushed). 1232 seeds were GPU-compared (299 / 313 / 314 / 306 for_0.._3), no pipeline errors, one run._0(0..500)_1(500..1000)res[30] = 0x1, CPU0x7fffffff; 783:res[64] = 0xffffffff, CPU0x7fffffff_2(1000..1500)_3(1500..2000)res[193] = 0x1, CPU0x0540 and 817 do not mismatch on this card.
Not tested:
XCL_DIRECT_DXILvariants, release build, retail title.AI use: The test report was written by Claude Code (Claude Sonnet 5.5), and the 1599 reduction, workaround and update by Claude Code (Claude Opus 5.5), all from real runs on this machine.
Draft PR with the workaround: #2231.
Shader::bit_countfoldsCountbitsof a constant. Seed 1599 gives 0 mismatches, andfuzz_validate_and_gpu_3passes on this card.@pablogonz12 on GitHub · 2026-11-25 10:58 UTC · original
Linux/RADV seed 1003 is a Mesa NIR bug, not XCL or vkd3d-proton. With Mesa MR 46698 ("nir/range_analysis: fix ishr uub of possibly negative sources"; open, not merged when I checked) applied,
fuzz_validate_and_gpu_2passes here. This says nothing about the Windows seeds (540, 722, 783, 817, 1599).Reduced. With
x = 0xffffffffloaded from a buffer,y = int(x << 26) >> 26is correctly-1, but on stock Mesa:uint(y) <= 0xfffffffe(shifts of 26, 24 and 16)uint(y) < 0xffffffff(shift 26)uint(y) != 0xffffffff(shift 26)uint(y) <= 100(shift 26)x <= 0xfffffffe, no sign extensionspirv-val(checked on the full seed) and, for the 26-bit<=case, keepsOpShiftRightArithmetic→OpULessThanEqual.RADV_DEBUG=nir), the compare result is already the constant 1, while theishris still computed and stored. The MR attributes this fold tonir_opt_uub.v62, on a value that comes from theGsAtomicthroughGsExchange. In cut-down versions, the atomic result alone and the exchanged value are correct, and the compare is wrong with or without the exchange. The version with atomic,ashr, exchange and compare gives the same 8 wrong lanes as the full seed.Tested
main568e7db7729c8fa6c8f0f4b32d798faaf11462bb; RX 9070 XT (RADV GFX1201), Ryzen 9 9900X, Arch (kernel 7.3.6), GE-Proton11-14 Wine, vkd3d-proton v3.1 with the shared-fence patch, DXC 1.9.2609.5,x86_64-pc-windows-msvcrelease cross-build.debug_seedwithFUZZ_SEED=1003gives 8 mismatching words (res[713..=716]andres[721..=724]:0x1, CPU0x0).-Dllvm=disabled, release), without and with the MR's patch (commit723fba05; one hunk applied at an offset), selected withVK_DRIVER_FILES; the loader log shows which library ran.cargo test -p xcl --libsuite, run twice eachThe suite ran with 4 threads, shader caches off and 3 tests skipped that abort the test process on this stack:
integer_ops_match_cpu,uaddc_and_usubb_match_cpu,jumps_to_outer_loop_heads_are_structured. The only difference isfuzz_validate_and_gpu_2; the other 6 failures are the same on both.So for RADV I would not change the translator for this seed. Until a Mesa with the fix is out,
_2can be expected to stay red on affected versions.Not tested: Windows, other GPUs, Mesa versions other than 26.3.1, Mesa's own tests or CTS with the patch, the workspace's other crates, a retail title, and whether any title shader that XCL translates has this pattern.
AI use: Claude Code (Claude Sonnet 5.5) wrote the temporary reduced tests (not committed), built both drivers, ran everything on the machine above and wrote this comment.
@oni-swr on GitHub · 2026-11-25 11:00 UTC · original
Seeds 783 and 817 on an RX 7800 XT (driver 32.0.31035.1003), reduced:
Bfrev.i32(trunc(mul i64 3, 5))returnsx | bfrev(x)(0xf000000f, expected0xf0000000). Fixed by #2237 (draft; the i64 Bfrev halves use shifts and masks).IMax.i64fed by an i64 udiv chain returns garbage in the high word; the same chain with compare + select,IMinorUMaxpasses. With theops.rschange of #1946 applied locally, 783 gives 0 mismatches.So 722 (#2192) + 783 (#1946) + 817 (#2237) should clear
fuzz_validate_and_gpu_1on this card; I have not run all three together.AI use: Claude Code (Claude Sonnet 5.5).
@SlopTart on GitHub · 2026-11-25 11:18 UTC · original
Ran the three-PR stack together on both Linux rigs I report from, since nobody has yet:
main+ #2192 + #1946 + #2237 merged (clean merges, no conflict).RX 7900 XT (RDNA3), Mesa 26.2.5, Proton Experimental wine-11.0, release, tree
3077cf70:gpu::dxil::fuzz_tests5 passed, 1 failed, 2 ignored. The one failure is the Mesa-onlyfuzz_validate_and_gpu_2seed 1003, byte-identical to before the stack:seed 1003: res[713] = 0x1, CPU 0x0.GTX 1070 (Pascal), NVIDIA 550.163.01, Debian wine 10, release, tree
98db545: 6 passed, 0 failed, 2 ignored. Still fully green with all three fixes on top.Two honest caveats for oni-swr's summary claim:
_1" on RDNA3 under Linux, because those three seeds never failed on this stack in the first place;_1was already green before the stack. What it does confirm is that the three fixes break nothing on either Linux configuration.Counts only, no game data.
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
@SlopTart on GitHub · 2026-11-25 11:57 UTC · original
Seed 1003 (the Linux/Mesa-only one from our rows) is now delta-reduced on our RX 7900 XT / Mesa 26.2.5 rig.
Reduction oracle: the mismatch must stay the exact same triple (word 713: GPU 0x1, CPU 0x0), the module must still pass validation, and the GPU run must complete. Greedy deletion of whole segments, then single instructions, then output-slot trims, and finally all instruction pairs, since coupled instructions often only die together. Converged: what is left is irreducible under both single and pair deletion, and re-confirms 3/3 after convergence.
The kernel that survives (from the harness IR, roughly):
Everything above is load bearing: deleting any single instruction or any pair changes or clears the mismatch.
Still red on: plain origin/main, the 2192 + 1946 + 2237 stack (our comment above), and the 2227/2228/2229/2231/2241/2246/2247/2254 cascade. Still green on NVIDIA (GTX 1070, driver 550) on the same seeds. So none of the current open fixes touch whatever RADV does differently here.
Full minimal program (harness IR) plus the DXIL disassembly of the reduced kernel: https://gist.github.com/SlopTart/a4022bc50994514293d2ff2b12261176
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
@cindertheblue on GitHub · 2026-11-25 17:47 UTC · original
Windows run of the whole stack:
main68a284a+ #1974 + #1946 + #2192 + #2237 makes every fuzz seed pass on two AMD GPUs. This is the Windows counterpart of SlopTart's Linux stack run, with #1974 added for 540. The four merge onto68a284awith no conflicts, in that order.Tested
gfx1036), driver 32.0.21045.5002. Windows 11 Home 26200.9974, rustc 1.99.1, DXC 1.8.2502.11 (SDK 10.0.26100), debug. The two trees were built in separate folders withcargo build --workspacefirst. Apart from the merges, the only local change is the logging copy ofrun_seedsfrom my earlier comment, as an ignored test (not pushed).gfx1036main68a284aamd_reduced_seeds -- --ignored: every variant and full seed passes on both GPUs with the stack. Onmainthe full seed 722 fails on the RX 7600 XT, and both 540 variants and the full seed 540 fail on the iGPU. One change from568e7db: on68a284athe two reduced 722 shapes pass on the RX 7600 XT (two runs) while the full seed 722 still fails. On568e7dbboth shapes failed there.cargo test --workspace --no-fail-fast -- --test-threads=4, once each. The 47 ignored include the local scan test:main68a284aXCL_DIRECT_DXIL=1The stack's 6 extra passes are the 5 tests the PRs add plus
fuzz_validate_and_gpu_1. The failure left on both trees isa_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier(left: 3, right: 1), which already fails onmainsince the #2074 merge and is acknowledged there. WithXCL_DIRECT_DXIL=1there is alsooffline_compute_pipeline_is_reused_by_a_second_process(#1674) on both trees. The same 8SKIPPEDlines in all six runs.So on this machine, with those four PRs in,
cargo test --workspacehas no AMD-specific failure left. 1599 doesn't reproduce here, so this says nothing about #2231 or RDNA4.Not tested: a release build, a title or smoke run of the stack, NVIDIA, RDNA4.
AI use: Claude Code (Claude Opus 5.5) merged the PRs, ran the tests and wrote this comment from their output.
@SashaTun on GitHub · 2026-11-25 18:57 UTC · original
NVIDIA GeForce RTX 5060 (8 GB, 32-wide waves only): the fuzz GPU tests fail with a refused pipeline (
0x8007000E), not with a wrong resultOn
main68a284a— NVIDIA GeForce RTX 5060 (8 GB), driver32.0.16.2101; Windows 11 build 26200 x64; Rust1.100.0(stable-x86_64-pc-windows-msvc); release profile; noXCL_SAMPLE_*:cargo test --release --workspace --no-fail-fast -- --test-threads=4→ 1285 passed, 5 failed, 46 ignored; 29SKIPPEDlines (21 of themno wave64— this card runs 32-wide waves only).Four of the five failures are this issue's test family, and on this card they fail a third way — the driver refuses the pipeline instead of computing a wrong value:
gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0CreateComputePipelineState: 0x8007000E(out of memory)gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_2gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_3So on an 8 GB card the panic is at the pipeline creation, not at the comparison with the CPU result — the run never reaches the seeds the AMD cards fail on. This looks like the fixed 13 824 MB budget wall (#333, #345, #1585, #1337) seen from the fuzz tests; a test that skips when the driver refuses the pipeline would keep the default suite green on small cards.
The same four failures also occur on the head of #2352 (
440e802), so they are not from that PR.The fifth failure is not a GPU one:
gpu::recomp::lower_dxil::tests::a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrierfails onmaintoo (1 group barrier expected, 3 in the program). It is not card-specific: the CI run onmain3ceb5507fails on it on the Windows runner without a GPU. Reported separately.AI use: MiniMax Code (MiniMax-M3.1-Flash) ran the suite and wrote this report.
@thiagocalile on GitHub · 2026-11-25 19:35 UTC · original
Independent Windows AMD Radeon RX 6600 (RDNA2, 8 GB VRAM, native wave64) verification of
main2898511+#1946(f906266) +#2192(1d8341a): all 1,364 workspace tests pass with 0 failures (down from 1 failure,gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1, on unmodifiedmain2898511).Tested
32.0.21045.29003,XCL_ADAPTER=radeon), AMD Ryzen 7 5700X3D, 47.9 GB RAM, Windows 11 (10.0.26200.0), Rust1.100.0(stable-x86_64-pc-windows-msvc), DXC1.8.2502.11.main(2898511af1c038a2ef809719e9b6f89e5675c422):XCL_ADAPTER=radeon cargo test --workspace --no-fail-fast -- --test-threads=4: 1,362 passed, 1 failed, 46 ignored (11skipped; failed:gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1).#1946(f906266) +#2192(1d8341a) ontomain2898511:XCL_ADAPTER=radeon cargo test --workspace --no-fail-fast -- --test-threads=4: 1,364 passed, 0 failed, 46 ignored (11skipped).Regression run (
scripts/smoke.ps1 -Seconds 60, release builds,XCL_ADAPTER=radeon)main(2898511):main2898511+#1946(f906266) +#2192(1d8341a):Not tested:
#1946and#2192individually in isolation, NVIDIA/Intel GPUs, Linux/RADV, or world load past the 60 s smoke window.AI use: Antigravity (Gemini 4 Neon) ran the merge, workspace tests, and smoke runs and drafted this report; the account owner reviewed and approved posting.