docs: record gpu_alias_window_hardware on an RDNA 2 adapter #1407
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1414"
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 R0Y00/Xbox2Windows. Originally posted by Asimmimx on 2026-11-24T11:00:01Z.
Change
Records the first physical-adapter result for
gpu_alias_window_hardwareindocs/experiments.md. Until now the section only had a WARP measurement; the hardware variant had returned 77 because no adapter was visible.On an AMD Radeon RX 6600 (RDNA 2) the existing-heap buffer gets GPU base
0x300076000on every run. That address is 4 KiB aligned, with low 16 bits0x6000, so the fixture fails at its first acceptance check,the CPU and GPU window bases are 64 KiB aligned. A local run with the three low-16-bit checks reporting instead of failing shows that the rest of the window contract holds on this adapter.The patch only adds the measurement. It does not change the fixture or its policy. The open question is for the fixture's author and the GPU reviewer: is the low-16-bit identity of CPU and GPU addresses a requirement of the desktop window policy, so that this adapter is out of scope, or should acceptance rest on window-relative offsets alone? The new paragraph records that this is not decided.
Verification
Commit
429a8b92(main),devpreset (Debug), Windows 11 Pro build 26300.9974, Visual Studio 18 (MSVC 19.51.36260), Windows SDK 10.0.26100.0, Python 3.12.10.Three runs:
gpu_alias_window_hardware1002, device73ff, driver 32.0.21045.29003, debug layer enabled, 0 errors / 0 warningsthe CPU and GPU window bases are 64 KiB aligned0x300076000every run (gpu_page_aligned=0)gpu_alias_window_warp0x200000000The CPU base was 64 KiB aligned on every run and varied with ASLR.
Local experiment, not committed. I changed the three checks that compare the low 16 bits to print their result instead of throwing. These are the aligned window bases, the identical page offsets (pages 0 to 2) and the identical offset of the unaligned span. The hardware variant then passed 3/3:
After the experiment I restored the original source and rebuilt
offscreen_check. The original test fails again as above.Docs checks:
python -B tests/docs_links_check.py(16 Markdown files, 322 links) andpython -B tests/bidi_controls_check.pyboth passed.Evidence and follow-up
No new fixture. The result comes from the existing source-built fixture
tests/gpu_alias_window.cpp.Other hardware results from the same full run on this RX 6600, not part of this PR:
gpu_alias_lookup_writes_hardware: the array-atomics probe reads 256, not 64, in all four buffers, and the title-address fixture itself has mismatches 0. This is the result recorded for two RDNA 4 adapters in #369, now on RDNA 2.cpu_placed_dxr_hardware: in the direct Windows ray control, the float at bytes 12 to 15 reads0x3f7fffff(1 ULP below 1.0) instead of exactly1.0f.dxr_placed_build_hardwarereportsPlaced BLAS/TLAS ray output differs from hit7@1, miss, masked miss. I have not checked whether the two failures share a cause.I can post these on the relevant issues if that helps.
Checklist
AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T11:07:10Z.
Review: COMMENTED
Reviewed at commit
10ab5f9b(docs/experiments.md, 1 file, +16/-0):gpu_alias_window_hardwarebehavior on AMD Radeon RX 6600 (RDNA 2, vendor1002, device73ff, driver32.0.21045.29003, Windows 11 build 26300.9974) vs passinggpu_alias_window_warp(10.0.26100.9818), cleanly scoped and title-neutral.10ab5f9b:git diff --checkclean;tests/docs_links_check.pypassed (16 Markdown files, 322 links);tests/bidi_controls_check.pypassed (1181 files).