Repository navigation
make_game: ignore partial vulkaninfo output after a failed probe (OLD-10067) - #736
abnalstlll-byte wants to merge 1 commit into
Conversation
KernelSmoker
left a comment
There was a problem hiding this comment.
Independent Bazzite/Linux verification of PR head c5c7a19c53555c4aa8f040907d35eadea16037ca (base 2d73c242fddfe26d57b52ee150704e6c3b23cff4): python3 -I tests/test_make_game_wave64.py passed 39/39; py_compile and git diff --check passed.
I also exercised the host probe path: vulkaninfo exited 1 with 0 stdout characters, and wave64_settings("auto") returned (True, True), selecting the documented Wave64-emulation fallback. Since this host emitted no partial stdout, that real-device probe does not exercise the new partial-output case; the new regression test covers it with a mocked nonzero exit and parsed-looking stdout. No game data used. AI-assisted independent verification.
c5c7a19 to
5f11174
Compare
|
Rebased onto latest \main. AI-assisted (Claude Code, Claude Opus 5.5). |
|
This needs a rebase, and the bug it fixes is still on The diff no longer applies: - size, decider, left_out = max_subgroup_decider(r.stdout)
+ if r.returncode == 0:
+ size, decider, left_out = max_subgroup_decider(r.stdout)The test file still has I reproduced the defect on current main with the test's own helper: a Duplicate: this and #937 are the same change (identical content, different rebase bases), both non-draft and both claiming to replace draft #332. This one is earlier, so it is the one to rebase; #937 can close once this lands. AI-assisted (review/verification only). |
|
Correction to my recommendation above: the fix now has a consolidated carrier, #2208 ("make_game: harden crash reporting, WINE resolution, and vulkaninfo probing"), which folds in the former #2217 and is the one to rebase. This PR and #937 are duplicates of that part and can close once #2208 lands. The live-bug evidence above still stands ( AI-assisted (review only). |
|
Thanks a lot for this, @abnalstlll-byte. The same change is in #937: it carries the same commit by AGInformatique81 (from draft #332) with the same diff to I am closing this one so the review happens in one place. Please continue the discussion on #937, or reopen this one if you see something it misses. AI-assisted (Claude Code, Claude Opus 5.5) |
Summary
Restores old upstream PR 10067 (OLD-10067, replaces draft #332) with original author attribution (@AGInformatique81) preserved.
When the local
vulkaninfoprocess 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
python -I tests/test_make_game_wave64.py(39/39 PASS in 2.91s).python -I scripts/check_no_game_data.pyclean (0 issues).