Scripts: smoke.ps1 names the adapter XCL ran on, from report.json #281
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!281
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/281/head"
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?
@grahamster2 on GitHub · 2026-11-23 22:22 UTC · original
grahamster2:smoke-gpu-from-report→main· +8 −1 · 1 files · 1 commits · closed without mergingsmoke.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
@ivall on GitHub · 2026-11-24 00:03 UTC · original
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