docs/testing: known problem, cs_fmt_int_narrow on Intel ANV Mesa 25.2 (TEST-1000 denormal flush, + Xe2/ARL evidence) #1399
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1399"
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 thiefyzheng on 2026-11-24T23:27:31Z.
What
One row in docs/testing.md "Known problems":
cs_fmt_int_narrowon Intel ANV from Mesa 25.2 fails not just word 34 but three of its 136 dumped words — 34 (0x00000000), 49 and 129 (0x80000000) — natively and underLEONIDA_W64_EMULATE=1alike.check.py's comparison stops at the first mismatch, which is why every suite log so far names only word 34 (including ours, in #663'sgpu-test-results/IntelARL.txt).Claimed as ANV-INTNARROW-WORD34 on #14.
Why
No known-problems row covers
cs_fmt_int_narrowanywhere: the current table has the RADV 25.2 rows but nothing for this fixture, even though the failure reproduces on Intel Gen9 ANV and — measured here — on an Arrow Lake-H Arc 140T (Xe2) at the same Mesa 25.2.8. A tester on either part could take it for a translator regression. The row also records that the runner prints only the first mismatched word, so the three-word signature is invisible in normal suite output.The mechanism paragraph and the Gen9 measurements are @theswiss24's TEST-1000 diagnosis (old-repo PR #4736, branch
docs/test-1000-anv-gen9-denormal, which never merged before the original repository closed). This carries that diagnosis with credit and adds our Arc 140T evidence.What I ran (all on hub
main, synthetic fixtures only, no game data)vk_compute_test ... dumpreadback on the Arc 140T (ANV 25.2.8-0ubuntu0.24.04.5, Vulkan 1.4.318, Intel Core Ultra 7 255H, PCI 8086:7d51), natively and withLEONIDA_W64_EMULATE=1, both atmain21625bca8: mismatch_count=3, words 34/49/129 exactly as the row states; all other 133 words matchFMT_INT_NARROW_WORDS.OpExecutionMode %2 DenormPreserve 32(spirv-dis → edit → spirv-as → spirv-val clean): the unmodified module reproduces the three mismatches, the modified one passes 136/136. So the failure behaves on Xe2 exactly as TEST-1000 measured on Gen9.OpConstant %uint 2147549183(=0x8000FFFF) stored by a single dwordOpStoreto PhysicalStorageBuffer; no float operation on the path, no 16-bit heap stores;DenormPreserve 16andSignedZeroInfNanPreserve 32requested,DenormPreserve 32not. The raw buffer readback (word 129) is where the corruption is directly visible.tests/semantic/test_value_semantics.pyTranslatorValueSemantics.test_narrow_integer_typed_buffers— 136/136 OK, so the translator is excluded at that layer too; the translated modules in both subgroup modes are byte-identical (whole-module SHA-256 compared), matching the identical failure in both modes.Not run / not claimed
Gen9 was not re-run by us (the row's Gen9 wording is TEST-1000's, credited, not our measurement). Neither Gen9 nor the Arc 140T has been run on a newer Mesa with this fixture — so the row does not attribute the failure to hardware vs Mesa version beyond what the matrix shows: Xe-LP (ANV 26.3.1) and Meteor Lake (ANV 26.2.7) pass in #663's records, and the failing parts are both at 25.2.8.
Complements draft #84 (our carried old-PR #9810), which documents the other four Arc-140T fixture failures (
cs_imgload_tfe,cs_imgload_d16_tfe,cs_w32_exec_computed,cs_w64_exec_computed) and explicitly leaves this fixture to a row of its own.Docs-only change: one line in docs/testing.md, no code or tests touched;
scripts/check_no_game_data.pypasses.AI-assisted: a pi coding agent operated by the repo contributor ran the rig measurements, the module surgery and the CPU checks; the diagnosis carried is TEST-1000's, and the PR text quotes only measurements actually run.
Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T15:23:27Z.
Reviewed
393792f: one Known-problems row for cs_fmt_int_narrow on Intel ANV Mesa 25.2. Docs-only. I ranthe CPU suites (test_value_semantics 41 OK on both trees, including the cs_fmt_int_narrow interpreter
test; test_shader_checks OK) and a probe translating the fixture on CPU: exactly one OpConstant 0x8000ffff
stored by one dword PhysicalStorageBuffer OpStore with no float op on the path, DenormPreserve 16
requested and no DenormPreserve 32, and check.py's expected words are exactly want[34] = 0xffffffff,
want[49]/[129] = 0x8000ffff with the first-mismatch-only message the row describes. The Intel GPU runs
and TEST-1000 are not reproducible on this host. AI-assisted review.
Recommendation: Merge
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T18:25:22Z.
Red/green: Docs only: Adds a known-problems row in docs/testing.md for cs_fmt_int_narrow on Intel ANV Mesa 25.2, consistent with the fixture on main.
Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main
7daa4a4a5in GitHub Actions: no new failure. Docs checked by a separate reviewer against the code on main.AI-assisted (Claude Code, Claude Opus 5.5)