Let the hardware checks select a GPU by name on multi-GPU PCs #115
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/116"
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 danielradosa on 2026-11-21T16:27:43Z.
Change
offscreen_checkalways used the first D3D12 hardware adapter in high-performance order. On a PC with both a discrete and an integrated GPU, only the discrete one could be tested. Several reporters in #1 use laptops, whose integrated GPU is never exercised.XBOX2WINDOWS_ADAPTERnow selects the first hardware adapter whose description contains the value, ignoring case. When it is unset, selection is unchanged. A value that matches no adapter fails withNo D3D12 hardware adapter matches XBOX2WINDOWS_ADAPTER=...instead of exiting with 77, so a typo cannot turn into skipped tests. Adapters that are passed over are named on stderr.Run-GpuCheck.ps1 -Adapter <part of a name>sets the variable for each test and adds anAdapter filter:line to the report. The README and the package instructions describe both. Refs #1.Verification
Windows 11 build 26300.9974, MSVC 19.51.36256. This PC has an NVIDIA GeForce RTX 4060 and the integrated AMD Radeon(TM) Graphics of a Ryzen 5 7600 (vendor
1002, device164e, driver32.0.21045.29003).adapter_selection_unmatched(new; also works without a GPU)bvh_wave64_*), 0 failed; hardware tests ran on the RTX 4060 as beforeXBOX2WINDOWS_ADAPTER=Radeon, all 22_hardwaretestsbvh_wave64_hardware(native wave width 64, 38 groups, 0 mismatches)tools/package-gpu-check.ps1(WARP smoke passed),-Adapter RadeonAdapter filter: Radeon-Adapter "no such gpu"Evidence and follow-up
Two results on the integrated Radeon that this selection made reachable, neither caused by the selection:
dxr_update_hardware:record=0 field=3 expected=3f800000 actual=3f7fffff, the same 1-ULP ray distance #112 reports on an RX 6600M. With #112 applied, it passes here too.ffx_provider_loop_hardware(desktop-control path, no package input):RCAS texel=1 field=4 expected=08120000 actual=001ffe01, thenRCAS texel readback mismatch. It repeats on every run, and the debug layer reports 0 errors and 0 warnings. I found no earlier AMD result for this test and have not investigated it.tools/root_device_probe.cpphas its own adapter loop and is not changed.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T16:27:52Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
c659916ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T17:18:23Z.
The adapter-filter behavior looks good. GitHub now reports conflicts with main. Please reconcile the packaged runner with #62's report summary and submit path, then run the ZIP smoke test as well as hardware adapter selection.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T17:58:46Z.
#137 has landed with the adapter-name filter and the single-device selection path. Please reuse that implementation when reconciling this PR and keep the packaged runner's adapter option, report summary and submit flow. The remaining verification is the packaged ZIP smoke test and adapter selection.