<div dir="ltr"><div>AMD drivers dont like the GPU to be connected directly.<br>AMD GPUs should be connected through pcie-root-port like this:<br><br>    <controller type='pci' index='1' model='pcie-root-port'><br>      <model name='ioh3420'/><br>      <target chassis='1' port='0x1'/><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/><br>    </controller><br>    <hostdev mode='subsystem' type='pci' managed='yes'><br>      <driver name='vfio'/><br>      <source><br>        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/><br>      </source><br>      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/><br>    </hostdev><br>    <hostdev mode='subsystem' type='pci' managed='yes'><br>      <driver name='vfio'/><br>      <source><br>        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/><br>      </source><br>      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/><br>    </hostdev><br><br></div>Some old drivers do work without the pcie-root-port<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 16, 2017 at 3:28 PM, Elias Kosunen <span dir="ltr"><<a href="mailto:elias.kosunen@gmail.com" target="_blank">elias.kosunen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">XML dump: <a href="https://pastebin.com/MFdqSV1F" rel="noreferrer" target="_blank">https://pastebin.com/MFdqSV1F</a><br>
I haven't touched it by hand at all, it's all generated by virt-manager.<br>
<br>
I installed Windows and booted into it. Here's a screengrab of the Windows Device Manager: <a href="http://imgur.com/crC1lsd" rel="noreferrer" target="_blank">http://imgur.com/crC1lsd</a> I was able to install the drivers for the first one ("Microsoft Basic Display Adapter") and after the installation its name changed to "MSI AMD R9 380" and its errors went away. For the others, it couldn't automatically find the drivers.<br>
<br>
For the "HID Button over Interrupt Driver", the status message was:<br>
  This device is not working properly because Windows cannot load the drivers required for this device (Code 31)<br>
  Object Name not found.<br>
<br>
And for the others it was the same:<br>
  The drivers for this device are not installed. (Code 28)<br>
<br>
According to Windows, the "PCI Device" is attached to PCI slot 10, "PCI Simple Communications Controller" to slot 7 and "Video Controller" to slot 12. Unfortunately, I was unable to figure out which devices these refer to.<span class="im HOEnZb"><br>
<br>
<br>
On 04/16/2017 02:49 PM, Marius Steffen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Could you please attach your virtual machine's config XML (output of 'sudo virsh dumpxml <your_machine_name>')?<br>
Also, Graphical Console is not available because you removed the QXL controller and SPICE server. Please try reattaching them (SPICE, Tablet, set video controller type to QXL) and keep your GPU attached.<br>
Start into Windows 10 (you should be able to use the Graphical Console in virt-manager now) and tell us/take a screenshot of Windows' device manager, and possible errors it's showing regarding your GPU.<br>
</blockquote>
<br></span><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/vfio-users</a><br>
</div></div></blockquote></div><br></div>