Screenshot of the floating GPU widget — a slim glass-effect panel hovering on a Linux Mint desktop. Title 'RainbowAI GPUs' with a green status dot. Below it, six color-coded rows (green, blue, orange, purple, red, cyan) each showing a GPU name, temperature, compute %, and memory bar. Cinnamon desktop and a terminal window blurred in the background. Conveys 'lightweight always-visible monitoring' visually.

Six GPUs running 24/7, multiple LLM models bouncing between them. How do you know if it's all running efficiently?

Last month I had a model that, by every surface metric, "worked." Inference returned. Logs looked clean. But it was slow. Way slower than it should have been.

The actual problem? Two of my six GPUs were sitting at 0% while the other four were hammered to 100%. The model wasn't parallelized across the cluster — only half of it was doing the work. I'd burned days of compute on a misconfiguration that was invisible until I actually looked.

That's when I built the floating GPU widget on my Linux Mint desktop.

🎯 What I watch for — the 3 GPU roadblocks:

1) Compute imbalance. One or two GPUs pegged while the rest idle = your model isn't actually parallelized. Common with ROCm/CUDA misconfigs, vLLM tensor-parallel mismatch, or a runtime that defaults to GPU0.

2) VRAM pressure. If a single GPU's memory bar creeps past ~85%, the next inference might OOM. Catch it BEFORE the model crashes and takes the queue with it.

3) Thermal throttling. My 1660 Supers throttle at ~80°C. Bar turns red, and I know to check fans, airflow, or move a model off that card to a cooler one.

🛠️ The widget — 334 lines of Python:

• GTK 3 transparent window, top-center of monitor, always-on-top, draggable • Background thread runs `nvidia-smi --query-gpu=index,name,utilization.gpu,memory.used,memory.total,temperature.gpu` over paramiko SSH every 3 seconds to my RainbowAI server • Per-GPU: name, temp (green/yellow/red), compute % bar, memory bar — color-coded per card • Status dot: green = fresh data, yellow = stale, red = connection died • Right-click close, left-click drag • Autostart via ~/.config/autostart on Cinnamon login

Why NOT Prometheus + Grafana?

I love both. But for ONE desktop watching ONE GPU server, Grafana means: node_exporter + nvidia-dcgm-exporter on the GPU box, a Prometheus container somewhere, a Grafana dashboard server, AND opening a browser tab every time I want a glance.

The widget is dead simple instead: 3-second SSH + nvidia-smi + Cairo redraw. ~50MB RAM. No infrastructure. Always visible on my top monitor.

It looks like a slim glass panel hovering on the desktop — colored bars for GPU0-5 (five 1660 Supers + one RTX 3060), the temperature indicator going green→yellow→red as it climbs. A glance tells me everything.

Sometimes the right tool isn't the enterprise stack. It's a transparent GTK window that takes the same data you already have and puts it where your eyes are.

Full code + Cinnamon autostart config on the blog 👇

#AI #GPU #HomeLab #MultiGPU #LinuxMint

— Continue reading at https://dizydiz.com/blog/floating-gpu-widget-multi-gpu-ai.html