***GUIDE*** How to passthrough Intel chipset audio


Recommended Posts

On 9/8/2017 at 10:15 PM, matthope said:

Intent:

This guide will take you through the process of passing through the integrated audio of the Intel chipset. This methods is tested with a B150 chipset, but it should work with any recent chipset from Intel. I have found this process in the forum, however, my intent is to try to write an easier post to read.

 

Prerequisites:

 

  • Working VM
  • Unraid 6.3.5 / 6.4.x / 6.5.x
  • Intel CPU and Bios that supports VT-d
  • Intel Motherboard

 

Guide:

 

1. Open the Web GUI and go to Settings -> VM Manager and click on Advanced View.

 

2. Enable the PCIe ACS Override setting. (This step might not be required, i've tried with the override disabled and it looks like it working just fine)

 

3. Go to Tools -> System Devices and look for an audio device. In my case : 


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

Copy everything between [ ] , this is your device ID and you will need that for the next step.

 

3. Go to Main tab and under Boot Device, click on Flash.

 

4. Go to your Syslinux configuration and replace the append line under "label unRAID OS" with this one and then click "Apply".


append pcie_acs_override=downstream vfio-pci.ids=PUT_YOUR_DEVICE_ID_HERE modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot

      Your syslinux configuration should look like this, except maybe your device ID:


default /syslinux/menu.c32
menu title Lime Technology, Inc.
prompt 0
timeout 50
label unRAID OS
  menu default
  kernel /bzimage
  append pcie_acs_override=downstream vfio-pci.ids=8086:a170 modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot
label unRAID OS GUI Mode
  kernel /bzimage
  append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui
label unRAID OS Safe Mode (no plugins, no GUI)
  kernel /bzimage
  append pcie_acs_override=downstream initrd=/bzroot unraidsafemode
label unRAID OS GUI Safe Mode (no plugins)
  kernel /bzimage
  append pcie_acs_override=downstream initrd=/bzroot,/bzroot-gui unraidsafemode
label Memtest86+
  kernel /memtest

5. Reboot your server.

 

6. Now you should have the choice to add your Intel audio in the Sound Card selection when you're editing your VM.

 

NOTICE: 

It may require to unplug your server from the AC to make this work, also sometimes from my experience the sound card may just stop working and the only way I have found to make it work again is to shutdown the server and unplug it from the AC.

 

 

 

 

On 7/27/2018 at 8:37 PM, matthope said:

 

Good ! 

 

Sorry I didn't have the time to answer you in the first place. However, I never tested it with your hardware setup and I don't see any apparent mistake.

 

Have you tried to remove AC plug from the computer ? In some case (like mine) motherboard seems to keep the control of the audio chip even with the i2c blacklist. A power off won't work, you will need to completely remove power from your server.  

 

If you want to retry someday, I will be happy to help. 

 

On 12/1/2018 at 2:17 PM, Squid said:

There's other devices in IOMMU group #9 (diagnostics would show us which ones)

 

 

 

 

 

Hey great post. I am relatively still new to Unraid and still trying to understand things.   Below is my ACS override on grouping that contains the intel Audio.  How should I append the following to include the ACS override as well as my other device passthough (USB controllers)

 

kernel /bzimage
append vfio-pci.ids=1b73:1100, 1b21:2142, 1b73:1100, 1b21:2142, 1b73:1100, 1b73:1100 initrd=/bzroot,/bzroot-gui pcie_acs_override=downstream,multifunction nomodeset

 

IOMMU group 25:

[8086:a2d3] 00:1f.0 ISA bridge: Intel Corporation C422 Chipset LPC/eSPI Controller

[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller

[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio

[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller

Link to comment
  • 2 weeks later...
On 1/12/2019 at 8:30 PM, Aceriz said:

 

 

 

 

 

 

 

Hey great post. I am relatively still new to Unraid and still trying to understand things.   Below is my ACS override on grouping that contains the intel Audio.  How should I append the following to include the ACS override as well as my other device passthough (USB controllers)

 

kernel /bzimage
append vfio-pci.ids=1b73:1100, 1b21:2142, 1b73:1100, 1b21:2142, 1b73:1100, 1b73:1100 initrd=/bzroot,/bzroot-gui pcie_acs_override=downstream,multifunction nomodeset

 

IOMMU group 25:

[8086:a2d3] 00:1f.0 ISA bridge: Intel Corporation C422 Chipset LPC/eSPI Controller

[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller

[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio

[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller

Just figure I would Post a follow-up so that if it helps the next person.  In order to configure the syslinux file to include both this intel passthrough as well as my other passthrough what I did was the following  With first part being the passthrough of my USB controllers. and then second part being my intel audio. and it worked.   hopefully this helps someone else. 

 

kernel /bzimage
append vfio-pci.ids=1b73:1100, 1b21:2142, 1b73:1100, 1b21:2142, 1b73:1100, 1b73:1100 pcie_acs_override=downstream,multifunction vfio-pci.ids=8086:a2f0 modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot,/bzroot-gui nomodeset

 

 

Link to comment
  • 4 weeks later...

I am currently also trying to remap my onboard audio to a Windows VM, but the way you described does not seem to work in my case.

I have got an "ASRock - Z370 Professional Gaming i7" with Creative onboard Audio with an i7-8700K.

I tried PCIe ACS Override "Downsteam" and "Both"

My append line is:

append pcie_acs_override=downstream,multifunction vfio-pci.ids=8086:a2f0 modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot

And the corresponding IOMMU Group is:

IOMMU group 13:	[8086:a2c9] 00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller
		[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
		[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
		[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller

I hope anyone is able to help me with this, if it is even possible.

Thanks to everyone who can help me.

IOMMU.txt

Link to comment
10 hours ago, alexhalbi said:

I am currently also trying to remap my onboard audio to a Windows VM, but the way you described does not seem to work in my case.

I have got an "ASRock - Z370 Professional Gaming i7" with Creative onboard Audio with an i7-8700K.

I tried PCIe ACS Override "Downsteam" and "Both"

My append line is:


append pcie_acs_override=downstream,multifunction vfio-pci.ids=8086:a2f0 modprobe.blacklist=i2c_i801,i2c_smbus initrd=/bzroot

And the corresponding IOMMU Group is:


IOMMU group 13:	[8086:a2c9] 00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller
		[8086:a2a1] 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
		[8086:a2f0] 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
		[8086:a2a3] 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller

I hope anyone is able to help me with this, if it is even possible.

Thanks to everyone who can help me.

IOMMU.txt

 

Can you be more specific about your issue ? Telling me it doesn't work isn't really useful 😆 

 

Also, your append line seems to be correct, however, it might be misplaced inside your syslinux configuration. Can you send your syslinux file ?

 

  • Like 1
Link to comment

Sure,

With not working I mean I am unable to start my VM with the Soundcard attached to it. I get following error (with and without the syslinux configuration):

Execution error
internal error: process exited while connecting to monitor: 2019-02-14T08:18:27.585203Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev0,bus=pci.0,addr=0x6: vfio error: 0000:00:1f.3: group 13 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.

But I cannot add all devices in that IOMMU Group to the VM afaik.

image.png.bfa2e9ee9fe55628a8b586f21c898fa8.png

 

Right now I have a workaround running with an USB Sound Card on an USB Controller [1b21:2142] bound to my VM, but I would really like to use the onboard Audio since it is surely better. I also added this to the syslinux file and it works fine.

 

BTW: Is it normal, that the PCI Device to add to the VM does not show up (in the selection thing in the vm options in the screenshot above) after adding the vfio-pci.ids statement to the syslinux file and rebooting? Or is that an unraid bug? After I added it manually in the xml file it is now showing up...

 

syslinux file.txt

vm_config.xml

Link to comment
On 2/14/2019 at 3:22 AM, alexhalbi said:

Sure,

With not working I mean I am unable to start my VM with the Soundcard attached to it. I get following error (with and without the syslinux configuration):


Execution error
internal error: process exited while connecting to monitor: 2019-02-14T08:18:27.585203Z qemu-system-x86_64: -device vfio-pci,host=00:1f.3,id=hostdev0,bus=pci.0,addr=0x6: vfio error: 0000:00:1f.3: group 13 is not viable Please ensure all devices within the iommu_group are bound to their vfio bus driver.

But I cannot add all devices in that IOMMU Group to the VM afaik.

image.png.bfa2e9ee9fe55628a8b586f21c898fa8.png

 

Right now I have a workaround running with an USB Sound Card on an USB Controller [1b21:2142] bound to my VM, but I would really like to use the onboard Audio since it is surely better. I also added this to the syslinux file and it works fine.

 

BTW: Is it normal, that the PCI Device to add to the VM does not show up (in the selection thing in the vm options in the screenshot above) after adding the vfio-pci.ids statement to the syslinux file and rebooting? Or is that an unraid bug? After I added it manually in the xml file it is now showing up...

 

syslinux file.txt

vm_config.xml

 

Well that ain't a good error. Sadly, you cannot fix this. The solution would be to continue to use a USB sound card or to add a PCI sound card. 

 

For the USB controller, on my side, after stubbing it in the syslinux, it automatically appeared in the VM config.

Edited by matthope
  • Like 1
Link to comment
  • 1 month later...
28 minutes ago, comet424 said:

hi I tried  the setup  of the ACS OverRide.. I set it to Both  as it didn't say which one to set it in the instructions

but I can not get it to work  to get the Audio device to show up

Can you send a picture with the IOMMU groups?  You cropped out this information in the last picture. Also sometimes you need to add it directly in VM XML instead of using the VM GUI, it should look like this: 

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1f' function='0x3'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>

Finally make sure to remove the AC power when resetting, some motherboard need to be completely shut off. 

Edited by matthope
Link to comment
2 minutes ago, comet424 said:

got it enabled..

 

I checked settings of the vm  nothing there for pci    and currently watching that video

unraidaudio4.JPG

 

Try adding it manually. Paste this code between inside the <devices></devices> bracket.

   <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>

 

Link to comment
<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Windows 10</name>
  <uuid>d720775d-2509-7680-4980-0e8f218a5283</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='4'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='5'/>
    <vcpupin vcpu='4' cpuset='2'/>
    <vcpupin vcpu='5' cpuset='6'/>
    <vcpupin vcpu='6' cpuset='3'/>
    <vcpupin vcpu='7' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/d720775d-2509-7680-4980-0e8f218a5283_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='2'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
       <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows 10/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/Windows10 ISO.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/virtio-win-0.1.141-1.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:26:c6:79'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

Link to comment
41 minutes ago, comet424 said:

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Windows 10</name>
  <uuid>d720775d-2509-7680-4980-0e8f218a5283</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='4'/>
    <vcpupin vcpu='2' cpuset='1'/>
    <vcpupin vcpu='3' cpuset='5'/>
    <vcpupin vcpu='4' cpuset='2'/>
    <vcpupin vcpu='5' cpuset='6'/>
    <vcpupin vcpu='6' cpuset='3'/>
    <vcpupin vcpu='7' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/d720775d-2509-7680-4980-0e8f218a5283_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='4' threads='2'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
       <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows 10/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/Windows10 ISO.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/virtio-win-0.1.141-1.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:26:c6:79'/>
      <source bridge='br0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

 

Change this line :

  <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>

For this one :

  <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>

 Or whatever slot number that you are not currently using, it doesn't matter.

Link to comment
1 minute ago, comet424 said:

ok I set to 8  and saved and then hit edit.. nothing in the PCI

and how come I don't get a list of USB options etc it shows from spaceinvaders list

 

and I have no idea what slot im using I only use 1 slot in the computer for a LSI raid card

 

I don't know either why you cannot see it through the GUI, but since you've added it manually, the VM should recognize it. What happens when you launch the VM? No error message?

Link to comment

ok I launched it  I see it there haven't tested it to work 

as I wanna try if this work on my win2016 server vm

 

but I have question I go the xml  edit of the windows 10 as you see above.. after I save it  or I guess run it or so  it deletes that input you told me to add... where did it go  where I inserted  it 

 

 

so I gonna try to do that on my other vm  of server 2016 if that does it...

this vm stuff and unraid stuff still boggles my mind at times least you guys experts 

 

 

Link to comment

soo I took pic of Windows 10vm and Windows 2016 server

win10 shows spdif  but shouldn't it be labled like Realtek digital output

and under windows server shows remote audio

 

is that how its supposed to look  

I gonna add cable to the back of the board for the speaker output to see if it works  as I trying to run the Radio streaming through a VM to my speakers

 

unraidaudio9.JPG

unraidaudio10.JPG

Link to comment

so how do you edit the xml without the gui  then  since I clicked update 

 

but I may miss read what your saying it sounds.. when you edit in GUI mode it will overwrite the xml   but that's what I want to over write it

 

sorry my dyslexia gets best of me..

 

so if im guessing if I reboot the comp  it will be lost then    

 

going to test it

 

Link to comment
1 minute ago, comet424 said:

soo I took pic of Windows 10vm and Windows 2016 server

win10 shows spdif  but shouldn't it be labled like Realtek digital output

and under windows server shows remote audio

 

is that how its supposed to look  

I gonna add cable to the back of the board for the speaker output to see if it works  as I trying to run the Radio streaming through a VM to my speakers

 

 

Have you installed the sound card driver? By default windows will provide a generic driver. It is also possible that there is some magical VM voodo going on.

Link to comment

no all I did was what you told me to do edit the slot 8  whatever that really means  and then  I logged into the vm…  I just let windows do its thing  

 

I just rebooted unraid waiting for it to come backup to see what happens

 

ya voodoo  I still learning this... last year was the first time I ever heard of it …  so im very new to this even though almost a year at this  ive always been used to 1 OS 1 computer   not this virtual machines  which is cool.  hell last year first time I ever tried a SSD  love these sata SSDs frig lol

 

Link to comment

 

5 minutes ago, comet424 said:

so how do you edit the xml without the gui  then  since I clicked update 

 

but I may miss read what your saying it sounds.. when you edit in GUI mode it will overwrite the xml   but that's what I want to over write it

 

sorry my dyslexia gets best of me..

 

so if im guessing if I reboot the comp  it will be lost then    

 

going to test it

 

 

What I mean is once you have edited the VM configuration in the XML view, you cannot edit the VM with the form view (look at the slider in the top right). Doing so will erase any modification done in the XML. However, rebooting the server or the VM should not change the settings.

 

2 minutes ago, comet424 said:

no all I did was what you told me to do edit the slot 8  whatever that really means  and then  I logged into the vm…  I just let windows do its thing  

 

I just rebooted unraid waiting for it to come backup to see what happens

 

ya voodoo  I still learning this... last year was the first time I ever heard of it …  so im very new to this even though almost a year at this  ive always been used to 1 OS 1 computer   not this virtual machines  which is cool.  hell last year first time I ever tried a SSD  love these sata SSDs frig lol

 

 

If the audio is working then don't bother to install the sound driver. Seeing the device in the peripheral manager is a good sign, it should work.

 

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.