r/linuxquestions • u/loligans • 1d ago
Does Linux support hot-plugging eGPUs in 2026?
One thing I miss about Windows is how it handles hot-plugging of eGPUs. Does Linux support hot-plugging thunderbolt eGPUs?
Do any of the Desktop Window Managers recover gracefully from the action?
In the age of vibe coding, I'd be interested to know how much work would be involved with supporting this kind of functionality
5
Upvotes
2
u/SDG_Den 1d ago
yes, on wayland using PRIME offloading. the way that works is technically your iGPU is the primary GPU, and it uses PRIME to offload the actual work onto the eGPU if available.
PRIME is the same tech that makes dual-gpu laptops with the display hooked up to the iGPU work.
this means programs communicate to the iGPU, which is always available, meaning individual programs dont have to have support for offloading.
most LLM runtimes can offload without PRIME, so you could also simply set up a daemon yourself that restarts the runtime with the eGPU automatically when the eGPU is plugged in.