evidence: NixOS + RX 9060 XT guest check results #189

Manually merged
github merged 2 commits from gh-pr/189/head into gh-pr/189/base 2026-11-26 06:37:15 +00:00
Owner

@⁠gtb-sbe on GitHub · 2026-11-25 18:45 UTC · original
gtb-sbe:evidence-rx9060xt → main · +933 −72 · 3 files · 2 commits · merged 2026-11-25 19:20 UTC

Summary

Adds guest check results for a Radeon RX 9060 XT (RDNA4). All 64 guest checks pass. docs/RESULTS.md and docs/progress.svg are regenerated. No code changes.

The full gate does not pass: the buffer-remap regression control fails (details below).

Verified on Lanes

  • python tuxbox.py check passed on this branch
  • Changed or new behaviour is covered by a Lanes scenario, or the reason it cannot be is stated below

No scenario is needed: this adds evidence only and changes no behaviour.

GPU, driver and backend: Radeon RX 9060 XT (1002:7590), RADV GFX1200, Mesa 26.2.6, stock Proton Experimental 1794497090 experimental-11.0-20261112-x86_64

Host: NixOS, Hyprland (Wayland), kernel 6.18.60, Ryzen 7 5800X, Windows DXC dxc_2026_09_29. Tested commit: 7b22d71.

This is compiled by hand from two runs on the same commit, not printed by one complete check:

passed          Code checks and build           (first run)
passed   64/64  Lanes and fixtures on the GPU   (rerun)
FAILED   16/17  D3D12 regression controls       (rerun)
passed   28/28  Shader translator on the GPU    (rerun)

In the first run, a plain tuxbox.py check, 5 presentation checks, all 17 regression controls and the translator step failed. The rerun used the same test code with two host workarounds:

  • libX11 on LD_LIBRARY_PATH. The presentation checks then used the private rootful Xwayland.
  • The regression and translator steps ran under steam-run, because they start Proton's wine directly and NixOS could not run it outside an FHS environment.

buffer-remap

Failed in the rerun and in three repeats, all under steam-run:

TuxBox d3d12_xs: page remap replaced imported range 0x37c0000..0x37d0000 (0x10000 bytes) retired stale GPU import verdict=HRESULT(0x80004001) batches=1 remap spans [0x37c0000..0x37d0000]
TuxBox d3d12_xs: buffer backing path=pool_open count=2 source=place_virtual_layout bytes=65536
TuxBox d3d12_xs: buffer backing path=imported count=3 source=place_virtual_layout bytes=65536
d3d12-buffer-remap failed: remap readback differs

buffer-import, buffer-import-reject and buffer-layout pass. The cause is unknown, and steam-run has not been ruled out.

Checks

docs/RESULTS.md and docs/progress.svg were regenerated with tuxbox.py status. The Python unit tests pass with them (348 run, 26 skipped).

