Hacker News new | ask | show | jobs
by guilhas 4 days ago
> UNSOLVED: GPU sharing with docker and VMs

Giving up because you can't solve 'cold fusion' is a common mistake, when we so focused on the problem and forget the goals

At some point is just cheaper to get a second cheaper GPU. Or use a CPU with integrated GPU

> GPU has to be bound to VFIO at boot

You can bind and unbind them at any time. There are several guides for people doing it with only 1 GPU

Just keep it simple

With an amd gpu, using virt-manager I can GPU/USB passthrough with just a few clicks and no command line needed

I also like gentoo QEMU guides https://wiki.gentoo.org/wiki/GPU_passthrough_with_virt-manag...

The other day upgrading VM Win 10 nvidia drivers got a black screen, and was able to copy it as many times to install again other versions

1 comments

Yes, I have gotten blinded with all the possibilities a server with a gpu should be able to do, on top of VM gaming. Binding and unbinding requires reboot on unraid, its great to know that its doable without it.