docs: record RX 7900 XTX array-atomics measurement in #369 #501

Merged
stan495 merged 1 commit from upstream-pr/507 into main 2026-11-22 08:40:09 +00:00
stan495 commented 2026-11-22 08:29:25 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-22T08:29:25Z.


Change

Records the array-atomics probe measurement for an RDNA 3 adapter (AMD Radeon RX 7900 XTX) in docs/experiments.md.

This advances #369 by providing independent evidence from an RDNA 3 (Navi 31) workstation, demonstrating that the actual=256,256,256,256 probe failure signature (against 64 expected) is an AMD driver/compiler behavior that spans both RDNA 3 and RDNA 4 architectures, rather than an RDNA 4-specific quirk.

Refs #369

Verification

  • Commit: 185b9d6c (with commit de6f213 applied)
  • Environment: Windows 11 build 26200, MSVC 19.50 (VS 2022 17.14), Windows SDK 10.0.26100.0, DXC 1.8.2502.11
  • Adapter: AMD Radeon RX 7900 XTX (vendor 0x1002, device 0x744c)
  • Driver: 32.0.32029.2010
  • D3D12 Debug Layer: Enabled

Ran the hardware alias writes test:

ctest --preset dev -R 'gpu_alias_lookup_writes_hardware' -V

Observed output:

49: Test command: E:\02_Workspace\Xbox2Windows\out\build\dev\offscreen_check.exe "hardware" "--gpu-alias-lookup-writes"
49: Working Directory: E:/02_Workspace/Xbox2Windows/out/build/dev
49: Test timeout computed to be: 45
49: InterlockedAdd through a per-thread index into a UAV array is not applied exactly once per thread on this adapter (array_atomics counts above). This is an adapter defect, recorded for the Windows 10 in-box WARP 10.0.19041 in docs/experiments.md
49: backend=hardware debug_layer=enabled
49: adapter=AMD Radeon RX 7900 XTX vendor=1002 device=744c
49: driver=32.0.32029.2010
49: array_atomics threads=256 buffers=4 expected=64 actual=256,256,256,256
49: gpu_alias_lookup_writes add_sub words=2 add=0001f5a0 sub=000d4ca0 expected_add=0001f5a0 expected_sub=000d4ca0 mismatches=0
49: gpu_alias_lookup_writes other results=1047 words=147454 mismatches=0
49: gpu_alias_lookup_writes ranges=4 records=1047 stores=14 contenders=256 sum=128416 min=-1250 max=1241.62 misses=9 words_checked=147456 mismatches=0
49: debug_errors=0 debug_warnings=0
1/1 Test #49: gpu_alias_lookup_writes_hardware ...***Failed    0.14 sec

Ran the platform documentation and formatting checks:

  • python -B tests/docs_links_check.py: Passed (checked 10 Markdown files and 103 links, self-test passed).
  • python -B tests/bidi_controls_check.py: Passed (checked 453 tracked files, 0 bidirectional controls).
  • git -c core.whitespace=cr-at-eol diff --check: 0 errors.

Evidence and follow-up

This is a documentation-only update recording hardware probe evidence; no new code or fixtures are introduced.

The measurement establishes that divergent per-thread UAV array indexing under NonUniformResourceIndex for InterlockedAdd over-counts by a factor of 4 (64 lanes × 4 waves = 256) on RDNA 3 hardware, matching the behavior reported on RDNA 4 (#369) and Windows 10 in-box WARP 10.0.19041. While the probe fails by design, the title-address fixture itself recorded 0 mismatches across all 1,047 records and 147,454 checked words, with zero debug errors or warnings.

Follow-up work on #369 can explore whether the title write path (WriteTitleAddresses) should adopt an explicit WaveReadLaneFirst waterfall loop to guard against multi-slot dynamic divergence on AMD adapters.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6540277556 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/507). Originally posted by [stan495](https://github.com/stan495) on 2026-11-22T08:29:25Z. --- ## Change Records the array-atomics probe measurement for an RDNA 3 adapter (AMD Radeon RX 7900 XTX) in `docs/experiments.md`. This advances #369 by providing independent evidence from an RDNA 3 (Navi 31) workstation, demonstrating that the `actual=256,256,256,256` probe failure signature (against 64 expected) is an AMD driver/compiler behavior that spans both RDNA 3 and RDNA 4 architectures, rather than an RDNA 4-specific quirk. Refs #369 ## Verification - **Commit:** `185b9d6c` (with commit `de6f213` applied) - **Environment:** Windows 11 build 26200, MSVC 19.50 (VS 2022 17.14), Windows SDK 10.0.26100.0, DXC 1.8.2502.11 - **Adapter:** AMD Radeon RX 7900 XTX (vendor `0x1002`, device `0x744c`) - **Driver:** `32.0.32029.2010` - **D3D12 Debug Layer:** Enabled Ran the hardware alias writes test: ```powershell ctest --preset dev -R 'gpu_alias_lookup_writes_hardware' -V ``` Observed output: ```text 49: Test command: E:\02_Workspace\Xbox2Windows\out\build\dev\offscreen_check.exe "hardware" "--gpu-alias-lookup-writes" 49: Working Directory: E:/02_Workspace/Xbox2Windows/out/build/dev 49: Test timeout computed to be: 45 49: InterlockedAdd through a per-thread index into a UAV array is not applied exactly once per thread on this adapter (array_atomics counts above). This is an adapter defect, recorded for the Windows 10 in-box WARP 10.0.19041 in docs/experiments.md 49: backend=hardware debug_layer=enabled 49: adapter=AMD Radeon RX 7900 XTX vendor=1002 device=744c 49: driver=32.0.32029.2010 49: array_atomics threads=256 buffers=4 expected=64 actual=256,256,256,256 49: gpu_alias_lookup_writes add_sub words=2 add=0001f5a0 sub=000d4ca0 expected_add=0001f5a0 expected_sub=000d4ca0 mismatches=0 49: gpu_alias_lookup_writes other results=1047 words=147454 mismatches=0 49: gpu_alias_lookup_writes ranges=4 records=1047 stores=14 contenders=256 sum=128416 min=-1250 max=1241.62 misses=9 words_checked=147456 mismatches=0 49: debug_errors=0 debug_warnings=0 1/1 Test #49: gpu_alias_lookup_writes_hardware ...***Failed 0.14 sec ``` Ran the platform documentation and formatting checks: - `python -B tests/docs_links_check.py`: Passed (checked 10 Markdown files and 103 links, self-test passed). - `python -B tests/bidi_controls_check.py`: Passed (checked 453 tracked files, 0 bidirectional controls). - `git -c core.whitespace=cr-at-eol diff --check`: 0 errors. ## Evidence and follow-up This is a documentation-only update recording hardware probe evidence; no new code or fixtures are introduced. The measurement establishes that divergent per-thread UAV array indexing under `NonUniformResourceIndex` for `InterlockedAdd` over-counts by a factor of 4 (64 lanes × 4 waves = 256) on RDNA 3 hardware, matching the behavior reported on RDNA 4 (#369) and Windows 10 in-box WARP 10.0.19041. While the probe fails by design, the title-address fixture itself recorded 0 mismatches across all 1,047 records and 147,454 checked words, with zero debug errors or warnings. Follow-up work on #369 can explore whether the title write path (`WriteTitleAddresses`) should adopt an explicit `WaveReadLaneFirst` waterfall loop to guard against multi-slot dynamic divergence on AMD adapters. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted.
upstream-sync closed this pull request 2026-11-24 06:43:25 +00:00
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!501
No description provided.