6.3-rc1 onboard audio pass through


Recommended Posts

Hi,

 

I have a 5.1 surround speaker connected to my computer; I was using it before unRAID with my win 10 installation. Now I went to unRAID and can't use it. Obviously the window 10 vm doesn't see it automatically.

 

I tried using the Web GUI application to add the second sound card (first one is the GTX 1080 hdmi audio, but i don't use that), called "" but i get the following error:

 

internal error: early end of file from monitor, possible problem: 2016-10-08T23:38:50.109841Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev2,bus=pci.0,addr=0x9: vfio: error, group 11 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2016-10-08T23:38:50.109893Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev2,bus=pci.0,addr=0x9: vfio: failed to get group 11
2016-10-08T23:38:50.109926Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev2,bus=pci.0,addr=0x9: Device initialization failed

 

No idea what this means or how to resolve it. I did install the initial drivers for win10 as part of the OS installation. Are there other drivers I need to install for on-board audio to work in windows?

 

I do have ACS override enabled.

 

Thanks for any and all help.

Link to comment

IOMMU groups:

 

Note: I do have ACS enabled so this isn't the default mapping.

 

/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.0
/sys/kernel/iommu_groups/2/devices/0000:00:01.1
/sys/kernel/iommu_groups/3/devices/0000:00:02.0
/sys/kernel/iommu_groups/4/devices/0000:00:14.0
/sys/kernel/iommu_groups/5/devices/0000:00:16.0
/sys/kernel/iommu_groups/6/devices/0000:00:17.0
/sys/kernel/iommu_groups/7/devices/0000:00:1b.0
/sys/kernel/iommu_groups/8/devices/0000:00:1c.0
/sys/kernel/iommu_groups/9/devices/0000:00:1c.2
/sys/kernel/iommu_groups/10/devices/0000:00:1d.0
/sys/kernel/iommu_groups/11/devices/0000:00:1f.0
/sys/kernel/iommu_groups/11/devices/0000:00:1f.2
/sys/kernel/iommu_groups/11/devices/0000:00:1f.3
/sys/kernel/iommu_groups/11/devices/0000:00:1f.4
/sys/kernel/iommu_groups/12/devices/0000:00:1f.6
/sys/kernel/iommu_groups/13/devices/0000:01:00.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.1
/sys/kernel/iommu_groups/14/devices/0000:02:00.0
/sys/kernel/iommu_groups/14/devices/0000:02:00.1
/sys/kernel/iommu_groups/15/devices/0000:03:00.0
/sys/kernel/iommu_groups/16/devices/0000:04:00.0
/sys/kernel/iommu_groups/17/devices/0000:05:00.0

 

PCI devices:

 

00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:191f] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
00:1b.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Root Port #17 [8086:a167] (rev f1)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #3 [8086:a112] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a145] (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)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:10f0] (rev a1)
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV730 XT [Radeon HD 4670] [1002:9490]
02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series] [1002:aa38]
03:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
05:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 04)

Link to comment

its not working because iommu group 11 contains these items

00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a145] (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)

 

You need to try and get this

00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)

 

i its own group. If you have acs on due to gpu passthrough then try with it off aswell but move gpu etc to differnent pcie slots too as that can change the iommu , so then with acs off maybe the audio would be in its own group?

Link to comment

Thanks for the suggestion gridrunner.

 

I tried that; I unselected "ACS" and rebooted; the device was still grouped with other devices.

 

I moved my GPUs and the raid controller around but no luck; it still had the onboard audio device grouped with other devices. With this config, I re-enabled "ACS" to see if that would move it out in its own group; again no luck it was still tied up with other devices.

 

Is there a way to force the onboard audio device into its own group? I really need to get that passed through for my windows 10 vm.

Link to comment

I'm not sure how much I'd trust a Xonar card. I don't know how it relates to Xonar DGX, but my Xonar DX has horrible crosstalk between the two front ports. Verified to be a problem of the card itself, as the crosstalk does not occur with the same case front port connected to the onboard audio.

Link to comment

I went ahead and ordered the ASUS Xonar DGX PCI-E GX2.5 Audio Engine Sound Card for my system. I hope this one works with the PCI-e pass through. I will update this thread once I get it installed and going.

 

I have only heard bad things about passing through xonar cards, but you might be lucky.

Link to comment

Is there some reason you can't use the integrated HDMI Audio on the Video Cards? Granted, that does require an audio-receiver but if you're running 5.1 or higher end setup you should have one already anyways.

 

I haven't used an audio card in over a decade, perhaps longer.

 

yeah me too havent used  a soundcard or onboard sound in years.

 

You can get a breakout box thingy that will give you optical out etc from hdmi aswell like here

https://www.amazon.co.uk/Extractor-Neoteck-Optical-Converter-Splitter-DAC/dp/B01GH4MEYC/ref=sr_1_1?ie=UTF8&qid=1476206750&sr=8-1&keywords=hdmi+to+optical+splitter

Link to comment

Is there some reason you can't use the integrated HDMI Audio on the Video Cards? Granted, that does require an audio-receiver but if you're running 5.1 or higher end setup you should have one already anyways.

 

I haven't used an audio card in over a decade, perhaps longer.

 

I have the following 5.1 system, https://www.amazon.com/gp/product/B003VAK1FA/, Logitech Z506 Surround Sound Home Theater Speaker System. The cables it came with are RCA to 3.5mm for my on-board audio. My mobo has 5.1 audio built in. My existing receiver is old and doesn't work out of the box with this.

 

Do you have any suggestions or recommendations? or should I return this 5.1 system and buy another? I did a new build and bought these as part of it.

Link to comment

Well I am on Skylake and I am not saying it is a bug but more the limitation of my processor where it isn't allowing separation of that group and hence I can't pass it through.

 

Realizing this limitation I ordered a sound card but some responded stating that the one I ordered (or at least previous generations of it) have been known to not work well hence I am seeking suggestions on what is a good sound card to use for pass-through (via PCI/PCI-e).

 

The second option was using the HDMI audio from graphics card but I need some sort of a HDMI Audio to 5.1 splitter (with ability to plug in 3.5mm cables coming from my 5.1 audio system).

Link to comment

Oh, ok. Now I follow you. So you are saying it was working before and now it isn't? well I am not sure what processor you are using as I believe that has impact as well.

 

If you have it working on a Skylake cpu than i would be very much interested in downgrading to that version.

 

I am new to unRAID so don't know much about previous versions. I started with 6.3.0-rc1. Thanks!

Link to comment

Oh, ok. Now I follow you. So you are saying it was working before and now it isn't? well I am not sure what processor you are using as I believe that has impact as well.

 

If you have it working on a Skylake cpu than i would be very much interested in downgrading to that version.

 

I am new to unRAID so don't know much about previous versions. I started with 6.3.0-rc1. Thanks!

 

See this thread:

 

http://lime-technology.com/forum/index.php?topic=51322.msg493144#msg493144

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.