docs: record a second adapter on the null-view fallback #1708

Merged
ChazY11 merged 2 commits from upstream-pr/1715 into main 2026-11-24 17:47:28 +00:00
ChazY11 commented 2026-11-24 17:38:35 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T17:38:35Z.


What

The null-view paragraph in docs/startup-runtime.md attributes the fallback to "the physical adapter" and its absence to
WARP. On this machine a second physical adapter behaves like WARP, so that split is not the discriminator, and a reader
would take the RTX row as representative of hardware in general.

RTX 5080 Laptop  32.0.15.8142      slot 19 format 86 -> 28;  slot 20 format 115 -> 28
Intel Arc 140T   32.0.101.8132     slot 19 format 86 -> 86;  slot 20 format 115 -> 115
WARP             10.0.26100.9818   slot 19 format 86 -> 86;  slot 20 format 115 -> 115

The rewrite keeps both existing rows, adds the Arc, and says what actually separates them (the typed-UAV and
render-target support the rule keys on), plus the variable that selects an adapter.

Reproduced at

origin/main = 68969ed8, Windows 11 build 26300.9974, debug layer enabled:

$env:XBOX2WINDOWS_ADAPTER = 'Intel'
ctest --test-dir out/build/dev --no-tests=error -R '^startup_null_views_hardware$' -V
$env:XBOX2WINDOWS_ADAPTER = 'nvidia'
ctest --test-dir out/build/dev --no-tests=error -R '^startup_null_views_hardware$' -V
ctest --test-dir out/build/dev --no-tests=error -R '^startup_null_views_warp$' -V
Intel   slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK
nvidia  slot 19 format 86 -> 28; slot 20 format 115 -> 28; device OK
WARP    slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK

All three runs pass; the XBOX2WINDOWS_ADAPTER values are case-insensitive substrings, so intel/nvidia are enough.

Scope

One sentence in one file. Checked with tests/docs_links_check.py (17 files, 364 links) and
tests/bidi_controls_check.py (1288 files).

Notes

  • AI-assisted.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6587791935 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1715). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T17:38:35Z. --- ## What The null-view paragraph in `docs/startup-runtime.md` attributes the fallback to "the physical adapter" and its absence to WARP. On this machine a **second physical adapter behaves like WARP**, so that split is not the discriminator, and a reader would take the RTX row as representative of hardware in general. ```text RTX 5080 Laptop 32.0.15.8142 slot 19 format 86 -> 28; slot 20 format 115 -> 28 Intel Arc 140T 32.0.101.8132 slot 19 format 86 -> 86; slot 20 format 115 -> 115 WARP 10.0.26100.9818 slot 19 format 86 -> 86; slot 20 format 115 -> 115 ``` The rewrite keeps both existing rows, adds the Arc, and says what actually separates them (the typed-UAV and render-target support the rule keys on), plus the variable that selects an adapter. ## Reproduced at `origin/main` = `68969ed8`, Windows 11 build 26300.9974, debug layer enabled: ```powershell $env:XBOX2WINDOWS_ADAPTER = 'Intel' ctest --test-dir out/build/dev --no-tests=error -R '^startup_null_views_hardware$' -V $env:XBOX2WINDOWS_ADAPTER = 'nvidia' ctest --test-dir out/build/dev --no-tests=error -R '^startup_null_views_hardware$' -V ctest --test-dir out/build/dev --no-tests=error -R '^startup_null_views_warp$' -V ``` ```text Intel slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK nvidia slot 19 format 86 -> 28; slot 20 format 115 -> 28; device OK WARP slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK ``` All three runs pass; the `XBOX2WINDOWS_ADAPTER` values are case-insensitive substrings, so `intel`/`nvidia` are enough. ## Scope One sentence in one file. Checked with `tests/docs_links_check.py` (17 files, 364 links) and `tests/bidi_controls_check.py` (1288 files). ## Notes - AI-assisted.
upstream-sync closed this pull request 2026-11-24 18:02:44 +00:00
tedin7 commented 2026-11-24 18:02:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T17:42:59Z.

