jteeuw

SOLVED : passtrough soundcard VM

10 posts in this topic

Hi , I am testing 6.3.0 rc4 an trying to pass thru the (onboard)sound card but get the following error :

 

 

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

 

 

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]

unraid.PNG.16f19bbdda7577ad8e8826677caa1ceb.PNG

unraid_2.PNG.0056477fa374a33c956fa1e47dc2e011.PNG

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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)

0

Share this post


Link to post
Share on other sites

FYI - you may have better luck posting in the KVM section rather than in prerelease support.

0

Share this post


Link to post
Share on other sites

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.

 

 

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

the failsafe option is to use a USB DAC and use it with a passed through USB controller.

0

Share this post


Link to post
Share on other sites

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!

0

Share this post


Link to post
Share on other sites

I'm using Asrock x99 and passing through my soundblaster Z PCIe card with no issues. Much better than the on board realtek btw!

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

Copyright © 2005-2017 Lime Technology, Inc. unRAID® is a registered trademark of Lime Technology, Inc.