mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1399] docs/testing: known problem, cs_fmt_int_narrow on Intel ANV Mesa 25.2 (TEST-1000 denormal flush, + Xe2/ARL evidence) #1429
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1429
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1399
Author: @thiefyzheng
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:docs/anv-intnarrow-word34📝 Commits (1)
393792fdocs/testing: known problem, cs_fmt_int_narrow on Intel ANV Mesa 25.2 (denormal flush; TEST-1000 + Xe2/ARL evidence)📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
docs/testing.md(+1 -0)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.