Scripts: smoke.ps1 names the adapter XCL ran on, from report.json #278
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/281"
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 ivall/xcl. Originally posted by grahamster2 on 2026-11-23T22:22:24Z.
smoke.ps1'sgpu:line took the firstWin32_VideoControllerthat is not the basic display adapter. On a machine with an iGPU next to a discrete GPU that is often the iGPU, so thexcl-smokeblock names hardware the run did not use: on an RTX 3080 + AMD RDNA2 iGPU machine it saidAMD Radeon(TM) Graphicswhile XCL ran on the RTX 3080. The line now comes fromd3d12.adapterin the run'sreport.json, with the Win32 query kept as the fallback.What is in it
scripts/smoke.ps1: readd3d12.adapterfromreport.jsonnext to the run's log (XCL moves the previous run's report toreport.prev.jsonat start, so a stale one is not read) and drop its(N MiB VRAM)suffix; fall back to the oldWin32_VideoControllerquery when the report or the field is missing.Tested
cargo test --workspace -- --test-threads=4: 651 passed, 0 failed, 40 ignoredgpu_geometry_wave32_prefix_count_over_a_mask(no wave64),gpu_wave32_program_in_wave64_hardware(no wave64)scripts/smoke.ps1 -Game <retail title>at9ab7d76: before,gpu: AMD Radeon(TM) Graphics; with this change,gpu: NVIDIA GeForce RTX 3080(XCL's log:backend 'real' – NVIDIA GeForce RTX 3080)report.json: the old Win32 nameRegression run
scripts/only,crates/xcl/srcis untouched.Not tested
AI use
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T00:03:59Z.
Merged into
a6f5f7aby cherry-pick together with #318 - thanks! Checked on an RX 9070 (RDNA4) on maina6f5f7a, together with #335, #322, #331, #330, #338, #318 and #332:cargo test --workspace -- --test-threads=4- 636 unit tests passed, 0 failed; the retail game reaches its menu and draws it (frame dump) and goes on past it.Pull request closed