3 ms·
I wanted to try this but was worried that the gpu pass through wouldn’t be smooth for basic video playback. How well do YouTube and Netflix play? How smooth do
by tdiggity 6y ago
I wanted to try this but was worried that the gpu pass through wouldn’t be smooth for basic video playback. How well do YouTube and Netflix play? How smooth does it feel overall? Could someone be fooled into thinking it was a native system?
- hrrsn 6y agoIf you’re passing through an entire GPU, it feels just like a native system
- omnimus 6y agoCan i run 3 screens if the gpu has enough outputs? I mean will it work as it would if it was not vm?
- kdrag0n 6y agoYes, the VM gets the entire GPU to itself as if it were bare-metal.
- wtallis 6y agoYes. The VM guest operating system's GPU drivers are not aware of the fact that they're running in a VM, and have full transparent access to all the hardware resources of the GPU that's assigned to that VM.
- w0utert 6y agoI have another question about this. Can I also use the GPU that is passed-through to the guest from the host, once the guest is shut down? For example, say I build a linux host with IGP + powerful discrete GPU. Can I use KVM to pass the discrete GPU to Windows if I want to play a game (using the IGP for the linux desktop) but also use the discreet GPU for Linux CUDA programming after the Windows guest is shut down?
- wtallis 6y agoI think that generally works these days. When GPU passthrough first became possible, there were widespread issues with GPUs that could not be easily reset and reinitialized after VM shutdown, and GPU drivers don't like taking control of hardware that's been left in an indeterminate state.
- w0utert 6y agoI did some searching and it seems that there is indeed a way to bind/unbind the GPU from the host by writing to /proc/bus/cpu, but apparently this is (was?) not always very stable as some GPU firmwares (AMD in particular it seems) do (did?) not allow resetting the device through any firmware interfaces. If anyone knows if this is still the case and if the same holds for modern NVidia cards as well that would be great! Is GPU reset a documented/officially supported feature on NVidia/AMD these days?
- Johnnynator 6y agoYes, you GPU behaves exactly as if it was outside a VM, so multiple monitors do work.