Author Topic: SOLVED : passtrough soundcard VM  (Read 442 times)

Offline jteeuw

  • Member
  • **
  • Posts: 42
SOLVED : passtrough soundcard VM
« on: November 18, 2016, 02:34:26 AM »
Hi , I am testing 6.3.0 rc4 an trying to pass thru the (onboard)sound card but get the following error :


Code: [Select]
internal error: process exited while connecting to monitor: 2016-11-18T10:28:18.793297Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev0,bus=pci.0,addr=0x8: vfio: error, group 10 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2016-11-18T10:28:18.793321Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev0,bus=pci.0,addr=0x8: vfio: failed to get group 10
2016-11-18T10:28:18.793333Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev0,bus=pci.0,addr=0x8: Device initialization failed


Code: [Select]
IOMMU group 0
00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:190f] (rev 07)
IOMMU group 1
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
IOMMU group 2
00:08.0 System peripheral [0880]: Intel Corporation Skylake Gaussian Mixture Model [8086:1911]
IOMMU group 3
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
IOMMU group 4
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 [8086:a160] (rev 31)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 [8086:a161] (rev 31)
IOMMU group 5
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
IOMMU group 6
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
IOMMU group 7
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1)
IOMMU group 8
00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #6 [8086:a115] (rev f1)
IOMMU group 9
00:1e.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Serial IO UART #0 [8086:a127] (rev 31)
IOMMU group 10
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a148] (rev 31)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
IOMMU group 11
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
IOMMU group 12
02:00.0 Multimedia controller [0480]: TBS Technologies DVB-S2 4 Tuner PCIe Card [544d:6178]

« Last Edit: January 09, 2017, 11:59:04 PM by jteeuw »

Offline billington.mark

  • Full Member
  • ***
  • Posts: 247
Re: passtrough soundcard VM
« Reply #1 on: November 18, 2016, 03:58:57 AM »
You wont be able to pass that through when there are other things in the same IOMMU group.

If youve not enabled PCIe ACS Override in Tools>VM settings, give that a try and see if it gets its own IOMMU group. If not, you'll not be able to pass it through to a VM.
You'll need a seperate PCIe sound card (choose carefully, Some dont play nice). Or if you pass through a PCIe USB card, use a USB DAC instead connected to a port on there instead.
Version:  v6.3 RC3 Pro
Case:  Corsair 900d
Motherboard: AsRock Rack EP2C602-4L/D16
Processor:  2x Xeon 2670
Memory:  32GB PC10600R
Parity/Data:  2TB/9.25TB

Offline jteeuw

  • Member
  • **
  • Posts: 42
Re: passtrough soundcard VM
« Reply #2 on: November 18, 2016, 04:35:13 AM »
I  enabled the PCIe ACS Override setting , but the soundcard is still in IOMMU group 10, does anybody have some advice for a sound card ( USB od Pci-e)

Offline Bungy

  • Community Developer
  • Sr. Member
  • *****
  • Posts: 301
Re: passtrough soundcard VM
« Reply #3 on: November 18, 2016, 09:32:45 AM »
FYI - you may have better luck posting in the KVM section rather than in prerelease support.

Offline ned.stark

  • Member
  • **
  • Posts: 48
Re: passtrough soundcard VM
« Reply #4 on: January 09, 2017, 07:20:56 AM »
I had the same issue; you won't be able to pass-through the sound card that is grouped with other devices. You will either have to invest in a separate sound card or use HDMI audio from your graphics card. You could post in other forums but I do not believe you will get anywhere.

If you do go the route of a separate sound card, please double check your motherboards specifications on how the PCI (PCI/PCI-e) lanes are configured because it will bundle the sound card with another group which has another PCI device in it depending on that configuration and depending on your device assignment to VM(s) that might not be the solution. This happened to me and hence stopped me from being able to use an external sound card. My mobo is an Azuz z710-a.


Offline jteeuw

  • Member
  • **
  • Posts: 42
Re: passtrough soundcard VM
« Reply #5 on: January 09, 2017, 11:58:02 PM »
I have bought a Asus Xonar ( C-Media Electronics Inc CMI8788 [Oxygen HD Audio] | Multimedia audio controller ) and everthing is working :-)
My mobo is an B150M-BAZOOKA.

Offline billington.mark

  • Full Member
  • ***
  • Posts: 247
Re: SOLVED : passtrough soundcard VM
« Reply #6 on: January 10, 2017, 05:42:21 AM »
the failsafe option is to use a USB DAC and use it with a passed through USB controller.
Version:  v6.3 RC3 Pro
Case:  Corsair 900d
Motherboard: AsRock Rack EP2C602-4L/D16
Processor:  2x Xeon 2670
Memory:  32GB PC10600R
Parity/Data:  2TB/9.25TB

Offline saarg

  • Community Developer
  • Hero Member
  • *****
  • Posts: 1900
Re: passtrough soundcard VM
« Reply #7 on: January 10, 2017, 06:36:28 AM »
I have bought a Asus Xonar ( C-Media Electronics Inc CMI8788 [Oxygen HD Audio] | Multimedia audio controller ) and everthing is working :-)
My mobo is an B150M-BAZOOKA.

That is the first successful audio card pass through I have seen!

Offline mikeyosm

  • Full Member
  • ***
  • Posts: 195
Re: SOLVED : passtrough soundcard VM
« Reply #8 on: January 12, 2017, 02:07:51 AM »
I'm using Asrock x99 and passing through my soundblaster Z PCIe card with no issues. Much better than the on board realtek btw!

Offline GHunter

  • Full Member
  • ***
  • Posts: 200
Re: passtrough soundcard VM
« Reply #9 on: January 12, 2017, 04:56:42 AM »
I have bought a Asus Xonar ( C-Media Electronics Inc CMI8788 [Oxygen HD Audio] | Multimedia audio controller ) and everthing is working :-)
My mobo is an B150M-BAZOOKA.

That is the first successful audio card pass through I have seen!

Yeah, a lot of people have had trouble passing through this card and I'm glad to hear it worked for you. Might be because of the updated QEMU and libvirt versions in the 6.3 RC series as I think most have tried on 6.2.4 and earlier versions of unRaid.

Gary
unRAID Pro: 6.2.1 | KVM VM'S: 1 @ Windows 8.1, 2 @ Windows 10 Pro | FLASH: Patriot Supersonic Boost XT 8GB USB3 | CPU: Intel i7-4790 Haswell 3.6GHz | MOBO: ASRock Z97 Extreme4 | MEMORY: G.SKILL Ripjaws X Series 16GB (2 x 8GB) DDR3 1600 | HBA: Supermicro AOC-SASLP-MV8 PCI-E x4, Syba SY-PEX40039 PCI-E x1 SATA 3 | GPU: Intel HD Graphics 4600  | GPU for Pass-Through: EVGA GTX 750 Ti Superclocked | PSU: Corsair TX750 V2 750W | CASE: Rosewill RSV-L4500 4U 15 bay | CACHE DRIVE: Samsung 840 EVO 1TB SSD | PARITY DRIVES 1 & 2: Seagate Barracuda 7200.14 3TB 7200 RPM | DATA DRIVES: 6 @ Seagate Barracuda 7200.14 3TB, 3 @ Western Digital Green WD20EARS 2TB