Skip to content

make_game: ignore vulkaninfo output after a failed probe - #2217

Closed
whoalin1 wants to merge 1 commit into
ProjectLeonida:mainfrom
whoalin1:wave64-vulkaninfo-failed-probe
Closed

whoalin1 wants to merge 1 commit into
ProjectLeonida:mainfrom
whoalin1:wave64-vulkaninfo-failed-probe

Conversation

@whoalin1

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

Verified on main a73a57e (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

Copy link
Copy Markdown
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants