tools: add a summary and #1 submit path to the GPU check report #62
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/62"
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 Jawschamp on 2026-11-21T14:52:47Z.
Refs #1.
The standalone GPU check report now starts with a summary of the
adapter, driver, debug layer, native lane range and per-test
results, and ends with instructions to paste the file as a comment
on the hardware coverage thread. Recent reports were opened as new
issues with only an attached log.
The published
gpu-check-v0.1.0ZIP is unchanged until a newrelease; this applies to current source and the next packaged
build. The field parsers follow the
offscreen_checkoutputformat, including the multi-word
driver=unavailable via DXGIfallback.
Verification
7 passed on Linux (no Windows or game files). I do not have a
Windows GPU here. The existing
package-gpu-check.ps1WARP smoketest now also requires the Summary and Submit headings and the #1
URL, and the Ubuntu job runs the format check.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T15:25:08Z.
Thanks for improving the submission flow. The Windows job on the updated branch fails when the extracted ZIP runs Run-GpuCheck.ps1 under Windows PowerShell:
ParserError / TerminatorExpectedAtEndOfString. The final Write-Output line introduces a literal em dash inside a double-quoted string. Windows PowerShell 5.1 can misread that UTF-8 sequence in a BOM-less script. Please use ASCII punctuation on that line, check for other non-ASCII punctuation in the packaged runner, and rerun the ZIP/WARP smoke test. The workflow already exercises the right entry point.Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T15:59:57Z.
Tested this on Windows 11 26200.9974 with an RTX 5080 (driver 32.0.16.1692), MSVC 14.44 and SDK 10.0.26100, at
83229f5..\tools\package-gpu-check.ps1fails with "The extracted package failed its WARP tests." The cause is the em dash intools/gpu-check/Run-GpuCheck.ps1(line 128). The file is UTF-8 without a BOM, so Windows PowerShell 5.1 reads it as cp1252; the dash's last byte becomes a curly quote that PowerShell treats as a string terminator, and the script fails to parse with "The string is missing the terminator". That would hit anyone who runs the ZIP from the defaultpowershell.exe.Replacing
—with-(or saving the script with a BOM) fixes it. With that change locally, packaging passes, the extractedRun-GpuCheck.ps1exits 0 on the hardware backend, andgpu-report-hardware.mdhas the new summary at the top (adapter, driver, debug layer, lane range, per-test table) and the #1 submit instructions at the end. All hardware tests passed exceptbvh_wave64_hardware, which skipped because the native lane range is 32..32.Imported from R0Y00/Xbox2Windows. Originally posted by Jawschamp on 2026-11-21T16:29:44Z.
Thanks both, and thanks @Vonsek for tracking it down to the encoding. Replaced the em dash on that line with an ASCII hyphen; it was the only non-ASCII character in the packaged runner or
package-gpu-check.ps1. Added a check totests/gpu_report_format_check.pythat fails on any non-ASCII byte in those two scripts, so this can't slip back in. I can't run Windows PowerShell 5.1 here, so the Windows job's ZIP/WARP smoke test is the real confirmation.