<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 1:26 PM, Bronek Kozicki <span dir="ltr"><<a href="mailto:brok@spamcop.net" target="_blank">brok@spamcop.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 24/02/2016 15:41, Daniel Pocock wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Hi,<br>
<br>
I'm trying to use PCI passthrough to give an NVIDIA GPU to a VM with<br>
qemu / KVM.  I've summarized my environment below and the error I get is<br>
near the bottom.  Any help would be appreciated.<br>
<br>
There are a few guides I've been referring to already:<br>
<a href="https://wiki.debian.org/VGAPassthrough" rel="noreferrer" target="_blank">https://wiki.debian.org/VGAPassthrough</a><br>
<a href="https://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/" rel="noreferrer" target="_blank">https://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/</a><br>
<a href="https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF" rel="noreferrer" target="_blank">https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF</a><br>
<a href="https://bbs.archlinux.org/viewtopic.php?id=162768" rel="noreferrer" target="_blank">https://bbs.archlinux.org/viewtopic.php?id=162768</a><br>
<a href="http://www.linux-kvm.org/page/VGA_device_assignment" rel="noreferrer" target="_blank">http://www.linux-kvm.org/page/VGA_device_assignment</a><br>
</blockquote>
<br>
<br></span>
Hi Daniel<br>
<br>
<br>
I'm successfully passing through two Quadro M5000 (to two instances of Windows 10), looking at <a href="http://us.download.nvidia.com/Windows/Quadro_Certified/361.91/361.91-win10-quadro-grid-release-notes.pdf" rel="noreferrer" target="_blank">http://us.download.nvidia.com/Windows/Quadro_Certified/361.91/361.91-win10-quadro-grid-release-notes.pdf</a> (page 9) it is not obvious that this would work for either your K420 or mine M5000. One gotcha - when starting Windows I do not see boot screen at all, only Windows logon scren after nVidia drivers had loaded. Explanation is in Alex's email sent to this list on 6th Feb 2016, subject "No boot screen on Quadro M5000?" - basically passed through Quadro cards are meant to be secondary  only (I use them as only card, though). However this small quirk aside, this works for me very well.<br></blockquote><div><br></div><div><br></div><div>Unfortunately K420 falls into the gap of unsupported and unknown between GeForce, which are clearly unsupported, but we know how to make them work, and Quardo K2000+, which are supported.  Typically Quadro cards don't work as primary like GeForce do, and the NVIDIA driver will pull a Code 43 on them, so it probably requires some combination of secondary plus hiding KVM & Hyper-v (or changing hyper-v vendor info) to make it work.  I'll note though that K420 is a GK107GL, as is the K2000, so x-pci-device-id might be an interesting experiment.  And of course, the most important guide was missed from the list, the one at <a href="http://vfio.blogspot.com">vfio.blogspot.com</a> ;)  Thanks,<br></div><div><br></div><div>Alex</div></div></div></div>