Review: COMMENTED


Reviewed d301f49801e56e9568bdeca9d833ff4e14d8c5f9 (docs/startup-runtime.md, 1 line changed): 0 P1, 0 P2.

Verified against the codebase and repository records:

  • Null-view fallback conditions (DXGI_FORMAT_B5G5R5A1_UNORM = 86 typed UAV and DXGI_FORMAT_B4G4R4A4_UNORM = 115 render target -> DXGI_FORMAT_R8G8B8A8_UNORM = 28) match src/startup_stubs/null_texture_view.h and tests/startup_null_views_check.cpp (slot 19 format %u -> %u; slot 20 format %u -> %u; device OK).
  • Case-insensitive substring adapter selection via XBOX2WINDOWS_ADAPTER (intel / nvidia) matches tests/xmem_test_device.h (_wcsnicmp on desc.Description).
  • Adapter and driver identifiers (RTX 5080 Laptop (32.0.15.8142), Intel Arc 140T (32.0.101.8132), WARP 10.0.26100.9818, Windows 11 build 26300.9974) are consistent with existing records in docs/startup-runtime.md and docs/experiments.md.
  • Clean-room check passed; GitHub Actions checks on d301f49801e56e9568bdeca9d833ff4e14d8c5f9 are green.

Local checks executed on d301f49801e56e9568bdeca9d833ff4e14d8c5f9:

  • git diff --check origin/main...HEAD -> pass (no whitespace/conflict issues)
  • python3 tests/docs_links_check.py -> pass (17 Markdown files, 364 links)
  • python3 tests/bidi_controls_check.py -> pass (1288 tracked files, no bidirectional controls)

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6044392703 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1715#pullrequestreview-6044392703). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T17:42:59Z. **Review:** COMMENTED --- Reviewed `d301f49801e56e9568bdeca9d833ff4e14d8c5f9` (`docs/startup-runtime.md`, 1 line changed): **0 P1, 0 P2**. Verified against the codebase and repository records: - Null-view fallback conditions (`DXGI_FORMAT_B5G5R5A1_UNORM` = 86 typed UAV and `DXGI_FORMAT_B4G4R4A4_UNORM` = 115 render target -> `DXGI_FORMAT_R8G8B8A8_UNORM` = 28) match `src/startup_stubs/null_texture_view.h` and `tests/startup_null_views_check.cpp` (`slot 19 format %u -> %u; slot 20 format %u -> %u; device OK`). - Case-insensitive substring adapter selection via `XBOX2WINDOWS_ADAPTER` (`intel` / `nvidia`) matches `tests/xmem_test_device.h` (`_wcsnicmp` on `desc.Description`). - Adapter and driver identifiers (`RTX 5080 Laptop (32.0.15.8142)`, `Intel Arc 140T (32.0.101.8132)`, `WARP 10.0.26100.9818`, Windows 11 build `26300.9974`) are consistent with existing records in `docs/startup-runtime.md` and `docs/experiments.md`. - Clean-room check passed; GitHub Actions checks on `d301f49801e56e9568bdeca9d833ff4e14d8c5f9` are green. Local checks executed on `d301f49801e56e9568bdeca9d833ff4e14d8c5f9`: - `git diff --check origin/main...HEAD` -> pass (no whitespace/conflict issues) - `python3 tests/docs_links_check.py` -> pass (17 Markdown files, 364 links) - `python3 tests/bidi_controls_check.py` -> pass (1288 tracked files, no bidirectional controls) AI-assisted; commands listed were executed locally.
tedin7 commented 2026-11-24 18:02:44 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T17:47:10Z.

Review: COMMENTED


Reviewed fd4358fdddaded3ce588e4630ab0a54b1a114076 (docs/startup-runtime.md, 2 commits): 0 P1, 0 P2.

