r/linuxquestions • • 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

3 comments sorted by

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.

1

u/loligans 1d ago

Thank you! I'm thinking either for gaming with steam games or passthrough to VM running Windows and then connecting using Looking Glass also for gaming

1

u/SDG_Den 1d ago

honestly nowadays theres no real reason to do a VM for gaming anymore.

the only games that dont work on linux via proton are games that use EG kernel level anticheat or similar, or that explicitly refuse to run on linux like destiny 2.

these same games will 95% of the time also refuse to run in a VM for the same reasons, for them, your best choice is dual-booting. for which you should select a distro that has support for that and can do secureboot and such.