make_game: ignore vulkaninfo output after a failed probe #2217

Closed
whoalin1 wants to merge 1 commit from upstream-pr/2217 into main
whoalin1 commented 2026-11-26 06:39:50 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-26T06:39:50Z.


Summary

  • only parse vulkaninfo stdout when the probe exits successfully
  • keep the safe fallback (wave64 emulation on) when a failed probe prints partial device data
  • add a synthetic partial-output regression

Item: WAVE64-VULKANINFO-TRUST-FAILED-PROBE

This carries forward the still-uncarried fix in old-pr/10067, originally written by AGInformatique81, reapplied and verified on current main.

Tests

Under the local machine coordination lock:

  • control: the new regression fails on unpatched make_game.py because a failed probe's partial maxSubgroupSize=64 output turns exact emulation off
  • fixed: python -I tests/test_make_game_wave64.py — 39 tests, OK
  • python -m compileall -q make_game.py tests/test_make_game_wave64.py — pass
  • git diff --cached --check — pass

No game files or GPU.

AI-assisted with Devin.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5505292898 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2217). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-26T06:39:50Z. --- ## Summary - only parse `vulkaninfo` stdout when the probe exits successfully - keep the safe fallback (wave64 emulation on) when a failed probe prints partial device data - add a synthetic partial-output regression Item: WAVE64-VULKANINFO-TRUST-FAILED-PROBE This carries forward the still-uncarried fix in old-pr/10067, originally written by AGInformatique81, reapplied and verified on current main. ## Tests Under the local machine coordination lock: - control: the new regression fails on unpatched `make_game.py` because a failed probe's partial maxSubgroupSize=64 output turns exact emulation off - fixed: `python -I tests/test_make_game_wave64.py` — 39 tests, OK - `python -m compileall -q make_game.py tests/test_make_game_wave64.py` — pass - `git diff --cached --check` — pass No game files or GPU. AI-assisted with Devin.
real-rusher commented 2026-11-26 10:12:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by real-rusher on 2026-11-26T10:12:18Z.


Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU). Merges cleanly, also together with #2209 and #2208 (all three touch make_game.py). With this PR, python -I tests/test_make_game_wave64.py: 39 tests OK. The PR's test file against main's make_game.py: 1 failure, so the new test fails on main and passes with the fix. compileall clean.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7189048662 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2217#issuecomment-7189048662). Originally posted by [real-rusher](https://github.com/real-rusher) on 2026-11-26T10:12:18Z. --- Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU). Merges cleanly, also together with #2209 and #2208 (all three touch make_game.py). With this PR, python -I tests/test_make_game_wave64.py: 39 tests OK. The PR's test file against main's make_game.py: 1 failure, so the new test fails on main and passes with the fix. compileall clean. AI-assisted: yes (Claude Code)
whoalin1 commented 2026-11-26 13:25:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-26T13:25:12Z.


Consolidated into #2208 as cherry-pick 38cd8a5ed to reduce review noise. The failed-vulkaninfo probe fix and regression test are preserved there.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7193325562 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2217#issuecomment-7193325562). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-26T13:25:12Z. --- Consolidated into #2208 as cherry-pick `38cd8a5ed` to reduce review noise. The failed-vulkaninfo probe fix and regression test are preserved there.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2217
No description provided.