You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
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
fuzz_validate_and_gpu_1 (seeds 500..1000) is not ignored and fails on AMD cards on main, so cargo test --workspace is 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:
no variable: 1153 passed, 1 failed, 46 ignored. The failure is fuzz_validate_and_gpu_1, seed 722: res[30] = 0x1, CPU 0x7fffffff.
@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 (CreateComputePipelineState returns 0x8007000E, no wrong values): #1905, and #1919.
Ways to make main green on AMD (I haven't tried any of them):
skip the seeds known to mismatch on AMD, with a reason that names this issue, or
a translator-side workaround once a reduced form is understood (amd_reduced_seeds has 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; main at 6987e49, no local changes.
AI use: Claude Code (Claude Opus 5.5) ran the tests, collected the reports from #1679 and wrote this issue.
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 ran cargo test --locked -p xcl --lib -j 2 gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 -- --test-threads=1 --show-output with XCL_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.
A paired full workspace run on this main and PR Shaders: restore direct DXIL cache ID after source deletion #2047 head had identical failing test names (993 passed, 161 failed, 46 ignored on each); both logs contained 0x887A0005 after 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.
RDNA3 data point under Linux/Wine, and it does not match the Windows seed pattern: fuzz_validate_and_gpu_1 is 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_DXIL unset (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 _1 among the AMD reports here; every Windows entry hits 722 or 540.
fuzz_validate_and_gpu_2 (1000..1500): fails at seed 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 main cbc296ab. 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 _1 and 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.
@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 1 at word 713, where the CPU expected 0. Please report whether that still reproduces and whether the reduced baseline independently reproduces at word 9, also expected 0. Either result is useful. Your reproduction
The runner and all four fixtures use XCL 6020a33b16ba2de25b3aef5947552f2dc1831f09. The full and reduced baseline DXIL, inputs and expected results match the artifacts regenerated from cbc296ab65a2661a61e3e2da109134bcd5319f60 byte 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.
Extract both archives. In the companion directory, set WINEPREFIX, XCL_ADAPTER and XCL_DXC_DIR as described in the README. Use the existing launcher that selects your reproducing stack.
Please return summary.tsv, environment.txt and 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.
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 of run_seeds that 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 with XCL_DIRECT_DXIL=0 and 1:
GPU
driver
mismatching seeds
RX 7600 XT (RDNA3, Navi 33)
32.0.31041.1004
722 (1 dword), 783 (32), 817 (64)
Ryzen 5 9600X iGPU (RDNA2, gfx1036)
32.0.21045.5002
540 (21 dwords), 783 (32), 817 (64)
722, 783 and 817 are the seeds @srcamarda listed for the RX 7800 XT, and 540 is the one on the RX 6600 and the 9800X3D iGPU. 1599 passes on both GPUs here, as amd_reduced_seeds showed for the RX 7600 XT.
So the Windows AMD reports in this issue come to five seeds: 540, 722, 783 and 817 (_1), and 1599 (_3, RDNA4 only so far). 1003 (_2) is only on Linux/RADV.
First mismatching words: 722 res[30] = 0x1 (CPU 0x7fffffff); 540 res[833] = 0x7 (CPU 0x6); 783 res[64] = 0xc on the RX 7600 XT, 0xf5ffddbf on the iGPU (CPU 0x7fffffff); 817 res[320] = 0xfe53ffff on both (CPU 0x4a43fdeb).
The rest of the suite found nothing else AMD-specific on this main. I ran cargo test --workspace --no-fail-fast -- --test-threads=4 on the iGPU (XCL_ADAPTER="radeon(tm)", with and without XCL_DIRECT_DXIL=1), and on the RX 7600 XT with XCL_DIRECT_DXIL=all and with XCL_SPLIT_WAVE64=1. Apart from fuzz_validate_and_gpu_1 (seed 540 on the iGPU, 722 on the RX 7600 XT), the only failures were gpu_image_get_resinfo_1d_array (#2046) and offline_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, main568e7db with 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.
Activity
luckyteagirl commentedon Nov 25, 2026
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 Shaders: restore direct DXIL cache ID after source deletion #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 commentedon Nov 25, 2026
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 commentedon Nov 25, 2026
@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.bash ./run-seed1003-linux.sh /absolute/path/to/xcl-shader-kit \ ./seed-replay.exe /absolute/path/to/existing-wine-or-proton-wrapper ./seed1003-resultsPlease 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 commentedon Nov 25, 2026
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.