Verified against the codebase and repository records:

  • ctest --preset dev --no-tests=error -R '^startup_null_views_' -V matches CMakePresets.json (dev -> ${sourceDir}/out/build/dev, release -> ${sourceDir}/out/build/release; out/bin is not created by either preset) and CMakeLists.txt (startup_null_views_hardware, startup_null_views_warp).
  • Null-view fallback conditions (DXGI_FORMAT_B5G5R5A1_UNORM = 86 typed UAV and DXGI_FORMAT_B4G4R4A4_UNORM = 115 render target -> DXGI_FORMAT_R8G8B8A8_UNORM = 28) match src/startup_stubs/null_texture_view.h and tests/startup_null_views_check.cpp.
  • Case-insensitive substring adapter selection via XBOX2WINDOWS_ADAPTER (intel / nvidia) matches tests/xmem_test_device.h (_wcsnicmp on desc.Description).
  • Adapter and driver identifiers (RTX 5080 Laptop (32.0.15.8142), Intel Arc 140T (32.0.101.8132), WARP 10.0.26100.9818, Windows 11 build 26300.9974) are consistent with existing records in docs/startup-runtime.md and docs/experiments.md.
  • Clean-room check passed on both commits; GitHub Actions checks on fd4358fdddaded3ce588e4630ab0a54b1a114076 are green.

Local checks executed on fd4358fdddaded3ce588e4630ab0a54b1a114076:

  • git diff --check origin/main...HEAD -> pass (no whitespace/conflict issues)
  • python3 tests/docs_links_check.py -> pass (17 Markdown files, 364 links)
  • python3 tests/bidi_controls_check.py -> pass (1288 tracked files, no bidirectional controls)

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6044451881 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1715#pullrequestreview-6044451881). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-24T17:47:10Z. **Review:** COMMENTED --- Reviewed `fd4358fdddaded3ce588e4630ab0a54b1a114076` (`docs/startup-runtime.md`, 2 commits): **0 P1, 0 P2**. Verified against the codebase and repository records: - `ctest --preset dev --no-tests=error -R '^startup_null_views_' -V` matches `CMakePresets.json` (`dev` -> `${sourceDir}/out/build/dev`, `release` -> `${sourceDir}/out/build/release`; `out/bin` is not created by either preset) and `CMakeLists.txt` (`startup_null_views_hardware`, `startup_null_views_warp`). - Null-view fallback conditions (`DXGI_FORMAT_B5G5R5A1_UNORM` = 86 typed UAV and `DXGI_FORMAT_B4G4R4A4_UNORM` = 115 render target -> `DXGI_FORMAT_R8G8B8A8_UNORM` = 28) match `src/startup_stubs/null_texture_view.h` and `tests/startup_null_views_check.cpp`. - Case-insensitive substring adapter selection via `XBOX2WINDOWS_ADAPTER` (`intel` / `nvidia`) matches `tests/xmem_test_device.h` (`_wcsnicmp` on `desc.Description`). - Adapter and driver identifiers (`RTX 5080 Laptop (32.0.15.8142)`, `Intel Arc 140T (32.0.101.8132)`, `WARP 10.0.26100.9818`, Windows 11 build `26300.9974`) are consistent with existing records in `docs/startup-runtime.md` and `docs/experiments.md`. - Clean-room check passed on both commits; GitHub Actions checks on `fd4358fdddaded3ce588e4630ab0a54b1a114076` are green. Local checks executed on `fd4358fdddaded3ce588e4630ab0a54b1a114076`: - `git diff --check origin/main...HEAD` -> pass (no whitespace/conflict issues) - `python3 tests/docs_links_check.py` -> pass (17 Markdown files, 364 links) - `python3 tests/bidi_controls_check.py` -> pass (1288 tracked files, no bidirectional controls) AI-assisted; commands listed were executed locally.
ChazY11 commented 2026-11-24 18:02:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T17:43:00Z.


Refs #1715 (this PR now carries both commits).

What

Two fixes to the same paragraph, both verified on origin/main = 68969ed8, Windows 11 build 26300.9974.

1. The fallback is not "physical versus WARP"

On this machine a second physical adapter behaves like WARP, so that split is not the discriminator:

