Scripts: smoke.ps1 names the adapter the run used, from XCL's log #282
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/285"
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 srcamarda on 2026-11-23T22:22:53Z.
scripts/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
Imported from ivall/xcl. Originally posted by srcamarda on 2026-11-24T00:09:04Z.
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