[PR #736] make_game: ignore partial vulkaninfo output after a failed probe (OLD-10067) #773

Open
opened 2026-11-26 20:19:00 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/736
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: restore/old-10067-vulkaninfo-probe


📝 Commits (1)

  • 5f11174 Ignore partial vulkaninfo output after a failed probe

📊 Changes

2 files changed (+8 additions, -3 deletions)

View changed files

📝 make_game.py (+2 -1)
📝 tests/test_make_game_wave64.py (+6 -2)

📄 Description

### Summary
Restores old upstream PR 10067 (OLD-10067, replaces draft #332) with original author attribution (@AGInformatique81) preserved.

When the local vulkaninfo process fails after printing a 64-wide adapter, the build could prematurely select native wave64 by reading that partial output. This change verifies the process exit status before reading adapter limits, ensuring a failed probe reliably falls back to wave64 emulation.

Verification

  • Tested with standard library: python -I tests/test_make_game_wave64.py (39/39 PASS in 2.91s).
  • Clean-room check: python -I scripts/check_no_game_data.py clean (0 issues).
  • Zero external runtime dependencies.
  • AI-assisted (Claude Code).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/736 **Author:** [@abnalstlll-byte](https://github.com/abnalstlll-byte) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `restore/old-10067-vulkaninfo-probe` --- ### 📝 Commits (1) - [`5f11174`](https://github.com/ubiquitarianism/leonida/commit/5f111742187c062486cd85a6f619f9a27eb150be) Ignore partial vulkaninfo output after a failed probe ### 📊 Changes **2 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `make_game.py` (+2 -1) 📝 `tests/test_make_game_wave64.py` (+6 -2) </details> ### 📄 Description ### Summary Restores old upstream PR 10067 (OLD-10067, replaces draft #332) with original author attribution (@AGInformatique81) preserved. When the local `vulkaninfo` process fails after printing a 64-wide adapter, the build could prematurely select native wave64 by reading that partial output. This change verifies the process exit status before reading adapter limits, ensuring a failed probe reliably falls back to wave64 emulation. ### Verification - Tested with standard library: `python -I tests/test_make_game_wave64.py` (39/39 PASS in 2.91s). - Clean-room check: `python -I scripts/check_no_game_data.py` clean (0 issues). - Zero external runtime dependencies. - AI-assisted (Claude Code). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#773
No description provided.