make_game: ignore partial vulkaninfo output after a failed probe (DRAFT-332) #937

Closed
leonida/mandy
fin-github wants to merge 0 commits from draft/332 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

fin-github commented 2026-11-24 15:17:25 +00:00

Claimed in the coordination issue as: DRAFT-332 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135362620)

Supersedes draft #332, carried over from the original repository. This is the same commit rebased onto current main, with the original author (AGInformatique81) kept and git cherry-pick -x recording where it came from. The change and its explanation are theirs; see #332 for the original description.

Tested

  • python -I tests/test_make_game_wave64.py: OK
  • python -I scripts/check_no_game_data.py on the changed files: clean.

Windows 11 (10.0.26200), Python 3.14.4. No game files, nothing online.

AI-assisted (Claude Code): rebasing, conflict resolution and test runs.

Claimed in the coordination issue as: `DRAFT-332` (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135362620) Supersedes draft #332, carried over from the original repository. This is the same commit rebased onto current `main`, with the original author (AGInformatique81) kept and `git cherry-pick -x` recording where it came from. The change and its explanation are theirs; see #332 for the original description. ### Tested - `python -I tests/test_make_game_wave64.py`: OK - `python -I scripts/check_no_game_data.py` on the changed files: clean. Windows 11 (10.0.26200), Python 3.14.4. No game files, nothing online. AI-assisted (Claude Code): rebasing, conflict resolution and test runs.
KernelSmoker approved these changes 2026-11-24 15:22:19 +00:00
KernelSmoker left a comment

Reviewed exact head 5028c0c17277f62a9056204bcbd5097b029b6e00. wave64_settings(auto) now trusts vulkaninfo output only when the probe exits successfully; partial output from a failed probe falls back to conservative emulation. The new regression exercises that failure case and preserves the successful-probe paths. python3 -I tests/test_make_game_wave64.py -v: 39/39 passed; Python compile and diff checks passed. Synthetic probes only; no GPU/game data used.

Reviewed exact head `5028c0c17277f62a9056204bcbd5097b029b6e00`. `wave64_settings(auto)` now trusts `vulkaninfo` output only when the probe exits successfully; partial output from a failed probe falls back to conservative emulation. The new regression exercises that failure case and preserves the successful-probe paths. `python3 -I tests/test_make_game_wave64.py -v`: 39/39 passed; Python compile and diff checks passed. Synthetic probes only; no GPU/game data used.
wavehs commented 2026-11-26 18:49:26 +00:00

Same change as #736 (abnalstlll-byte, 2026-11-24 13:10, earlier), and both diffs now conflict with main f107ae044: wave64_settings() moved to make_game.py:1932 and max_subgroup_decider() returns size, decider, left_out, so the hunk no longer matches. Both PRs also claim to replace draft #332.

The defect is still real on current main: mocking vulkaninfo with returncode=1 and the partial 64-wide output real_format(("First adapter", 64, [])) makes wave64_settings("auto") return (False, True) instead of (True, True).

Recommendation: rebase #736 (earlier, identical content) with if r.returncode == 0: around size, decider, left_out = max_subgroup_decider(r.stdout), and close this one; there is no content difference to preserve. Details are in the #736 comment.

AI-assisted (review/verification only).

Same change as **#736** (abnalstlll-byte, 2026-11-24 13:10, earlier), and both diffs now conflict with `main` `f107ae044`: `wave64_settings()` moved to `make_game.py:1932` and `max_subgroup_decider()` returns `size, decider, left_out`, so the hunk no longer matches. Both PRs also claim to replace draft #332. The defect is still real on current main: mocking `vulkaninfo` with `returncode=1` and the partial 64-wide output `real_format(("First adapter", 64, []))` makes `wave64_settings("auto")` return `(False, True)` instead of `(True, True)`. Recommendation: rebase #736 (earlier, identical content) with `if r.returncode == 0:` around `size, decider, left_out = max_subgroup_decider(r.stdout)`, and close this one; there is no content difference to preserve. Details are in the #736 comment. AI-assisted (review/verification only).
wavehs commented 2026-11-26 18:54:55 +00:00

Correction: the canonical carrier for the vulkaninfo fix is now #2208, which consolidates the former #2217 (closed) with the crash-report and WINE changes. This PR and #736 are stale duplicates of that part; closing both once #2208 lands is the simplest path.

#2208 also needs the current-main adaptation (size, decider, left_out = max_subgroup_decider(r.stdout) behind if r.returncode == 0:); the live (False, True) reproduction from my previous comment is unchanged on 2d43417d4.

AI-assisted (review only).

Correction: the canonical carrier for the vulkaninfo fix is now **#2208**, which consolidates the former #2217 (closed) with the crash-report and WINE changes. This PR and #736 are stale duplicates of that part; closing both once #2208 lands is the simplest path. #2208 also needs the current-main adaptation (`size, decider, left_out = max_subgroup_decider(r.stdout)` behind `if r.returncode == 0:`); the live `(False, True)` reproduction from my previous comment is unchanged on `2d43417d4`. AI-assisted (review only).
MoonEyes commented 2026-11-27 23:20:28 +00:00

Hi @fin-github, thanks for this pull request. It currently conflicts with main (conflicting file(s): make_game.py), so it carries the needs rebase label. CONTRIBUTING.md asks authors to rebase their branch on main; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here.

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

Hi @fin-github, thanks for this pull request. It currently conflicts with `main` (conflicting file(s): `make_game.py`), so it carries the `needs rebase` label. CONTRIBUTING.md asks authors to rebase their branch on `main`; once it merges cleanly the label goes within the hour, and reviews start with the pull requests that do. Could you update the branch when you have a moment? If you no longer plan to continue with it, please say so here. AI-assisted (Claude Code, Claude Opus 5.5).
MoonEyes commented 2026-11-30 12:07:03 +00:00

Closing as done on main ec1d85846: make_game.py asks for r.returncode == 0 before it reads vulkaninfo, and tests/test_make_game_wave64.py has the same case (returncode=1). #736 (same content) was closed before. Thank you for the work; please reopen it if something is missing.

AI-assisted (Claude Code). Closed at the owner's request (MoonEyes).

Closing as done on `main` `ec1d85846`: `make_game.py` asks for `r.returncode == 0` before it reads vulkaninfo, and `tests/test_make_game_wave64.py` has the same case (`returncode=1`). #736 (same content) was closed before. Thank you for the work; please reopen it if something is missing. AI-assisted (Claude Code). Closed at the owner's request (MoonEyes).
Sign in to join this conversation.
No description provided.