tools: add a summary and #1 submit path to the GPU check report #62

Manually merged
github merged 5 commits from gh-pr/62/head into gh-pr/62/base 2026-11-26 21:24:53 +00:00
Owner

@⁠Jawschamp on GitHub · 2026-11-21 14:52 UTC · original
Jawschamp:fix/gpu-check-report-submit-path → main · +217 −13 · 6 files · 5 commits · merged 2026-11-21 17:00 UTC

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.0 ZIP is unchanged until a new
release; this applies to current source and the next packaged
build. The field parsers follow the offscreen_check output
format, including the multi-word driver=unavailable via DXGI
fallback.

Verification

python3 -B tests/gpu_report_format_check.py

7 passed on Linux (no Windows or game files). I do not have a
Windows GPU here. The existing package-gpu-check.ps1 WARP smoke
test now also requires the Summary and Submit headings and the #1
URL, and the Ubuntu job runs the format check.

**@⁠Jawschamp** on GitHub · 2026-11-21 14:52 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/62) `Jawschamp:fix/gpu-check-report-submit-path` → `main` · +217 −13 · 6 files · 5 commits · merged 2026-11-21 17:00 UTC 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.0` ZIP is unchanged until a new release; this applies to current source and the next packaged build. The field parsers follow the `offscreen_check` output format, including the multi-word `driver=unavailable via DXGI` fallback. ## Verification ``` python3 -B tests/gpu_report_format_check.py ``` 7 passed on Linux (no Windows or game files). I do not have a Windows GPU here. The existing `package-gpu-check.ps1` WARP smoke test now also requires the Summary and Submit headings and the #1 URL, and the Ubuntu job runs the format check.
The generated markdown now starts with the adapter, driver, debug
layer, native lane range and a per-test result table, and ends with
instructions to paste the file as a comment on issue #1. Recent
reports were opened as new issues with only an attached log.

The field regexes are checked against the published hardware output
format, including a multi-word DXGI driver fallback. The package WARP
smoke test and the Ubuntu job require the new headings and URL.

Refs #1
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:24:51 +00:00
github manually merged commit c97f66f4c4 into gh-pr/62/base 2026-11-26 21:24:53 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-21 15:25 UTC · original

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.

**@⁠R0Y00** on GitHub · 2026-11-21 15:25 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/62#issuecomment-7064856686) 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.
Author
Owner

@⁠Vonsek on GitHub · 2026-11-21 15:59 UTC · original

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.ps1 fails with "The extracted package failed its WARP tests." The cause is the em dash in tools/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 default powershell.exe.

Replacing — with - (or saving the script with a BOM) fixes it. With that change locally, packaging passes, the extracted Run-GpuCheck.ps1 exits 0 on the hardware backend, and gpu-report-hardware.md has 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 except bvh_wave64_hardware, which skipped because the native lane range is 32..32.

**@⁠Vonsek** on GitHub · 2026-11-21 15:59 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/62#issuecomment-7065298331) 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.ps1` fails with "The extracted package failed its WARP tests." The cause is the em dash in `tools/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 default `powershell.exe`. Replacing ` — ` with ` - ` (or saving the script with a BOM) fixes it. With that change locally, packaging passes, the extracted `Run-GpuCheck.ps1` exits 0 on the hardware backend, and `gpu-report-hardware.md` has 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 except `bvh_wave64_hardware`, which skipped because the native lane range is 32..32.
Author
Owner

@⁠Jawschamp on GitHub · 2026-11-21 16:29 UTC · original

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 to tests/gpu_report_format_check.py that 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.

**@⁠Jawschamp** on GitHub · 2026-11-21 16:29 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/62#issuecomment-7065688727) 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 to `tests/gpu_report_format_check.py` that 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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.