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

Merged
gtb-sbe merged 2 commits from upstream-pr/189 into main 2026-11-25 19:20:34 +00:00
gtb-sbe commented 2026-11-25 18:45:25 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by gtb-sbe on 2026-11-25T18:45:25Z.


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).

<!-- greyfinch-sync:brcly/TuxBox:issue:6611335731 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/189). Originally posted by [gtb-sbe](https://github.com/gtb-sbe) on 2026-11-25T18:45:25Z. --- ## 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).
smith-3 commented 2026-11-25 21:11:44 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by smith-3 on 2026-11-25T21:11:44Z.


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.

<!-- greyfinch-sync:brcly/TuxBox:comment:7174739988 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/189#issuecomment-7174739988). Originally posted by [smith-3](https://github.com/smith-3) on 2026-11-25T21:11:44Z. --- 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.
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
brcly/TuxBox!189
No description provided.