<div dir="ltr">Yes, I'm using QXL+Spice connect to VM, and also try TeamViewer.<div>Funny is, if I disable QXL and Spice, just using TeamViewer connect to VM, Windows can boot, but got black screen and mouse cursor glitches.</div><div><br></div><div>So that means I still need to find another graphic accelerated remote desktop (like RemoteFX or sth.) ? </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-08 1:20 GMT+08:00 Alex Williamson <span dir="ltr"><<a href="mailto:alex.williamson@redhat.com" target="_blank">alex.williamson@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, 2016-01-07 at 14:28 +0800, Eddie Yen wrote:<br>
> Hello, guys.<br>
><br>
> Few days ago I got Tesla K40 and try to passthrough it into VM.<br>
><br>
> Using Windows 7 as guest, and the virtual VGA is QXL.<br>
> Every installation works fine, I don't have to add kvm=off and x-vga=on.<br>
> Tested on CUDA and OpenCL, both works.<br>
><br>
> But now is a problem, how can I make 3D acceleration works on K40?<br>
> I knew that K40 didn't have any VGA output, so I got slow motion when playing video and rotate 3D models in some 3D program like Autodesk.<br>
><br>
> My guess is, K40's 3D acceleration only works at 3D rendering, it didn't work in viewing 3D models.<br>
> Does anyone have a idea?<br>
><br>
> Also I found that virtio-gpu is available since QEMU 2.5+. But not work on Windows guest yet.<br>
> Is that can make a simple graphic accleration on Windows?<br>
<br>
</div></div>How are you connecting to the VM, just the QXL display?  Rendering into<br>
the emulated graphics framebuffer is possible, but you lose most of the<br>
performance.  I've never used a Tesla personally, but with GRID, which<br>
is also a headless GPU, you'll generally want to disable the emulated<br>
graphics (happens automatically with win7) and use guest-based remote<br>
desktop solutions to access the accelerated desktop.  Minimally a vnc<br>
server running inside the guest, though that burns a lot of CPU.  There<br>
are more performant commercial solutions.<br>
<br>
virtio-gpu is a different beast.  Once we have windows drivers there<br>
you'll be able to get GPU offload from any host GPU supporting gallium,<br>
but it's not clear when that driver will come or how much that will<br>
enable games.  You certainly wouldn't have access to CUDA or PhysX or<br>
GPU specific SDKs in the guest using virtio-gpu.  Thanks,<br>
<br>
Alex<br>
</blockquote></div><br></div>