User decision (2026-11-11): the 95 % GPU cap is off by default because
gamemode_tune showed it did not lower nvidia-smi's utilisation and cost
6 to 10 % of the LLM's output. The worry behind it was a video stuttering
next to Jarvis, so the new on-demand stage video_drops measures that:
- A public Blender upload plays at 1080p60 in a throwaway Chrome/Edge
profile (removed afterwards), driven over DevTools with a small
standard-library WebSocket client, so no package is added to the
already built venvs.
- Each window counts the video's dropped frames (the player's own
counter) and the gaps over 50/100 ms between shown frames
(requestVideoFrameCallback); windows with an ad, a pause, the end or a
new video are kept but not counted.
- Rows: video alone, Jarvis idle (normal placement with the STT room and
1 GB for other programs), Jarvis busy (LLM answering, STT transcribing
ten speakers back to back) without and with the cap in A B B A order,
then the video alone again. The cap pauses the engine and the STT
worker only, never the browser.
- run_m0_video.bat runs just this stage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A resume that failed was only counted, and the process stayed suspended
after the cap ended. DutyCap now keeps what it still owes per process,
does not stack another suspend on it, retries the resume every period
and at the end, treats a raising call as a failure, and reports any
process it could not resume as left_paused (an error for the row).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
User decision (2026-11-10, room to watch a video next to Jarvis): the
normal placement leaves 1 GB of VRAM for programs opened later, and
Jarvis's GPU work is capped at 95 %.
- gamemode_tune's normal rows take OTHER_ROOM_MIB off the expert budget.
- gpucap.DutyCap pauses the Strata engine (strata.exe --serve under the
kit) and the STT worker with their children together for 10 ms of
every 200 ms (NtSuspendProcess), and always resumes them.
- Every row samples nvidia-smi utilization.gpu; capped rows have an
uncapped twin (normal with and without the STT, game 2 GB with 2 s
partials) so the run shows the cost and what the GPU really gets back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>