Repository navigation
runtime: name the missing BCPack predictor instead of a blank picture (BCPACK-PREDICTOR-DIAGNOSTIC) - #1660
Closed
slauko wants to merge 1 commit into
Closed
runtime: name the missing BCPack predictor instead of a blank picture (BCPACK-PREDICTOR-DIAGNOSTIC)#1660slauko wants to merge 1 commit into
slauko wants to merge 1 commit into
Conversation
… (BCPACK-PREDICTOR-DIAGNOSTIC) The runtime's DStorage open path names the expected profile (LEONIDA_DSTORAGE_HISTORY or <work>/bcpack/history.bcph), the generator tools/build_dstorage_history.py, and the consequence: loading art and most BC7 textures stay empty. The runtime stage warns when --if-needed did not leave the profile behind. No behaviour change; synthetic tests only.
Contributor
|
Independent verification (native Windows): diagnostics-only change (log string + make_game warning). |
milk4sale
pushed a commit
to milk4sale/leonida
that referenced
this pull request
Nov 27, 2026
…ne-library-atomic-write-race GPU: serialize pipeline library atomic writes with unique temp files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: BCPACK-PREDICTOR-DIAGNOSTIC (#1608 (comment)).
What and why
docs/linux_proton.mdlists three setup mistakes that each give a blank or empty picture. Two are owned elsewhere (#1528 for SDL3/input, #387 for the executable's embedded shaders); the third is the missing BCPack predictor profile. The runtime already opened<work>/bcpack/history.bcphand fell back silently, and the runtime stage generated it withtools/build_dstorage_history.py --if-neededwithout checking the result.LEONIDA_DSTORAGE_HISTORY), the generator, and the consequence (loading art and most BC7 textures stay empty).No behaviour change: an existing profile is loaded exactly as before, and an absent one keeps the built-in codec policy; only the message and the warning are new.
Tested
python -I tests/test_make_game_dstorage_profile.py— 2 tests: a missing profile names the path, the generator and the BC7 consequence; a present profile returns no hint.python -m compileall -q make_game.py tests/test_make_game_dstorage_profile.pypython -I tests/test_make_game_argparse.py— unchanged and green.log_once; the Windows runtime CI compiles it.No game data: the tests use an empty temporary directory and a synthetic
BCPHIST1file.AI-assisted: yes.