3 ms·
Not really pass through, no. If CONFIG_DRM_I915_GVT is enabled in your kernel, you can use Intel's graphics virtualization system... basically a virtio style vi
by ohthehugemanate 5y ago
Not really pass through, no. If CONFIG_DRM_I915_GVT is enabled in your kernel, you can use Intel's graphics virtualization system... basically a virtio style virtual device that shares the GPU between VM and host. IMO this is way more convenient than real passthrough, where the device is only available either to the VM or the host. The downside is that you don't get full performance in the VM.
"Intel GVT-g is a full GPU virtualization solution with mediated pass-through (VFIO mediated device framework based), starting from 5th generation Intel Core(TM) processors with Intel Graphics processors. GVT-g supports both Xen and KVM (a.k.a XenGT & a.k.a KVMGT). A virtual GPU instance is maintained for each VM, with part of performance critical resources directly assigned. The capability of running native graphics driver inside a VM, without hypervisor intervention in performance critical paths, achieves a good balance among performance, feature, and sharing capability."
https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide
- broknbottle 5y agoGvt-g is pretty much dead. New hardware e.g. Tiger Lake with Xe isn’t supported and it’s my understanding that Intel has no plans to support. See the following link for supported devices. https://github.com/torvalds/linux/blob/bbf5c979011a099af5dc76498918ed7df445635b/drivers/gpu/drm/i915/intel_gvt.c#L43-L59 https://github.com/torvalds/linux/blob/bbf5c979011a099af5dc7...
- gbba 5y agoNew Intel hardware supports SR-IOV, the successor to GVT-g, but unfortunately driver support is apparently missing for Linux: https://www.reddit.com/r/VFIO/comments/o7l2zr/sriov_on_intel_xe_graphics/ https://www.reddit.com/r/VFIO/comments/o7l2zr/sriov_on_intel...
- my123 5y agoWe are more than 2 years past the launch of Ice Lake now… so…
- ohthehugemanate 5y agooh wow, I had no idea. Seems a shame... Are they offering anything to replace it? Or is it GVT-d or bust?