Skip to content

Tools (in-game): the launcher's install / update / uninstall through an optional GPU slot - #202

Merged
phantoslayer21 merged 1 commit into
mainfrom
tools/ingame-launcher-slot
Nov 14, 2026
Merged

phantoslayer21 merged 1 commit into
mainfrom
tools/ingame-launcher-slot

Conversation

@phantoslayer21

Copy link
Copy Markdown
Owner

Refs #89

The launcher's install, repair, update, uninstall and rollback checks run a short HIP probe on the GPU ("HIP probe: context created", under a second). tools/ingame/run.py called update directly, so on a PC that shares its GPU through a slot tool, that probe ran outside the slot rule.

  • New optional config entry gpu_slot: {"command": [<prefix that runs one command in a GPU slot>], "env": {...}}. Exactly those five verbs run through it; play does not.
  • Without it the session log says the probe ran outside a slot.
  • README documents the entry.

Checked: all --dry-run with and without gpu_slot (the update line is wrapped, or the note appears). No runtime or build change.

…an optional GPU slot

The launcher's install, repair, update, uninstall and rollback checks run a short HIP probe on the GPU. run.py called update directly, so on a shared PC that probe ran outside the PC's GPU-slot rule. An optional config entry gpu_slot ({"command": [prefix], "env": {...}}) now wraps exactly those verbs; play is not wrapped. Without it the session log says the probe ran outside a slot. Checked with a dry run both ways.

Refs #89

Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
@phantoslayer21
phantoslayer21 marked this pull request as ready for review November 14, 2026 21:10
@phantoslayer21
phantoslayer21 merged commit 77f6785 into main Nov 14, 2026
9 checks passed
@phantoslayer21
phantoslayer21 deleted the tools/ingame-launcher-slot branch November 14, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant