fix(app): resident launcher apps are not games, and the TTS keeps its share of the card
On the game PC, Wallpaper Engine (steamapps\common\wallpaper_engine) and the Riot client's crash handler (Riot Games\Riot Client) were taken for games running behind other windows as the services started, so no reading of other programs was kept and the game stage placed 0 GiB of experts instead of 2. - A launcher's own folders and non-game apps under its game folder are not game folders (Steamworks Shared, wallpaper_engine; Launcher, Epic Online Services; Riot Client). - The game log tab names the program found running at the start. - The placement keeps the TTS's share (MeloTTS, 1005 MiB, M0 tts_melo) beside the STT's, and takes the worker's loaded models off what the card holds, so a start (TTS not yet loaded) and a switch (TTS loaded) place the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -582,8 +582,8 @@ between the normal placement and the game placement as games come and go (not wi
|
||||
engine's CPU threads (read from its log at the normal start, else a quarter of the logical CPUs),
|
||||
and the game placement (`placement.rs`: the reserve beside more than 2 GiB of experts, else
|
||||
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
|
||||
programs' memory is what the card holds after the LLM stopped, less the voice worker's models
|
||||
while they are loaded (the STT model 1300 MiB, the TTS 1005 MiB), read afresh at every placement. A normal placement made with no game
|
||||
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
|
||||
@@ -591,7 +591,7 @@ between the normal placement and the game placement as games come and go (not wi
|
||||
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
|
||||
there; the `game` log tab gets "a game runs as the services start: program"). 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
|
||||
@@ -599,7 +599,10 @@ between the normal placement and the game placement as games come and go (not wi
|
||||
- The foreground program is a game, in this order: in `notGames`: no; in `games`: yes
|
||||
(`registered`); a browser (also the bot's Chrome), video player, the desktop, Discord, a
|
||||
launcher's own window or this app: no; under a launcher's game folder (the folder after
|
||||
`steamapps\common`, `Epic Games` or `Riot Games`) or inside a Battle.net game's install folder:
|
||||
`steamapps\common`, `Epic Games` or `Riot Games`), unless that folder is the launcher's own or a
|
||||
program that is not a game (`Steamworks Shared` and `wallpaper_engine` (Wallpaper Engine, which
|
||||
runs all the time) under Steam, `Launcher` and `Epic Online Services` under Epic, `Riot Client`
|
||||
under Riot), or inside a Battle.net game's install folder:
|
||||
yes (`launcher`, with the launcher's name). Battle.net installs anywhere, so its games come from
|
||||
the machine's uninstall entries (64- and 32-bit), read when the watch starts: entries removed by
|
||||
its "Blizzard Uninstaller" or published by Blizzard Entertainment, with an install folder, not
|
||||
@@ -644,7 +647,8 @@ start it first, so nothing answers before the brain can, and stop it last.
|
||||
and leaves the speech-to-text worker no room, and its qwen36 engine takes no reserve. Experts get
|
||||
what is left of the card after what it holds before the start (other programs), the model without
|
||||
experts, the STT worker's share (2740 MiB: its model and ten speakers at once, M0 `stt`), the
|
||||
engine's margin (768 MiB) and the room for programs opened later (`game.otherRoomGb`, default
|
||||
TTS's share (1005 MiB, MeloTTS after its warm-up sentence, M0 `tts_melo`; it loads after the LLM,
|
||||
so a start and a switch with the same programs open place the same), the engine's margin (768 MiB) and the room for programs opened later (`game.otherRoomGb`, default
|
||||
1 GB); the budget first holds the long-prompt staging, rounded down to 0.1 GiB, 0 when nothing is
|
||||
left. What the model holds without experts is measured once per context, number of requests at
|
||||
once and card (its NVIDIA UUID): the first-run self-check, a start with `expert-vram=0`, one
|
||||
@@ -994,7 +998,8 @@ back. Performance stages (on every system, with a fake
|
||||
Strata and card): a game moves the LLM to the game placement (measured once at 16K and one request,
|
||||
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
|
||||
stage does not count the game twice and counts what grew since the normal reading, the voice
|
||||
worker's models loaded after the start leave the normal placement as it started, a game running
|
||||
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
|
||||
@@ -1004,7 +1009,8 @@ is tried three times; after that a new game tries again, and the next try waits
|
||||
failed switch was over. The worker client ignores a late idle of an earlier switch and sends the
|
||||
latest LLM state first when a worker connects again. On every system: game detection's rules
|
||||
(a borderless game, a maximised program, a browser's full-screen video, exclusive full screen,
|
||||
launcher folders and their own windows, Battle.net games by install folder and their uninstall
|
||||
launcher folders, their own windows and own folders (Wallpaper Engine, the Riot client's crash
|
||||
handler), Battle.net games by install folder and their uninstall
|
||||
entries, non-ASCII paths, the person's lists first, staying on until the game ends,
|
||||
detection off) and its settings. A removal forgets the driver only when no device is left and the package
|
||||
is gone or was not in the store; a failed install forgets it only under the same rule (and never
|
||||
|
||||
Reference in New Issue
Block a user