**@⁠gtb-sbe** on GitHub · 2026-11-25 18:45 UTC · [original](https://github.com/brcly/TuxBox/pull/189) `gtb-sbe:evidence-rx9060xt` → `main` · +933 −72 · 3 files · 2 commits · merged 2026-11-25 19:20 UTC ## Summary Adds guest check results for a Radeon RX 9060 XT (RDNA4). All 64 guest checks pass. `docs/RESULTS.md` and `docs/progress.svg` are regenerated. No code changes. The full gate does **not** pass: the `buffer-remap` regression control fails (details below). ## Verified on Lanes - [ ] `python tuxbox.py check` passed on this branch - [x] Changed or new behaviour is covered by a Lanes scenario, or the reason it cannot be is stated below No scenario is needed: this adds evidence only and changes no behaviour. GPU, driver and backend: Radeon RX 9060 XT (`1002:7590`), RADV GFX1200, Mesa 26.2.6, stock Proton Experimental `1794497090 experimental-11.0-20261112-x86_64` Host: NixOS, Hyprland (Wayland), kernel 6.18.60, Ryzen 7 5800X, Windows DXC `dxc_2026_09_29`. Tested commit: `7b22d71`. This is compiled by hand from two runs on the same commit, not printed by one complete `check`: ```text passed Code checks and build (first run) passed 64/64 Lanes and fixtures on the GPU (rerun) FAILED 16/17 D3D12 regression controls (rerun) passed 28/28 Shader translator on the GPU (rerun) ``` In the first run, a plain `tuxbox.py check`, 5 presentation checks, all 17 regression controls and the translator step failed. The rerun used the same test code with two host workarounds: - `libX11` on `LD_LIBRARY_PATH`. The presentation checks then used the private rootful Xwayland. - The regression and translator steps ran under `steam-run`, because they start Proton's `wine` directly and NixOS could not run it outside an FHS environment. ### `buffer-remap` Failed in the rerun and in three repeats, all under `steam-run`: ```text TuxBox d3d12_xs: page remap replaced imported range 0x37c0000..0x37d0000 (0x10000 bytes) retired stale GPU import verdict=HRESULT(0x80004001) batches=1 remap spans [0x37c0000..0x37d0000] TuxBox d3d12_xs: buffer backing path=pool_open count=2 source=place_virtual_layout bytes=65536 TuxBox d3d12_xs: buffer backing path=imported count=3 source=place_virtual_layout bytes=65536 d3d12-buffer-remap failed: remap readback differs ``` `buffer-import`, `buffer-import-reject` and `buffer-layout` pass. The cause is unknown, and `steam-run` has not been ruled out. ## Checks `docs/RESULTS.md` and `docs/progress.svg` were regenerated with `tuxbox.py status`. The Python unit tests pass with them (348 run, 26 skipped).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:37:14 +00:00
github manually merged commit 22a0cdfde7 into gh-pr/189/base 2026-11-26 06:37:15 +00:00
Author
Owner

@⁠smith-3 on GitHub · 2026-11-25 21:11 UTC · original

The buffer-remap failure here has a host-side cause. I reproduced it on a RADV iGPU (Ryzen 7 9700X, RADV 25.2.8), and the same test passes on an RTX 4080 SUPER in the same machine.

XMem physical pages are section views, and Wine maps sections as shared memory. RADV refuses shared memory as a host pointer: vkAllocateMemory returns -13 for memfd or anonymous shared mappings, and succeeds for private ones. NVIDIA accepts all three. vkd3d-proton logs Failed to import host memory, hr 0x8007000e and falls back to an unrelated allocation, while OpenExistingHeapFromAddress still succeeds. The GPU then reads zeros. With a more detailed diagnostic, all three copies read 256/256 zero words, not just one alias.

#199 makes this fail closed with E_NOTIMPL and a log line, instead of returning zeros silently. On RADV, XMem-backed buffers still won't work until guest pages get non-shared backing.

**@⁠smith-3** on GitHub · 2026-11-25 21:11 UTC · [original](https://github.com/brcly/TuxBox/pull/189#issuecomment-7174739988) The `buffer-remap` failure here has a host-side cause. I reproduced it on a RADV iGPU (Ryzen 7 9700X, RADV 25.2.8), and the same test passes on an RTX 4080 SUPER in the same machine. XMem physical pages are section views, and Wine maps sections as shared memory. RADV refuses shared memory as a host pointer: `vkAllocateMemory` returns -13 for memfd or anonymous shared mappings, and succeeds for private ones. NVIDIA accepts all three. vkd3d-proton logs `Failed to import host memory, hr 0x8007000e` and falls back to an unrelated allocation, while `OpenExistingHeapFromAddress` still succeeds. The GPU then reads zeros. With a more detailed diagnostic, all three copies read 256/256 zero words, not just one alias. #199 makes this fail closed with `E_NOTIMPL` and a log line, instead of returning zeros silently. On RADV, XMem-backed buffers still won't work until guest pages get non-shared backing.
This discussion has been locked. Commenting is limited to contributors.
No description provided.