GPU-RUNNER-STORE-DIAGNOSTIC: Keep the helper verdict in GPU test output #477

Manually merged
github merged 1 commit from gh-pr/477/head into gh-pr/477/base 2026-11-26 09:02:50 +00:00
Owner

@⁠ettehn on GitHub · 2026-11-24 06:03 UTC · original
ettehn:fix/gpu-runner-store-verdict → main · +19 −4 · 2 files · 1 commits · merged 2026-11-24 06:58 UTC

Claimed in the coordination issue as: GPU-RUNNER-STORE-DIAGNOSTIC

What and why

The GPU runner concatenates captured stdout and stderr. For vk_store_test, the texel verdict is on stdout and the device banner is on stderr. A trailing device banner could therefore hide the verdict. Select the preceding output line when a verdict is available, and keep the device banner as a fallback if it is the only output.

Tested

  • Windows 11 25H2 (26200.9974), Python 3.13.7, LLVM 23.1.6 and Khronos SPIRV-Tools 2026.4.
  • The new regression fails on main for both successful and failing helper runs when stderr ends with a device banner. With the patch, both display the texel verdict. The device-only failure case also passes.
  • python -IB tests/test_run_gpu_tests.py passed 64 tests. The 3 line-ending tests and the no-game-data check passed.
  • On the GPU, run_gpu_tests.py --filter imgload translated and validated all four synthetic shaders. The two passing rows show zero bad texels, and the two existing TFE failures from #31 now show 64 bad, texel(5,3) = 2071.

GPUs tested: NVIDIA GeForce RTX 5070 Ti Laptop GPU, NVIDIA 621.24, Vulkan 1.4.357, Windows 11.

AI-assisted: Yes, OpenAI Codex helped reproduce the issue, implement the fix, and run the tests.

Checklist

  • Based on current main.
  • One topic.
  • No game data, keys or decryption.
  • Translator rule checklist: n/a.
**@⁠ettehn** on GitHub · 2026-11-24 06:03 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/477) `ettehn:fix/gpu-runner-store-verdict` → `main` · +19 −4 · 2 files · 1 commits · merged 2026-11-24 06:58 UTC Claimed in the coordination issue as: [GPU-RUNNER-STORE-DIAGNOSTIC](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) ### What and why The GPU runner concatenates captured stdout and stderr. For `vk_store_test`, the texel verdict is on stdout and the device banner is on stderr. A trailing device banner could therefore hide the verdict. Select the preceding output line when a verdict is available, and keep the device banner as a fallback if it is the only output. ### Tested - Windows 11 25H2 (26200.9974), Python 3.13.7, LLVM 23.1.6 and Khronos SPIRV-Tools 2026.4. - The new regression fails on `main` for both successful and failing helper runs when stderr ends with a device banner. With the patch, both display the texel verdict. The device-only failure case also passes. - `python -IB tests/test_run_gpu_tests.py` passed 64 tests. The 3 line-ending tests and the no-game-data check passed. - On the GPU, `run_gpu_tests.py --filter imgload` translated and validated all four synthetic shaders. The two passing rows show zero bad texels, and the two existing TFE failures from #31 now show `64 bad, texel(5,3) = 2071`. GPUs tested: NVIDIA GeForce RTX 5070 Ti Laptop GPU, NVIDIA 621.24, Vulkan 1.4.357, Windows 11. AI-assisted: Yes, OpenAI Codex helped reproduce the issue, implement the fix, and run the tests. ### Checklist - [x] Based on current `main`. - [x] One topic. - [x] No game data, keys or decryption. - Translator rule checklist: n/a.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:02:49 +00:00
github manually merged commit b35b222df1 into gh-pr/477/base 2026-11-26 09:02:50 +00:00
Author
Owner

@⁠QemmHD on GitHub · 2026-11-24 06:58 UTC · original

Merging. Why merged: a device banner printed on stderr no longer replaces a store helper's verdict in GPU test output.
Why it's good: security-reviewed; tested on Windows 11 merged onto main c023a36: 62 -> 64 tests OK (both new tests fail on main); the other 27 run_gpu_tests tests still pass.

AI-assisted (Claude Code, Claude Opus 5.5).

**@⁠QemmHD** on GitHub · 2026-11-24 06:58 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/477#issuecomment-7124489567) Merging. Why merged: a device banner printed on stderr no longer replaces a store helper's verdict in GPU test output. Why it's good: security-reviewed; tested on Windows 11 merged onto main c023a36: 62 -> 64 tests OK (both new tests fail on main); the other 27 run_gpu_tests tests still pass. AI-assisted (Claude Code, Claude Opus 5.5).
This discussion has been locked. Commenting is limited to contributors.
No description provided.