Skip to content

About

See and set which GPU every Windows app uses – per-app GPU selection and live GPU monitoring for multi-GPU Windows 11 PCs (NVIDIA, Intel Arc, AMD).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SetWhichGPU icon

SetWhichGPU

See and set which GPU every Windows app uses
Per-app GPU selection and live GPU monitoring for Windows 11 PCs with more than one graphics card

CI status MIT license Windows 11 Python 3.13

Press Ctrl + Alt + G to show SetWhichGPU after setup

On German keyboards: Strg + Alt + G. SetWhichGPU runs in the system tray; the hotkey opens its overlay above the active app.

Warning

Windows shows a blue “Windows protected your PC” screen? That is Microsoft Defender SmartScreen – it appears because the installer is new and not code-signed yet, not because something was found. Click More info, then Run anyway (German Windows: Weitere Informationen → Trotzdem ausführen). If Windows blocks the app without a Run anyway button, Smart App Control is switched on – see Install.

Download · Website · Install · FAQ

SetWhichGPU is a free, open-source tray app for Windows 11. Press Ctrl+Alt+G over any application to see which GPU it really runs on, next to the GPU Windows is told to use – and change it in two clicks. Made for laptops with integrated + dedicated graphics and desktops with several GPUs (NVIDIA, AMD, Intel Arc).

SetWhichGPU overlay: Blender runs on a GeForce RTX 3060 at 97 % with the preference set to the RTX 3060; Intel Arc and AMD Radeon GPUs and the application list are shown

Status: early development (pre-release). Expect rough edges. Developed and tested on a Windows 11 PC with an NVIDIA GeForce RTX 3060, an Intel Arc Pro B65 and an AMD Radeon iGPU – reports from other setups are very welcome.

Features

  • Hotkey overlay (Ctrl+Alt+G) above the active application – works over borderless fullscreen, on several monitors and with mixed DPI
  • Measured vs. preferred GPU side by side – never mixed up
  • Per-app GPU selection via the Windows graphics preference: default, power saving, high performance or one specific GPU (essential with three or more GPUs)
  • Honest status: "active", "restart required" (only if the app was started before the change) or "the app picks its GPU itself"
  • Live GPU monitoring per GPU (load, VRAM, temperature, power) and per application, including CUDA compute, with a 30-second load chart per GPU: whole card vs. the selected app
  • Application list: running apps, background GPU processes, saved preferences, installed programs and Steam, Epic (incl. the new launcher), GOG and Meta Horizon (VR) games – set the GPU before starting an app; anything missing can be added by hand (+ Add program)
  • Analysis panel (F): engine load, VRAM and power of an app over up to 5 minutes, and frame analysis (FPS, 1 % lows, frame times, GPU- vs. CPU-limited) via the bundled Intel PresentMon – nothing is injected into games; render passes of a DX12/Vulkan frame captured with RenderDoc and GPU timelines imported from Nsight Systems or profiler traces
  • Pin mode: the overlay stays visible and follows the active application
  • Optional game mode for games that ignore the Windows preference (see below)
  • Local AI models: shows which models Ollama, LM Studio/Bionic, Lemonade, KoboldCpp, llama.cpp, Stable Diffusion WebUI (A1111, Forge, SD.Next) and text-generation-webui have loaded, next to the measured GPU – asked on 127.0.0.1 only, nothing leaves the PC (can be switched off: tray menu → Show loaded AI models)
  • Journaled and reversible: every registry change is logged first and can be undone from the tray menu
  • English, German, Spanish and French UI (follows Windows, switchable in the tray menu)

Why not just Windows Settings?

Windows (Settings → System → Display → Graphics) can tell an app to use a specific GPU, but it never shows which GPU the app actually ended up on, buries the setting several clicks deep, and gives no hint when an app simply ignores it. SetWhichGPU shows the measured GPU next to the stored preference, one hotkey away, for every running, installed or saved application.

What it can and cannot do

Please read this before filing a bug – most "it doesn't work" cases are Windows limitations:

