evidence: first physical Windows 11 runs (RTX 4060 Laptop and Intel UHD, native D3D12) #313

Merged
KainanP merged 1 commit from upstream-pr/313 into main 2026-11-27 16:55:39 +00:00
KainanP commented 2026-11-27 16:52:58 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by KainanP on 2026-11-27T16:52:58Z.


Summary

The first receipts from physical Windows. Every gate in docs/RESULTS.md had a "Physical Windows x64 — Pending" column. This adds two tuxbox.py verify runs on Windows 11 x64 with the native D3D12 backend, one per GPU in the same laptop, and regenerates docs/RESULTS.md and docs/progress.svg. No code changes.

  • evidence/windows11-rtx4060laptop-native.json: 54 of 69 gates pass
  • evidence/windows11-uhd-a78b-native.json: 53 of 69 gates pass

The receipts are the verify output, unedited. The failures are recorded as failures, and are listed below with what I found about each. I haven't fixed any of them here. They should be separate pull requests, each with its own test.

Tested

  • The checks relevant to this change passed: evidence only, so no GPU checks are required. The runs themselves fail the gates listed below.
  • Changed or new behaviour is covered by a Lanes scenario, or the reason it cannot be is stated below: there is no behaviour change. This adds evidence only.
  • Where the table calls for AMD and NVIDIA, they passed on both: not applicable. There is no AMD card on this machine.

GPU, driver and backend:

  • NVIDIA GeForce RTX 4060 Laptop GPU (10de:28a0), driver 32.0.16.1047 (610.47), backend native
  • Intel UHD Graphics (8086:a78b, Raptor Lake iGPU), driver 31.0.101.5445, backend native
  • Windows 11 Home 10.0.26200, Intel Core (family 6 model 183), display 2560x1600 at 175 % scaling (168 DPI), which drives the laptop panel through the iGPU
  • VS 2022 Build Tools (MSVC 14.44, x64 Native Tools environment), Rust 1.97.0, Python 3.12.10, Microsoft DXC 1.9.2609 (dxc_2026_09_29)
  • Tested commit: 55ec224. The only commit on main since then, 65e3e48, changes the shader translator, which the native backend doesn't run.

Commands run and their results:

python build.py                                   # passed
python tuxbox.py check --adapter 10de:28a0
  passed   Build the shader compiler
  FAILED   Python tests        (446 run: 1 failure, 10 errors, all Linux-only tests; see below)
  passed   Shader compiler tests / DXBC tests / XG layout tests / D3D12 Windows typecheck
  passed   Build
  FAILED   Lanes and fixtures on the GPU   (54/69, receipt windows11-rtx4060laptop-native.json)
  not run: D3D12 regression controls, Shader translator on the GPU (need --proton/--prefix, Linux only)
python tuxbox.py verify --adapter 8086:a78b --output ...   # 53/69, receipt windows11-uhd-a78b-native.json
python tuxbox.py verify --adapter 1414:008c --output ...   # WARP: "no matching Xbox D3D12 hardware adapter", not recorded
python tuxbox.py status > docs/RESULTS.md ; python tuxbox.py status --svg docs/progress.svg
python -m unittest tests.test_repository_hygiene tests.test_progress_map   # OK (14 tests)

Failing gates

Gate RTX 4060 UHD Receipt / finding
d3d12-guids Fail Fail The guest prints identifiers=32 bytes=512, but the expected line is built by guid_receipt() from the guest's named IID_/WKPDID_ imports. With MSVC link.exe, d3d12-guids.exe imports all 32 symbols from d3d12_xs.dll by ordinal (#23, #54, …), so the expected value is identifiers=0. The fault is in the check, not the provider.
xmem-heaps Fail Fail XMemGetWin32HeapStatistics(heap, before) && before[0] > 0 fails (xmem smoke line 530)
xmem-virtual-cpu Fail Fail VirtualQuery(...).Protect == protections[i] fails (line 221). Native Windows reports a different protection than Wine for one of the profiles.
d3d12-heaps Fail Fail SetResidencyPriority on four pageables returns E_INVALIDARG (0x80070057) on the real runtime
d3d12-queries Fail Fail descriptor heap handle mismatch: the GPU-handle check on the heap fails. Cause not confirmed.
d3d12-indirect Fail Fail RTX: close indirect compute failed: 0x80070057. UHD: the guest crashes with an access violation (exit 0xC0000005) and prints nothing.
lanes-selftest-indirect-dispatch, lanes-selftest-gpu-indirect-order Fail Pass RTX: close list failed: 0x80070057
lanes-selftest-skipped-command Pass Fail UHD: close list failed: 0x80004001
lanes-selftest-ray-tracing-builder Pass Fail UHD: no prebuild sizes; ray tracing is unavailable (the iGPU has no DXR, so this may need a capability skip)
lanes-selftest-descriptor-reclaim Pass Fail UHD: create oversized view heap failed: 0x8007000e with TUXBOX_DESCRIPTOR_HEAP_LIMIT=1000000
guest-present, guest-present-rgb10, guest-present-4k-oversized, guest-present-4k-fit, lanes-overlay Fail Fail Display scaling. The guests aren't DPI-aware, and at 175 % GetPixel on the screen DC samples the wrong places (the receipt reports monitor=1463x866 on a 2560x1600 panel). Rerunning --only present --only lanes on the RTX with __COMPAT_LAYER=HighDpiAware made all five pass. That run is not in the receipt.
guest-present-4k-owned, guest-present-4k-splash Fail Fail Still fail with HighDpiAware. The samples show the desktop behind the window (0x171716, 0x262624), so the TuxBox-owned window is probably not on top when it is sampled. Not confirmed.

