4 ms·
> If you are on a desktop, discrete GPUs can be dedicated to a VM via VT-d, which enables 3D graphics with near-native performance. Well this is the theory. Yo
by jmnicolas 11y ago
> If you are on a desktop, discrete GPUs can be dedicated to a VM via VT-d, which enables 3D graphics with near-native performance.
Well this is the theory. You'd better be a Unix guru if you want to make it work, they have some questions about it on their Google group and it looks shaky.
It widens the attack surface too.
- transpute 11y agoXen GPU passthrough works if the GPU vendor supports VT-d passthrough. Many AMD discrete GPUs work in this configuration, from low end to high end versions. Nvidia high end models may work, but low end models are unlikely to work. Yes, the attack surface is widened to include the GPU, with isolation theoretically provided by the VT-d IOMMU. Some recent Intel CPUs support hardware virtualization of the integrated GPU, which likely further widens the attack surface, but enables multiple VMs to have hardware-accelerated graphics. This supports KVM and Xen, but is not (yet?) supported by Qubes, https://01.org/igvt-g/blogs/wangbo85/2015/intel-gvt-g-xengt-public-release-q32015 https://01.org/igvt-g/blogs/wangbo85/2015/intel-gvt-g-xengt-.... If the guest workload is OpenGL, http://www.virtualgl.org/About/Introduction http://www.virtualgl.org/About/Introduction could be an alternative.
- creshal 11y agoIt "works", but have you ever deployed that in production? Kernel updates frequently break it, and the setups tends to be extremely flimsy.