fix(app): only a reading made with no game running is kept as other programs' memory
- a normal placement keeps its reading only when no game runs: the perf loop passes whether a game runs to every switch, so the way back from a failed game stage while the game runs keeps the reading from before the game - game detection also looks at every running program once as the services start: a program in a launcher's game folder or the person's games list counts, also behind other windows - checked on the win-ci VM: a minimised program in a Steam game folder is found at the start while nothing is in front Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -368,11 +368,14 @@ between the normal placement and the game placement as games come and go (not wi
|
||||
2 GiB, else 0 GiB, else pause), measured once at that context like the normal one. Other
|
||||
programs' memory is what the card holds after the LLM stopped, less the STT worker's model while
|
||||
it is loaded (1300 MiB), read afresh at every placement. A normal placement made with no game
|
||||
running keeps its reading. The game stage counts other programs as that kept reading and leaves
|
||||
running keeps its reading; one made while a game runs (the way back from a failed game stage)
|
||||
keeps the earlier one. The game stage counts other programs as that kept reading and leaves
|
||||
a reserve of at least what has grown since (the game and any program opened after that
|
||||
reading), so nothing is counted twice and nothing that grew is missed. When a game already ran
|
||||
as the services started (game detection looks once before the LLM starts), there is no such
|
||||
reading: the game stage then counts what the card holds now, the game included, and leaves only
|
||||
as the services started, there is no such reading: game detection looks once before the LLM
|
||||
starts, at the window in front and at every running program (one in a launcher's game folder or
|
||||
the person's games list counts, also behind other windows; how a window looks is not known
|
||||
there). Then the game stage counts what the card holds now, the game included, and leaves only
|
||||
the room for other programs. The dashboard shows the stage that runs, also on a fallback
|
||||
placement without experts.
|
||||
- Pause: the LLM stops (`llm` off, "게임 중 일시정지"); the brain answers nothing until the stage
|
||||
@@ -613,7 +616,9 @@ Strata and card): a game moves the LLM to the game placement (measured once at 1
|
||||
2 GiB on the game PC's numbers, half the 16 engine threads) and back after the wait, pause stops
|
||||
it, a card with no room for a game pauses, the normal stage counts a program opened since, the game
|
||||
stage does not count the game twice and counts what grew since the normal reading, a game running
|
||||
as the services start does not pause the LLM, a fallback game placement still shows as the game
|
||||
as the services start does not pause the LLM, the way back to normal from a failed game stage while
|
||||
the game runs keeps the reading from before the game, a game program behind other windows is found
|
||||
at the start (win-ci VM: a minimised program in a Steam game folder), a fallback game placement still shows as the game
|
||||
stage, and the stage loop tells the brain switching (with the notice), waits, restarts and tells
|
||||
it ready, also on the way back; a game stage that cannot start goes back to normal each time and
|
||||
is tried three times; after that a new game tries again, and the next try waits from when the
|
||||
|
||||
Reference in New Issue
Block a user