Scripts: smoke.ps1 names the adapter the run used, from XCL's log #285
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!285
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/285/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?
@srcamarda on GitHub · 2026-11-23 22:22 UTC · original
srcamarda:scripts-smoke-gpu→main· +4 −1 · 1 files · 1 commits · closed without mergingscripts/smoke.ps1printed the first display adapter Windows lists asgpu:, not the one the run used. On a machine with an iGPU, or a virtual display driver as here, that is another adapter: my runs on an RX 7800 XT saidgpu: SudoMaker Virtual Display Adapter(#187). The block now takes the name from XCL's own log line,D3D12.X: backend 'real' – <name> (<n> MiB VRAM). It falls back to the old query when the line is not there (e.g. the null backend).What is in it
scripts/smoke.ps1:gpu:from the backend line of the run's log, the first display adapter only without itTested
scripts/smoke.ps1 -Game <retail title> -Seconds 20with anxcl.exebuilt from9ab7d76, in Windows PowerShell 5.1 and PowerShell 7: both printgpu: AMD Radeon RX 7800 XT(before:gpu: SudoMaker Virtual Display Adapter)–is matched as\S+, since PowerShell 5.1 reads a script without a BOM as ANSI)cargo test --workspace -- --test-threads=4on this branch: 651 passed, 0 failed, 40 ignored, noSKIPPEDRegression run
crates/xcl/srcNot tested
AI use
🤖 Generated with Claude Code
@srcamarda on GitHub · 2026-11-24 00:09 UTC · original
Closing: the same fix went into
mainas97dc49c(#281, opened half a minute before this one), reading the adapter fromreport.json. Nothing left here.Pull request closed