<div dir="ltr"><div>Hi,</div><div><br></div><div>I have a Windows 10 VM up and running with GPU Passthrought and i would like to passthrought my Creative X-Fi XtremeGamer sound card into the VM cuz I want to use ASIO in Windows.<br></div><div>I have the Realtek Onboard Audio for Linux.</div><div><br></div><div><b><u>using lspci -nnk :</u></b></div><div>_________________________________________________________________________________________________________________</div><div><br></div><div>00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)</div><div><span class="" style="white-space:pre">   </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: hsw_uncore</div><div>00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)</div><div><span class="" style="white-space:pre"> </span>Kernel driver in use: pcieport</div><div><span class="" style="white-space:pre">     </span>Kernel modules: shpchp</div><div>00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)</div><div><span class="" style="white-space:pre">        </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: i915</div><div><span class="" style="white-space:pre"> </span>Kernel modules: i915</div><div>00:14.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB xHCI Controller [8086:8cb1]</div><div><span class="" style="white-space:pre">        </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: xhci_hcd</div><div><span class="" style="white-space:pre">     </span>Kernel modules: xhci_pci</div><div>00:16.0 Communication controller [0780]: Intel Corporation 9 Series Chipset Family ME Interface #1 [8086:8cba]</div><div><span class="" style="white-space:pre">      </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: mei_me</div><div><span class="" style="white-space:pre">       </span>Kernel modules: mei_me</div><div>00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I218-V [8086:15a1]</div><div><span class="" style="white-space:pre">      </span>Subsystem: ASUSTeK Computer Inc. Device [1043:85c4]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: e1000e</div><div><span class="" style="white-space:pre">       </span>Kernel modules: e1000e</div><div>00:1a.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 [8086:8cad]</div><div><span class="" style="white-space:pre">   </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: ehci-pci</div><div><span class="" style="white-space:pre">     </span>Kernel modules: ehci_pci</div><div>00:1b.0 Audio device [0403]: Intel Corporation 9 Series Chipset Family HD Audio Controller [8086:8ca0]</div><div><span class="" style="white-space:pre">      </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8653]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: snd_hda_intel</div><div><span class="" style="white-space:pre">        </span>Kernel modules: snd_hda_intel</div><div>00:1c.0 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 [8086:8c90] (rev d0)</div><div><span class="" style="white-space:pre">      </span>Kernel driver in use: pcieport</div><div><span class="" style="white-space:pre">     </span>Kernel modules: shpchp</div><div>00:1c.3 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev d0)</div><div>00:1d.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 [8086:8ca6]</div><div><span class="" style="white-space:pre">  </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: ehci-pci</div><div><span class="" style="white-space:pre">     </span>Kernel modules: ehci_pci</div><div>00:1f.0 ISA bridge [0601]: Intel Corporation 9 Series Chipset Family Z97 LPC Controller [8086:8cc4]</div><div><span class="" style="white-space:pre"> </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: lpc_ich</div><div><span class="" style="white-space:pre">      </span>Kernel modules: lpc_ich</div><div>00:1f.2 SATA controller [0106]: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] [8086:8c82]</div><div><span class="" style="white-space:pre">    </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: ahci</div><div><span class="" style="white-space:pre"> </span>Kernel modules: ahci</div><div>00:1f.3 SMBus [0c05]: Intel Corporation 9 Series Chipset Family SMBus Controller [8086:8ca2]</div><div><span class="" style="white-space:pre">    </span>Subsystem: ASUSTeK Computer Inc. Device [1043:8534]</div><div><span class="" style="white-space:pre">        </span>Kernel modules: i2c_i801</div><div>01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)</div><div><span class="" style="white-space:pre">   </span>Subsystem: ZOTAC International (MCO) Ltd. Device [19da:1366]</div><div><span class="" style="white-space:pre">       </span>Kernel driver in use: vfio-pci</div><div><span class="" style="white-space:pre">     </span>Kernel modules: nouveau</div><div>01:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)</div><div><span class="" style="white-space:pre">  </span>Subsystem: ZOTAC International (MCO) Ltd. Device [19da:1366]</div><div><span class="" style="white-space:pre">       </span>Kernel driver in use: vfio-pci</div><div><span class="" style="white-space:pre">     </span>Kernel modules: snd_hda_intel</div><div>03:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 04)</div><div>04:01.0 Multimedia audio controller [0401]: Creative Labs SB X-Fi [1102:0005]</div><div><span class="" style="white-space:pre">    </span>Subsystem: Creative Labs Device [1102:0031]</div><div><span class="" style="white-space:pre">        </span>Kernel driver in use: vfio-pci</div><div><span class="" style="white-space:pre">     </span>Kernel modules: snd_ctxfi</div><div>_________________________________________________________________________________________________________________<br></div><div><br></div><div>So my sound card now use the vfio-pci driver but when I start the VM, it makes bips, cliky and white noise sounds randomly.</div><div>When I move a space on terminator on the host and the VM is running, it make white noise. Sounds weird.</div><div><br></div><div><b><u>vfio-bind systemd service :</u></b><br></div><div><br></div><div>_________________________________________________________________________________________________________________<br></div><div><br></div><div>[Unit]</div><div>Description=Binds devices to vfio-pci</div><div>After=syslog.target</div><div><br></div><div>[Service]</div><div>Type=oneshot</div><div>RemainAfterExit=yes</div><div>ExecStart=-/usr/bin/vfio-bind 0000:01:00.0 0000:01:00.1 0000:04:01.0</div><div><br></div><div>[Install]</div><div>WantedBy=multi-user.target</div><div>_________________________________________________________________________________________________________________<br></div><div><br></div><div><b><u><br></u></b></div><div><b><u>GRUB Config :</u></b></div><div><br></div><div>_________________________________________________________________________________________________________________</div><div><br></div><div>GRUB_DEFAULT=0</div><div>GRUB_TIMEOUT=5</div><div>GRUB_DISTRIBUTOR="Arch"</div><div>GRUB_CMDLINE_LINUX_DEFAULT="quiet pcie_acs_override=downstream intel_iommu=on pci-stub.ids=10de:13c2,10de:0fbb,1102:0005"</div><div>GRUB_CMDLINE_LINUX=""</div><div>_________________________________________________________________________________________________________________<br></div><div><br></div><div>Windows detects the card, I installed the official drivers, Device Manager says it works correctly...</div><div><br></div><div>So my question is :</div><div><br></div><div>Do I need to passthrought  ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge ? I tried it but nothin...</div><div>Can we Passthrought PCI Cards and do I need to Passthrought something else ?</div><div>Or it is just a bug with this card ?</div><div><br></div><div>Thanks for answers.</div><div><br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><span style="background-color:rgb(7,55,99)"><b><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(7,55,99)"><span style="background-color:rgb(255,255,255)">Sebastien Mercier</span></span></span></b><b><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(7,55,99)"><span style="background-color:rgb(255,255,255)"><br><br></span></span></span></b><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(7,55,99)"><span style="background-color:rgb(255,255,255)"><b>Mail </b>: <a href="mailto:pro.sebastienmercier@gmail.com" target="_blank">pro.sebastienmercier@gmail.com</a></span></span></span></span></div></div><span style="background-color:rgb(7,55,99)"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(7,55,99)"><span style="background-color:rgb(255,255,255)"></span></span></span></span><div><span style="background-color:rgb(7,55,99)"><i><span style="font-family:arial,helvetica,sans-serif"><span style="background-color:rgb(32,18,77)"><span></span></span></span></i></span></div></div></div>
</div></div>