tests: offscreen hardware tests fail on an RDNA4 adapter #1141

Closed
opened 2026-11-24 01:45:38 +00:00 by denn0x · 3 comments
denn0x commented 2026-11-24 01:45:38 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by denn0x on 2026-11-24T01:45:38Z.


Problem

On an AMD Radeon RX 9070 XT (driver 32.0.32015.7029, Windows 11 build 26300, debug layer off), on current main:
dxr_opacity_hardware, gpu_alias_lookup_writes_hardware and pixel_aot_comparisons_hardware fail. They use
offscreen_check, which links only the system D3D12, so they are independent of the startup stand-ins.

Done when

The first mismatch for each is recorded, and the tests either pass, report a capability skip (77) for the missing
feature, or are marked adapter-specific.

Context: docs/startup-runtime.md (#1135). Do not attach game files, dumps or logs that contain addresses or names from an executable; describe results in terms of the component tested.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6572714845 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1148). Originally posted by [denn0x](https://github.com/denn0x) on 2026-11-24T01:45:38Z. --- ## Problem On an AMD Radeon RX 9070 XT (driver 32.0.32015.7029, Windows 11 build 26300, debug layer off), on current `main`: `dxr_opacity_hardware`, `gpu_alias_lookup_writes_hardware` and `pixel_aot_comparisons_hardware` fail. They use `offscreen_check`, which links only the system D3D12, so they are independent of the startup stand-ins. ## Done when The first mismatch for each is recorded, and the tests either pass, report a capability skip (77) for the missing feature, or are marked adapter-specific. Context: `docs/startup-runtime.md` (#1135). Do not attach game files, dumps or logs that contain addresses or names from an executable; describe results in terms of the component tested. AI-assisted (Claude Code).
R0Y00 commented 2026-11-24 06:50:06 +00:00 (Migrated from github.com)
Author
Contributor

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


Two rows already have focused reports. Keep the strict inline TMin mismatch in #1011 and the preserve-mode subnormal result in #958, with wave/driver evidence tracked there. The unresolved row here is gpu_alias_lookup_writes_hardware. Please post the exact commit and first differing DWORD (expected and actual), the CTest command, adapter/driver, and whether the identical WARP case reproduces. Use exit 77 only for a demonstrated missing capability.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7119673803 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1148#issuecomment-7119673803). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T02:01:07Z. --- Two rows already have focused reports. Keep the strict inline TMin mismatch in #1011 and the preserve-mode subnormal result in #958, with wave/driver evidence tracked there. The unresolved row here is `gpu_alias_lookup_writes_hardware`. Please post the exact commit and first differing DWORD (expected and actual), the CTest command, adapter/driver, and whether the identical WARP case reproduces. Use exit 77 only for a demonstrated missing capability.
MasterDomino commented 2026-11-24 06:50:26 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-24T05:25:46Z.


The gpu_alias_lookup_writes_hardware row, from a second RX 9070 XT. Measurement only, no project change.

Environment

  • AMD Radeon RX 9070 XT (1002:7550), driver 32.0.31044.16 (the report above used 32.0.32015.7029).
  • Windows 11 26H2, build 26300.9974; D3D12 debug layer enabled.
  • main at 1c2c4b3e, dev preset, MSVC 19.44 (14.44.35207), DXC 1.8.2502.11.
  • In-box WARP 10.0.26100.9818 for the control.

Command and result

cmake --preset dev
cmake --build --preset dev --target offscreen_check
ctest --preset dev --no-tests=error -R '^gpu_alias_lookup_writes_(hardware|warp)$' -V

Run 3 times, with the same output each time:

hardware WARP
array_atomics (word 0 of each of 4 buffers, 64 adds expected) 256,256,256,256 64,64,64,64
add/sub words 0 mismatches 0 mismatches
other title-address words (147,454) 0 mismatches 0 mismatches
debug_errors / debug_warnings 0 / 0 0 / 0
CTest Failed Passed

The first differing DWORD is word 0 of buffer 0: expected 0x00000040, actual 0x00000100. All four buffers differ the same way. This is the only failing check in the test: the alias-lookup writes themselves match the CPU reference on hardware. The identical WARP case does not reproduce.

The explicit waterfall diagnostic, as a control:

.\out\build\dev\offscreen_check.exe hardware --gpu-alias-atomic-waterfall   # 64,64,64,64, exit 0
.\out\build\dev\offscreen_check.exe warp --gpu-alias-atomic-waterfall       # 64,64,64,64, exit 0

Where this is tracked

This is the direct-probe signature from #369, already recorded in docs/experiments.md under "AMD and Intel divergent array-atomic measurements (#369)". That section now covers four AMD driver versions with the same 256,256,256,256 result, including the 32.0.32015.7029 driver from this report. It also has the RGA ISA for this adapter: the active-lane count is taken before the non-uniform resource loop narrows EXEC. So all three rows here now map to a focused report: #1011, #958 and #369. I see no missing capability, so exit 77 would not be correct for this row.

One small mismatch, which I have not changed: the failure message still says the defect is "recorded for the Windows 10 in-box WARP 10.0.19041". That no longer matches the AMD signature documented in the same file.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7122938649 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1148#issuecomment-7122938649). Originally posted by [MasterDomino](https://github.com/MasterDomino) on 2026-11-24T05:25:46Z. --- The `gpu_alias_lookup_writes_hardware` row, from a second RX 9070 XT. Measurement only, no project change. ## Environment - AMD Radeon RX 9070 XT (`1002:7550`), driver `32.0.31044.16` (the report above used `32.0.32015.7029`). - Windows 11 26H2, build 26300.9974; D3D12 debug layer **enabled**. - `main` at `1c2c4b3e`, `dev` preset, MSVC 19.44 (14.44.35207), DXC 1.8.2502.11. - In-box WARP `10.0.26100.9818` for the control. ## Command and result ```powershell cmake --preset dev cmake --build --preset dev --target offscreen_check ctest --preset dev --no-tests=error -R '^gpu_alias_lookup_writes_(hardware|warp)$' -V ``` Run 3 times, with the same output each time: | | hardware | WARP | |---|---|---| | `array_atomics` (word 0 of each of 4 buffers, 64 adds expected) | `256,256,256,256` | `64,64,64,64` | | add/sub words | 0 mismatches | 0 mismatches | | other title-address words (147,454) | 0 mismatches | 0 mismatches | | `debug_errors` / `debug_warnings` | 0 / 0 | 0 / 0 | | CTest | Failed | Passed | The first differing DWORD is word 0 of buffer 0: expected `0x00000040`, actual `0x00000100`. All four buffers differ the same way. This is the only failing check in the test: the alias-lookup writes themselves match the CPU reference on hardware. The identical WARP case does not reproduce. The explicit waterfall diagnostic, as a control: ```powershell .\out\build\dev\offscreen_check.exe hardware --gpu-alias-atomic-waterfall # 64,64,64,64, exit 0 .\out\build\dev\offscreen_check.exe warp --gpu-alias-atomic-waterfall # 64,64,64,64, exit 0 ``` ## Where this is tracked This is the direct-probe signature from #369, already recorded in `docs/experiments.md` under "AMD and Intel divergent array-atomic measurements (#369)". That section now covers four AMD driver versions with the same `256,256,256,256` result, including the `32.0.32015.7029` driver from this report. It also has the RGA ISA for this adapter: the active-lane count is taken before the non-uniform resource loop narrows `EXEC`. So all three rows here now map to a focused report: #1011, #958 and #369. I see no missing capability, so exit 77 would not be correct for this row. One small mismatch, which I have not changed: the failure message still says the defect is "recorded for the Windows 10 in-box WARP 10.0.19041". That no longer matches the AMD signature documented in the same file. AI-assisted.
R0Y00 commented 2026-11-24 06:50:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T05:39:55Z.


The three diagnostics now have reproducible first mismatches and separate adapter-specific tracking.

  • #1011 tracks the committed-ray distance mismatch with nonzero TMin.
  • #958 tracks the preserve-mode subnormal comparison.
  • #369 tracks the direct array-atomic probe. The second RX 9070 XT measures 256 where 64 is expected in each buffer, with WARP at 64 and the remaining address writes matching. See the repeat report above.

Closing the summary issue. The focused reports stay open and the strict failures remain visible. The waterfall diagnostic is a useful comparison; its success does not change the direct-probe result or justify a capability skip.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7123159130 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/1148#issuecomment-7123159130). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T05:39:55Z. --- The three diagnostics now have reproducible first mismatches and separate adapter-specific tracking. - #1011 tracks the committed-ray distance mismatch with nonzero TMin. - #958 tracks the preserve-mode subnormal comparison. - #369 tracks the direct array-atomic probe. The second RX 9070 XT measures 256 where 64 is expected in each buffer, with WARP at 64 and the remaining address writes matching. See the repeat report above. Closing the summary issue. The focused reports stay open and the strict failures remain visible. The waterfall diagnostic is a useful comparison; its success does not change the direct-probe result or justify a capability skip.
Sign in to join this conversation.
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#1141
No description provided.