Every other gate passes on both adapters, including the route/CPU gates, the root-signature, feature, placement, copy, draw, stream, table and queue gates, PresentX frames (guest-frame-rgb10), the command-list gates, the Lanes replay, 15 of the 17 Lanes self-test scenarios on the RTX and 14 on the UHD, lanes-benchmark and cpu-replay. d3d12-mesh is not in the default suite set, and the shader-cache and other console-shader suites run only on the Proton backend.

Other Windows findings (not gates)

  • 11 Python unit tests assume a Linux host and fail on Windows: fcntl in runtime_shaders.compile_lock, os.sched_getaffinity in test_shader_pack, and the offline-launch tests in test_host that expect the network-namespace path. The CI and Linux results are unaffected.
  • python tuxbox.py status > docs/RESULTS.md in a Windows console writes cp1252, which breaks the em dashes and test_results_table_matches_recorded_evidence. I generated the table with PYTHONUTF8=1.

I can open follow-up pull requests for the clear-cut ones: the d3d12-guids expectation, DPI awareness for the present guests, and the Linux-only unit tests.

AI-assisted: an AI coding agent (Claude Code) did the build, the runs and the triage. The receipts are the unedited output of those runs on this hardware.

🤖 Generated with Claude Code

<!-- greyfinch-sync:brcly/TuxBox:issue:5530228592 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/313). Originally posted by [KainanP](https://github.com/KainanP) on 2026-11-27T16:52:58Z. --- ## Summary The first receipts from physical Windows. Every gate in `docs/RESULTS.md` had a "Physical Windows x64 — Pending" column. This adds two `tuxbox.py verify` runs on Windows 11 x64 with the native D3D12 backend, one per GPU in the same laptop, and regenerates `docs/RESULTS.md` and `docs/progress.svg`. No code changes. - `evidence/windows11-rtx4060laptop-native.json`: **54 of 69 gates pass** - `evidence/windows11-uhd-a78b-native.json`: **53 of 69 gates pass** The receipts are the `verify` output, unedited. The failures are recorded as failures, and are listed below with what I found about each. I haven't fixed any of them here. They should be separate pull requests, each with its own test. ## Tested - [ ] The checks relevant to this change passed: evidence only, so no GPU checks are required. The runs themselves fail the gates listed below. - [x] Changed or new behaviour is covered by a Lanes scenario, or the reason it cannot be is stated below: there is no behaviour change. This adds evidence only. - [ ] Where the table calls for AMD and NVIDIA, they passed on both: not applicable. There is no AMD card on this machine. GPU, driver and backend: - NVIDIA GeForce RTX 4060 Laptop GPU (`10de:28a0`), driver 32.0.16.1047 (610.47), backend `native` - Intel UHD Graphics (`8086:a78b`, Raptor Lake iGPU), driver 31.0.101.5445, backend `native` - Windows 11 Home 10.0.26200, Intel Core (family 6 model 183), display 2560x1600 at 175 % scaling (168 DPI), which drives the laptop panel through the iGPU - VS 2022 Build Tools (MSVC 14.44, x64 Native Tools environment), Rust 1.97.0, Python 3.12.10, Microsoft DXC 1.9.2609 (`dxc_2026_09_29`) - Tested commit: `55ec224`. The only commit on `main` since then, 65e3e48, changes the shader translator, which the native backend doesn't run. Commands run and their results: ```text python build.py # passed python tuxbox.py check --adapter 10de:28a0 passed Build the shader compiler FAILED Python tests (446 run: 1 failure, 10 errors, all Linux-only tests; see below) passed Shader compiler tests / DXBC tests / XG layout tests / D3D12 Windows typecheck passed Build FAILED Lanes and fixtures on the GPU (54/69, receipt windows11-rtx4060laptop-native.json) not run: D3D12 regression controls, Shader translator on the GPU (need --proton/--prefix, Linux only) python tuxbox.py verify --adapter 8086:a78b --output ... # 53/69, receipt windows11-uhd-a78b-native.json python tuxbox.py verify --adapter 1414:008c --output ... # WARP: "no matching Xbox D3D12 hardware adapter", not recorded python tuxbox.py status > docs/RESULTS.md ; python tuxbox.py status --svg docs/progress.svg python -m unittest tests.test_repository_hygiene tests.test_progress_map # OK (14 tests) ``` ### Failing gates | Gate | RTX 4060 | UHD | Receipt / finding | |---|---|---|---| | `d3d12-guids` | Fail | Fail | The guest prints `identifiers=32 bytes=512`, but the expected line is built by `guid_receipt()` from the guest's **named** `IID_`/`WKPDID_` imports. With MSVC `link.exe`, `d3d12-guids.exe` imports all 32 symbols from `d3d12_xs.dll` by ordinal (`#23`, `#54`, …), so the expected value is `identifiers=0`. The fault is in the check, not the provider. | | `xmem-heaps` | Fail | Fail | `XMemGetWin32HeapStatistics(heap, before) && before[0] > 0` fails (xmem smoke line 530) | | `xmem-virtual-cpu` | Fail | Fail | `VirtualQuery(...).Protect == protections[i]` fails (line 221). Native Windows reports a different protection than Wine for one of the profiles. | | `d3d12-heaps` | Fail | Fail | `SetResidencyPriority` on four pageables returns `E_INVALIDARG` (0x80070057) on the real runtime | | `d3d12-queries` | Fail | Fail | `descriptor heap handle mismatch`: the GPU-handle check on the heap fails. Cause not confirmed. | | `d3d12-indirect` | Fail | Fail | RTX: `close indirect compute failed: 0x80070057`. UHD: the guest crashes with an access violation (exit `0xC0000005`) and prints nothing. | | `lanes-selftest-indirect-dispatch`, `lanes-selftest-gpu-indirect-order` | Fail | Pass | RTX: `close list failed: 0x80070057` | | `lanes-selftest-skipped-command` | Pass | Fail | UHD: `close list failed: 0x80004001` | | `lanes-selftest-ray-tracing-builder` | Pass | Fail | UHD: `no prebuild sizes; ray tracing is unavailable` (the iGPU has no DXR, so this may need a capability skip) | | `lanes-selftest-descriptor-reclaim` | Pass | Fail | UHD: `create oversized view heap failed: 0x8007000e` with `TUXBOX_DESCRIPTOR_HEAP_LIMIT=1000000` | | `guest-present`, `guest-present-rgb10`, `guest-present-4k-oversized`, `guest-present-4k-fit`, `lanes-overlay` | Fail | Fail | **Display scaling.** The guests aren't DPI-aware, and at 175 % `GetPixel` on the screen DC samples the wrong places (the receipt reports `monitor=1463x866` on a 2560x1600 panel). Rerunning `--only present --only lanes` on the RTX with `__COMPAT_LAYER=HighDpiAware` made all five pass. That run is not in the receipt. | | `guest-present-4k-owned`, `guest-present-4k-splash` | Fail | Fail | Still fail with `HighDpiAware`. The samples show the desktop behind the window (`0x171716`, `0x262624`), so the TuxBox-owned window is probably not on top when it is sampled. Not confirmed. | Every other gate passes on both adapters, including the route/CPU gates, the root-signature, feature, placement, copy, draw, stream, table and queue gates, PresentX frames (`guest-frame-rgb10`), the command-list gates, the Lanes replay, 15 of the 17 Lanes self-test scenarios on the RTX and 14 on the UHD, `lanes-benchmark` and `cpu-replay`. `d3d12-mesh` is not in the default suite set, and the shader-cache and other console-shader suites run only on the Proton backend. ### Other Windows findings (not gates) - 11 Python unit tests assume a Linux host and fail on Windows: `fcntl` in `runtime_shaders.compile_lock`, `os.sched_getaffinity` in `test_shader_pack`, and the offline-launch tests in `test_host` that expect the network-namespace path. The CI and Linux results are unaffected. - `python tuxbox.py status > docs/RESULTS.md` in a Windows console writes cp1252, which breaks the em dashes and `test_results_table_matches_recorded_evidence`. I generated the table with `PYTHONUTF8=1`. I can open follow-up pull requests for the clear-cut ones: the `d3d12-guids` expectation, DPI awareness for the present guests, and the Linux-only unit tests. AI-assisted: an AI coding agent (Claude Code) did the build, the runs and the triage. The receipts are the unedited output of those runs on this hardware. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
brcly commented 2026-11-27 16:55:25 +00:00 (Migrated from github.com)

Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-27T16:55:25Z.


thank you for try on windows!

Now theres' a windows tester, bringing up support will be a lot quicker

<!-- greyfinch-sync:brcly/TuxBox:comment:7223824999 --> Imported from [brcly/TuxBox](https://github.com/brcly/TuxBox/pull/313#issuecomment-7223824999). Originally posted by [brcly](https://github.com/brcly) on 2026-11-27T16:55:25Z. --- thank you for try on windows! Now theres' a windows tester, bringing up support will be a lot quicker
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!313
No description provided.