this post was submitted on 10 Sep 2025
11 points (92.3% liked)

Selfhosted

51506 readers
273 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have successfully passed through a GPU to a full VM for gaming, but since reverted that to a standalone installation. So I know passthrough is possible/I'm capable of implementing it.

That said, I'm trying to plan out some clustering across at least three machines, two with GPUs and only one of those has any real heft. My understanding is that, with most/normal consumer hardware, there is not an option to split GPU load across multiple containers or VMs; once passthrough is set up, it is dedicated to that instance.

I am wondering, is this true even if I orchestrated spin up/down of the instance? For instance, can LXC1 have the GPU until I shut it down, then spin up LXC2 or VM3 to take over that same GPU without reconfiguring and restarting the host? IIRC configuring the passthrough suggested this wasn't possible but I'll have to experiment to be sure, or rely on Lemmy's expert opinion (-:

My assumption for now is that I just need to have a single guest per GPU (or buy a much more expensive card).

you are viewing a single comment's thread
view the rest of the comments
[–] Jakeroxs@sh.itjust.works 2 points 6 days ago* (last edited 6 days ago)

The biggest challenge I ran into is keeping the drivers in sync between the host and the LXC, since one is Deb and the other is Ubuntu, the LXC tends to want to update sooner and sometimes that can break the communication.

You edit the LXCs config in proxmox to do it, sec.

Edit: This guide would probably be better then what I did a earlier this year: https://www.virtualizationhowto.com/2025/05/how-to-enable-gpu-passthrough-to-lxc-containers-in-proxmox/