<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Oct 23, 2015 at 9:27 AM, ALG Bass <span dir="ltr"><<a href="mailto:olorin12@gmail.com" target="_blank">olorin12@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="http://phoronix.com/scan.php?page=news_item&px=VirtIO-VirGL-3D-In-Mesa" target="_blank">http://phoronix.com/scan.php?page=news_item&px=VirtIO-VirGL-3D-In-Mesa</a><br><br>Saw this story on Phoronix. How close is this to what we are doing here with vga passthrough?</div></blockquote><div><br></div><div>Virtio GPU is to direct assigned GPU as virtio net is to direct assigned NIC.  Yes, it will add 3D support to the guest with offload to hardware as well as multiplexing a single GPU to multiple VMs.  It's going to be a really nice feature.  Is it the holy grail?  Only to the same extent that virtio net is to networking.  It's going to require paravirtualized drivers in the guest, those will come quickly for Linux, likely less so for Windows.  Gaming compatibility with those drivers (DX10/11/??) is currently unknown I expect.  There's also a certain amount of overhead, commands to the GPU use a common intermediate format, which like virtio-net limit the peak performance.  I'm sure there are going to be games for which this is more than sufficient and for VDI solutions, it's hopefully exactly what they need.  However, for peak performance, just like for peak networking, direct assignment is going to be the benchmark.</div><div><br></div><div>There's also work underway that allow more direct access to the GPU, and native guest drivers, while still allowing it to be split between VMs.  This is what both NVIDIA vGPU and Intel GT (KVM-GT) technology is meant to do.  These will hopefully both offer very near the performance of direct assignment and the native drivers in the guest, while offering the option to share the device among VMs.</div><div><br></div><div>In the next few years, we could see some really interesting VM graphics capabilities.</div><div><br></div><div><br></div></div></div></div>