✅ Sets the Windows per-app graphics preference (HKCU, no admin rights)
⏳ Changes take effect the next time the app starts – Windows cannot move a running process to another GPU
❌ Apps that choose their GPU themselves ignore the Windows preference (many games, Blender Cycles' render device, CUDA/AI tools). SetWhichGPU detects and reports this
❌ No overlay in exclusive fullscreen (a tray notification is shown instead)
⚠️ The "specific GPU" option uses the same – undocumented – registry format the Windows Settings app writes. A future Windows update could change it
⚠️ Two identical GPUs (same model and board vendor) cannot be told apart by Windows; selection is disabled in that case
ℹ️ Temperature/power: NVIDIA (NVML) and Intel Arc (IGCL). AMD telemetry is not implemented yet

SetWhichGPU never modifies drivers, never injects into other processes and sends no telemetry. Its only network access is the local-AI feature, which talks to AI programs on 127.0.0.1 only and can be switched off (ADR-0003, German).

Game mode (optional)

Overlay for a game that ignores the GPU preference, with the game mode button

Some games enumerate all GPUs and pick one themselves. When SetWhichGPU proves that (the game was started after the preference was set and still runs elsewhere), it offers game mode: the unwanted GPU is temporarily disabled after you close the game, you start the game again, and the GPU is enabled again automatically when the game exits.

Safety rules (ADR-0002, German): a GPU with a monitor attached and the only GPU are never disabled; GPUs another process is computing on are refused; the GPU is re-enabled on game exit, timeout, from the tray, when quitting and on the next start after a crash. Game mode is the only feature that asks for administrator rights (one UAC prompt per session, pnputil /disable-device / /enable-device, never /force).


Install

⬇ Download SetWhichGPU-setup.exe (Windows 11, 64-bit, ~21 MB) and run it. Release notes and SHA-256 checksum: latest release.

  • Installs for your user only – no administrator rights (optionally for all users)
  • Options: start with Windows, desktop shortcut
  • Uninstall via Settings → Apps: closes SetWhichGPU, removes autostart and asks whether to restore the GPU preferences it changed and whether to delete its settings and logs
  • The installer is not code-signed yet, so Windows SmartScreen may warn ("Windows protected your PC" → More info → Run anyway). Each release lists the SHA-256 checksum of the installer
  • Smart App Control: if it is switched on (Windows Security → App & browser control → Smart App Control), Windows blocks unsigned programs without asking – SetWhichGPU then does not start at all, not even with Windows (the log in %LOCALAPPDATA%\SetWhichGPU\logs stays empty; Event Viewer → Applications and Services Logs → Microsoft → Windows → CodeIntegrity → Operational shows the block). Windows can switch it on by itself after its evaluation period. Until the releases are code-signed the only way is to turn Smart App Control off – depending on the Windows version it can then only be switched on again by resetting Windows, so decide deliberately

SetWhichGPU then lives in the system tray. Language: tray menu → Language. Hotkey: Ctrl+Alt+G (another one via the environment variable GPUCC_HOTKEY, e.g. Ctrl+Shift+F9; a settings dialog is planned).

Run from source

Requirements: Windows 11, Python 3.13 and uv.

git clone https://github.com/Mastertoken/SetWhichGPU.git
cd SetWhichGPU
uv sync
uv run python -m gpucc

With Smart App Control switched on, the Python builds that uv downloads are blocked (they are unsigned). Use the signed Python from python.org for the virtual environment instead: winget install Python.Python.3.13, then uv sync --python-preference only-system.

Build the installer yourself: .\tools\release\build_installer.ps1 (needs Inno Setup 6: winget install JRSoftware.InnoSetup). Official installers are built by GitHub Actions (release workflow); each release links the run that built it.

Code signing: releases are not code-signed yet; each release lists the SHA-256 checksum and links the GitHub Actions run that built it. Committers, reviewers and approvers: Mastertoken. Privacy: this program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.

FAQ

How do I make an app use a specific GPU on Windows 11? Press Ctrl+Alt+G over the app (or pick it from the application list), click the GPU and Apply. It takes effect the next time the app starts.

How can I see which GPU a program is actually using? The overlay measures GPU engine activity and video memory per process (Windows performance counters, plus NVML for NVIDIA and IGCL for Intel Arc) and shows the measured GPU next to the preference.

Why does my game or Blender ignore the GPU preference? It chooses its GPU itself; Windows cannot override that. SetWhichGPU says so instead of pretending. For Blender Cycles/CUDA tools, pick the device inside the app; for games, game mode can help.

Does it work on laptops (iGPU + dGPU) and with AMD? Yes – with any GPUs Windows exposes as separate adapters. AMD telemetry (temperature/power) is not implemented yet; load and VRAM work.

Which GPU does my local AI model (Ollama, LM Studio, ComfyUI) run on? Open the overlay on the tool (its server processes are under Background GPU processes in the application list): it shows the measured GPU, VRAM and the split across several GPUs. For Ollama, LM Studio/Bionic, Lemonade, KoboldCpp, llama.cpp, Stable Diffusion WebUI and text-generation-webui the loaded models are listed by name (Ollama also with the GPU/CPU split). A1111/Forge and text-generation-webui need their --api switch for that. These tools pick their GPU themselves – choose it in the tool (e.g. CUDA_VISIBLE_DEVICES).

Development

uv run pytest                                        # unit tests (no GPU needed)
uv run pytest -m windows                             # read-only tests against real Windows APIs
$env:GPUCC_HW_TESTS='1'; uv run pytest -m hardware   # tests against real GPUs
uv run ruff check . ; uv run ruff format --check . ; uv run mypy src
uv run python tools/assets/make_screenshots.py       # regenerate README/website screenshots

Architecture: docs/architecture/PHASE1_ARCHITEKTUR.md (German), decisions in docs/adr/, feasibility spikes in docs/spikes/. Rules for contributors and AI coding agents: AGENTS.md. Translations live in src/gpucc/i18n/ – new languages are welcome; a test checks that every string is translated.

This project is developed with the help of AI coding agents (Claude Code, Codex CLI) under human review; see AGENTS.md for the rules they follow.

Contributing, security, license

NVIDIA, GeForce, Intel, Arc, AMD, Radeon, Windows, Steam, Epic Games, GOG, Meta, Oculus, Ollama, LM Studio and Blender are trademarks of their respective owners. This project is not affiliated with or endorsed by any of them.

About

See and set which GPU every Windows app uses – per-app GPU selection and live GPU monitoring for multi-GPU Windows 11 PCs (NVIDIA, Intel Arc, AMD).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages