docs: record the subgroup width change between dispatches on Intel Xe2 #1158

Merged
ChazY11 merged 1 commit from upstream-pr/1165 into main 2026-11-24 02:51:01 +00:00
ChazY11 commented 2026-11-24 02:10:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T02:10:59Z.


What

docs/experiments.md, subgroup compaction section: adds the one adapter result the section does not have — the
adapter where the reported wave width is not stable between dispatches — plus the probe that isolates it and the
numbers that show the rest of the fixture still agrees with that adapter.

Measured

Host: Windows 11 build 26300.9974, x64, Core Ultra 9 285H; MSVC 14.44.35207, Windows SDK 10.0.26100,
DXC 1.8.2502.11, SPIRV-Tools v2025.5, SPIRV-Cross 57e4efc+, Python 3.12.10. Debug layer enabled in every run,
debug_errors=0 debug_warnings=0.

$env:XBOX2WINDOWS_ADAPTER = 'Intel'    # or 'NVIDIA'; unset for WARP
ctest --preset dev --no-tests=error -R '^spirv_compaction_' -V
observation Intel Arc 140T (32.0.101.8132) RTX 5080 Laptop (32.0.15.8142) WARP (10.0.26100.9818)
first dispatch of a freshly compiled module 16 lanes, 3 of 4 modules 32 lanes 4 lanes
every later dispatch of the same modules 32 lanes, 15 runs 32 lanes 4 lanes
bridge path, mask_a and mask_b 328/328 words, 0 mismatches 328/328, 0 328/328, 0
negative controls caught at words 65 and 257, both masks caught caught
fixture verdict fails at the repeat comparison passes passes

The probe behind the first two rows is one 64-thread group that writes WaveGetLaneIndex, WaveGetLaneCount,
WavePrefixCountBits and the low ballot word per thread, dispatched through the repository's own
offscreen_check --raw-uav-dump (one group, 1024 bytes). Two consecutive runs of one module differed in 192 of 256
words; every difference was a width or ballot field, and each ballot was correct for the width that run reported
(0x8421 at 16 lanes, 0x84218421 at 32).

One anomalous attempt is recorded in the entry rather than smoothed over: a control's deliberately mutated module
disagreed with its own mutated reference at a lane word (reference lane 19, device wrote 3), and three reruns of the
identical command passed. Stated as measured, with the cause left open.

Tested

.\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py
  Self-test passed. Checked 15 Markdown files and 253 links.
.\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py
  Self-test passed. Checked 948 tracked source, script and build/CI files: no bidirectional controls.

Docs only: two paragraphs in one section. No fixture, CTest registration, build change or expectation change, so there
is nothing new for the Windows jobs to build and nothing that could turn a skip into a failure.

Notes

  • AI-assisted; every number is from this machine and reproducible with the command above plus the probe described in
    the entry.
  • Refs #768, which carries the discussion and my earlier reports. I have not added the probe as a fixture or
    changed the width expectations; that is still waiting on the maintainer's direction, and this PR is the
    documentation of what was measured, not a claim about the cause.
  • Nothing from a game: the fixture's masks, texture-free probe and output layout are all generated by the repository.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6573020035 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1165). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T02:10:59Z. --- ## What `docs/experiments.md`, subgroup compaction section: adds the one adapter result the section does not have — the adapter where the reported wave width is **not stable between dispatches** — plus the probe that isolates it and the numbers that show the rest of the fixture still agrees with that adapter. ## Measured Host: Windows 11 build 26300.9974, x64, Core Ultra 9 285H; MSVC 14.44.35207, Windows SDK 10.0.26100, DXC 1.8.2502.11, SPIRV-Tools v2025.5, SPIRV-Cross `57e4efc+`, Python 3.12.10. Debug layer enabled in every run, `debug_errors=0 debug_warnings=0`. ```powershell $env:XBOX2WINDOWS_ADAPTER = 'Intel' # or 'NVIDIA'; unset for WARP ctest --preset dev --no-tests=error -R '^spirv_compaction_' -V ``` | observation | Intel Arc 140T (32.0.101.8132) | RTX 5080 Laptop (32.0.15.8142) | WARP (10.0.26100.9818) | |---|---|---|---| | first dispatch of a freshly compiled module | 16 lanes, 3 of 4 modules | 32 lanes | 4 lanes | | every later dispatch of the same modules | 32 lanes, 15 runs | 32 lanes | 4 lanes | | bridge path, mask_a and mask_b | 328/328 words, 0 mismatches | 328/328, 0 | 328/328, 0 | | negative controls | caught at words 65 and 257, both masks | caught | caught | | fixture verdict | fails at the repeat comparison | passes | passes | The probe behind the first two rows is one 64-thread group that writes `WaveGetLaneIndex`, `WaveGetLaneCount`, `WavePrefixCountBits` and the low ballot word per thread, dispatched through the repository's own `offscreen_check --raw-uav-dump` (one group, 1024 bytes). Two consecutive runs of one module differed in 192 of 256 words; every difference was a width or ballot field, and each ballot was correct for the width that run reported (`0x8421` at 16 lanes, `0x84218421` at 32). One anomalous attempt is recorded in the entry rather than smoothed over: a control's deliberately mutated module disagreed with its own mutated reference at a lane word (reference lane 19, device wrote 3), and three reruns of the identical command passed. Stated as measured, with the cause left open. ## Tested ```text .\out\pe-env\Scripts\python.exe -B tests/docs_links_check.py Self-test passed. Checked 15 Markdown files and 253 links. .\out\pe-env\Scripts\python.exe -B tests/bidi_controls_check.py Self-test passed. Checked 948 tracked source, script and build/CI files: no bidirectional controls. ``` Docs only: two paragraphs in one section. No fixture, CTest registration, build change or expectation change, so there is nothing new for the Windows jobs to build and nothing that could turn a skip into a failure. ## Notes - AI-assisted; every number is from this machine and reproducible with the command above plus the probe described in the entry. - `Refs #768`, which carries the discussion and my earlier reports. I have **not** added the probe as a fixture or changed the width expectations; that is still waiting on the maintainer's direction, and this PR is the documentation of what was measured, not a claim about the cause. - Nothing from a game: the fixture's masks, texture-free probe and output layout are all generated by the repository.
upstream-sync closed this pull request 2026-11-24 06:46:37 +00:00
tedin7 commented 2026-11-24 06:46:38 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T02:27:07Z.

Review: COMMENTED


Reviewed commit a702ab4a0f0a786c6927e0fb8cc74c30cae8a719 on Linux.

Notes:

  • docs/experiments.md: clearly records the Intel Arc 140T (8086:7d51, driver 32.0.101.8132) dispatch-to-dispatch subgroup width change (16 -> 32 lanes), the --raw-uav-dump and [WaveSize(32)] isolation results, and the bridge-path parity, without overclaiming root cause.

Linux checks passed: python3 tests/docs_links_check.py, python3 tests/bidi_controls_check.py, python3 tests/gpu_report_format_check.py, python3 tests/xgameruntime_table_check.py, python3 tests/hardware_reports_check.py.
Docs-only change; Windows CI checks are currently pending.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6032753424 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1165#pullrequestreview-6032753424). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T02:27:07Z. **Review:** COMMENTED --- Reviewed commit `a702ab4a0f0a786c6927e0fb8cc74c30cae8a719` on Linux. Notes: - `docs/experiments.md`: clearly records the Intel Arc 140T (`8086:7d51`, driver `32.0.101.8132`) dispatch-to-dispatch subgroup width change (16 -> 32 lanes), the `--raw-uav-dump` and `[WaveSize(32)]` isolation results, and the bridge-path parity, without overclaiming root cause. Linux checks passed: `python3 tests/docs_links_check.py`, `python3 tests/bidi_controls_check.py`, `python3 tests/gpu_report_format_check.py`, `python3 tests/xgameruntime_table_check.py`, `python3 tests/hardware_reports_check.py`. Docs-only change; Windows CI checks are currently pending.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!1158
No description provided.