RTX 5080 Laptop  32.0.15.8142      slot 19 format 86 -> 28;  slot 20 format 115 -> 28
Intel Arc 140T   32.0.101.8132     slot 19 format 86 -> 86;  slot 20 format 115 -> 115
WARP             10.0.26100.9818   slot 19 format 86 -> 86;  slot 20 format 115 -> 115

The rewrite keeps both existing rows, adds the Arc, and names what separates them (the typed-UAV and render-target
support the rule keys on) plus the variable that selects an adapter.

2. The command in the same paragraph cannot run

`ctest --test-dir out/bin --no-tests=error -R "^startup_null_views_" -V`

Both presets build into out/build/dev and out/build/release; out/bin is never created, so the instruction stops
at Test directory not found and the reader never reaches a test:

$ ctest --test-dir out/bin --no-tests=error -R '^startup_null_views_' -V
Test directory not found                                 (exit 1)

$ ctest --preset dev --no-tests=error -R '^startup_null_views_' -V
1/2 Test #56: startup_null_views_hardware ......   Passed    0.43 sec
2/2 Test #57: startup_null_views_warp ..........   Passed    0.10 sec
100% tests passed, 0 tests failed out of 2

Fixed to the preset form the rest of the file already uses.

Reproduced

$env:XBOX2WINDOWS_ADAPTER = 'Intel'   # and 'nvidia'
ctest --preset dev --no-tests=error -R '^startup_null_views_' -V
Intel   slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK
nvidia  slot 19 format 86 -> 28; slot 20 format 115 -> 28; device OK
WARP    slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK

Scope

One paragraph in docs/startup-runtime.md, two commits. tests/docs_links_check.py (17 files, 364 links) and
tests/bidi_controls_check.py (1288 files) pass.

Notes

  • AI-assisted.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7139600945 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1715#issuecomment-7139600945). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T17:43:00Z. --- Refs #1715 (this PR now carries both commits). ## What Two fixes to the same paragraph, both verified on `origin/main` = `68969ed8`, Windows 11 build 26300.9974. ### 1. The fallback is not "physical versus WARP" On this machine a **second physical adapter behaves like WARP**, so that split is not the discriminator: ```text RTX 5080 Laptop 32.0.15.8142 slot 19 format 86 -> 28; slot 20 format 115 -> 28 Intel Arc 140T 32.0.101.8132 slot 19 format 86 -> 86; slot 20 format 115 -> 115 WARP 10.0.26100.9818 slot 19 format 86 -> 86; slot 20 format 115 -> 115 ``` The rewrite keeps both existing rows, adds the Arc, and names what separates them (the typed-UAV and render-target support the rule keys on) plus the variable that selects an adapter. ### 2. The command in the same paragraph cannot run ```text `ctest --test-dir out/bin --no-tests=error -R "^startup_null_views_" -V` ``` Both presets build into `out/build/dev` and `out/build/release`; `out/bin` is never created, so the instruction stops at `Test directory not found` and the reader never reaches a test: ```text $ ctest --test-dir out/bin --no-tests=error -R '^startup_null_views_' -V Test directory not found (exit 1) $ ctest --preset dev --no-tests=error -R '^startup_null_views_' -V 1/2 Test #56: startup_null_views_hardware ...... Passed 0.43 sec 2/2 Test #57: startup_null_views_warp .......... Passed 0.10 sec 100% tests passed, 0 tests failed out of 2 ``` Fixed to the preset form the rest of the file already uses. ## Reproduced ```powershell $env:XBOX2WINDOWS_ADAPTER = 'Intel' # and 'nvidia' ctest --preset dev --no-tests=error -R '^startup_null_views_' -V ``` ```text Intel slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK nvidia slot 19 format 86 -> 28; slot 20 format 115 -> 28; device OK WARP slot 19 format 86 -> 86; slot 20 format 115 -> 115; device OK ``` ## Scope One paragraph in `docs/startup-runtime.md`, two commits. `tests/docs_links_check.py` (17 files, 364 links) and `tests/bidi_controls_check.py` (1288 files) pass. ## Notes - AI-assisted.
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
R0Y00/Xbox2Windows!1708
No description provided.