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


Recommended Posts

so there is some voodoo

 

I rebooted

 

I logged into Server 2016 and audio option gone

I tried to start Win10vm  wasn't able to said a conflict

I stopped Server 2016  and was able to start Win10VM and the audio I showed is there

neither xml shows  the thing..  im thinking the true XML file hase that added stuff I added... but GUI doesn't display it all

 

either way here is the error I get 

damn this voodoo lol

 

unraidaudio11.JPG

Link to comment

ah ok  and form view xml view  I set it to  xml view 

that's how I edited it

 

but maybe you mean FormView overwrites XML Edit

 

either way Server 2016 lost its audio  but the Win 10 was able to keep it .. so I going to test least on the windows 10  but was hoping ti stay on win2016

 

Link to comment
5 minutes ago, comet424 said:

so there is some voodoo

 

I rebooted

 

I logged into Server 2016 and audio option gone

I tried to start Win10vm  wasn't able to said a conflict

I stopped Server 2016  and was able to start Win10VM and the audio I showed is there

neither xml shows  the thing..  im thinking the true XML file hase that added stuff I added... but GUI doesn't display it all

 

either way here is the error I get 

damn this voodoo lol

 

 

 

You can only use the audio device with 1 VM at the time. The configuration seems to be working. Also, when playing with embedded motherboard device, sometimes it require to remove the power completely (remove the AC Plug). 

 

1 minute ago, comet424 said:

ah ok  and form view xml view  I set it to  xml view 

that's how I edited it

 

but maybe you mean FormView overwrites XML Edit

 

either way Server 2016 lost its audio  but the Win 10 was able to keep it .. so I going to test least on the windows 10  but was hoping ti stay on win2016

 

 

Exactly, Form View overwrite XML edit.

 

1 minute ago, comet424 said:

actually how do I fix this now lol  

to get windows 2016 server and windows 10vm to run same time

 

how do I remove the audio  from the windows 2016  since I get that error now I cant really test lol ugh

 

 

If you want to run both of them at the same time, you need the remove the audio card in one of the XML. 

 

Link to comment

well I wanted to run it on windows 2016 server

ok I guess that's a glitch  FormView overwrites XML view when you don't do anything

and I cant edit the XML  remember I mentioned

when in XML view mode I edited it  what you told me to add...  Click Save  and ran VMs and they worked

but the XML view when you go back that input is gone  

I just tried reputting in and I get duplicated error..  so I cant even remove it..

its like XML View knows that input is there but wont show it.. or let me remove it or anything

so now im stuck cant remove it 

  <devices>
        <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='0x08' function='0x0'/>
    </hostdev>

 

unraidaudio12.JPG

Link to comment
1 minute ago, comet424 said:

well I wanted to run it on windows 2016 server

ok I guess that's a glitch  FormView overwrites XML view when you don't do anything

and I cant edit the XML  remember I mentioned

when in XML view mode I edited it  what you told me to add...  Click Save  and ran VMs and they worked

but the XML view when you go back that input is gone  

I just tried reputting in and I get duplicated error..  so I cant even remove it..

its like XML View knows that input is there but wont show it.. or let me remove it or anything

so now im stuck cant remove it 

 

 

 

First of all it is very weird that thoses XML doesn't appears. However, if you edit something with the form view (try changing the USB setting) and save it. This will overwrite any XML modification. This should reset the XML to the base configuration. You should also try to do a power cycle after this modification. (remove the power plug)

 

Link to comment

nope its fk'd now lol frig

so  shut down  pulled the plug

started it back up Win2016 starts  and then I tried to start win10  nope  so I went into edit and chckeed off to use USB APC  and click save

and re tried to run VMwin10  nope still duplicate it saying

 

so now I cnat run both lol and it is saving it somewhere   ill repost the xml    as I just rebooted  

Link to comment

Windows 10VM

<?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>
    <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>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x051d'/>
        <product id='0x0002'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
</domain>

 

Windows 2016 Server VM

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Windows Server 20162</name>
  <uuid>bbb8584b-4746-d74f-32da-14e482fd89b5</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows Server 2016" icon="windows.png" os="windows2016"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='2'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
  </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='1' 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>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows Server 20162/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/SVR2016.ENU.APR2017.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:bf:d8:95'/>
      <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>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

both have that  code you had me enter in  between the <devices></devices> as I add it right afther <devices>  above <emulator>  but you see its not there but the Wins 10 sees it still as the Audio is in there  but Win2016 has lost it.. no audio   yet  both seem to still record it as they both have it  as its conflicting

 

so its written somewhere else then????  another xml file  or do I re edit the boot file from the orginal setting when you click FLASH under main and edit the append option

Link to comment
4 minutes ago, comet424 said:

Windows 10VM


<?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>
    <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>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x051d'/>
        <product id='0x0002'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
</domain>

 

Windows 2016 Server VM


<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Windows Server 20162</name>
  <uuid>bbb8584b-4746-d74f-32da-14e482fd89b5</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows Server 2016" icon="windows.png" os="windows2016"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='2'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
  </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='1' 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>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows Server 20162/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/SVR2016.ENU.APR2017.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:bf:d8:95'/>
      <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>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

both have that  code you had me enter in  between the <devices></devices> as I add it right afther <devices>  above <emulator>  but you see its not there but the Wins 10 sees it still as the Audio is in there  but Win2016 has lost it.. no audio   yet  both seem to still record it as they both have it  as its conflicting

 

so its written somewhere else then????  another xml file  or do I re edit the boot file from the orginal setting when you click FLASH under main and edit the append option

 

The code lines are present, look at the end of the device section. Remove the hostdev completely from one of the VM.

 

1 minute ago, comet424 said:

I turned off the pci ACS override  going to see if that helps???

 

No, don't do that.

 

Link to comment

ok so ya this is confusing..  1   already turned off the ACS override off.. and seems to be ok with it disabled

Win10VM   doesn't have those lines where did it go????

I edited windows 2016 and removed the lines from the bottom   so I can run both

 

but this is confusing I tell ya

 

Link to comment
2 minutes ago, comet424 said:

ok so ya this is confusing..  1   already turned off the ACS override off.. and seems to be ok with it disabled

Win10VM   doesn't have those lines where did it go????

I edited windows 2016 and removed the lines from the bottom   so I can run both

 

but this is confusing I tell ya

 

 

Windows 10 Config : Remove those lines.

image.png.3ce8bf779037272740dc23a654345042.png

 

You don't need to do anything else.  The XML files doesn't keep the modification exactly where you place them. So look carefully and try to focus on one thing at the time. 

Link to comment

ok this messed  lol  I been using the Find In Page search it cant find that stuff..

but maybe that lines supposed to be in there.. remember you had me change it from 06 to 08

why that one 06  that isn't the Audio one then

 

as I put a 08 for the audio

 

lol man this stuff boggles the mind... and do you want me to reset the ACS back to downstream it keeps setting it before

Link to comment
5 minutes ago, comet424 said:

ok this messed  lol  I been using the Find In Page search it cant find that stuff..

but maybe that lines supposed to be in there.. remember you had me change it from 06 to 08

why that one 06  that isn't the Audio one then

 

as I put a 08 for the audio

 

lol man this stuff boggles the mind... and do you want me to reset the ACS back to downstream it keeps setting it before

 

2 minutes ago, comet424 said:

nvm  that 06 must be yours.. I looked at mine  it was 08...

 

I just cant search for it in find in page  

 

 

What?

 

Look man, trust me the line that i've show you in the red box, are the line for the audio card. 

 

Edited by matthope
Link to comment

I said the one in your pic with the redbox  is yours because you confused me there as it says Slot 6.. reason I said  I don't have a slot 6 

 

and then when I look on mine it said Slot 8

 

and I said reason  I couldn't find these..  InterNet Explorer.. Google Chrome.  FIND In Page  can not find the Words that Slot  or hostdev

 

I removed them from both... and re added to Windows 2016  but doesn't work for it anymore dunno how it worked in the first place..

 

 

sorry for you miss understanding me..  hard to explain sometimes when I have dyslexia  it came out fine for me

 

Edited by comet424
Link to comment
1 minute ago, comet424 said:

I said the one in your pic with the redbox  is yours because you confused me there as it says Slot 6.. reason I said  I don't have a slot 6 

 

and then when I look on mine it said Slot 8

 

and I said reason  I couldn't find these..  InterNet Explorer.. Google Chrome.  FIND In Page  can not find the Words that Slot  or hostdev

 

I removed them from both... and re added to Windows 2016  but doesn't work for it anymore dunno how it worked in the first place..

 

 

sorry for you miss understanding me..  hard to explain sometimes when I have dyslexia  it came out fine for me

 

 

Okay,

 

1. can you tell me which VM you want to have audio?

2. reactivate pcie override. 

3. reboot your system.

4. send your xml configuration again.

5. wait for my reply.

Edited by matthope
Link to comment

id like it to run on windows 2016 as I use it for my Webserver..

the Windows 10vm  was just to play around with etc

and see this is what I ment when I searched it says 0 results yet I see it there...

technology is great when it works

I was testing both  but I cant seem to get it to work on windows 2016 

I currently using  Virtio 141 drivers   I currently downloading the Virtio 161 drivers to see if that helps..

my internet  not that good as its taking long time to download the 161

and I re changed vm manager back to "Both" for the acs   but I noticed it goes to downstream after   

 

so ya  id like it to work on Windows 2016 server if possible  I just waiting for the driver to download

 

unraidaudio13.JPG

Edited by comet424
Link to comment

if there is no way to get the audio to stay in windows 2016  server then that's ok  ill manage to run it in a windows 10vm

I just perfered 1 VM running  I still learning all this

 

its pretty cool I can run 2 VM and an unraid all on the same computer at the same time

 

least it worked on the vm win10

and I really appreciate that of you 🙂

 

Edited by comet424
Link to comment

so on windows 2016  it wouldnt work  only remote audio which was it send the audio through Remote Desktop App

 

now windows 10  shows it works when i out it to my speakers i hear audio  but it sounds like it ran through a synthesizer

like its scrambled audio

would that be driver issues or because its running through a VM??  as i never had it before when i installed win10 on its own  without unraid

or is there something else i need to add.

 

least its working to an extent

 

i downloading audio drivers as its cracklying audio  but since the package is over 400meg and my internet slow  wont be done till tommorow  so ill try again tommorow...

 

thanks for the help so far

 

Edited by comet424
Link to comment
23 minutes ago, comet424 said:

hey matt is your sound working..  i got it to show up on my win 2016 server but its also staticy screatch sound 

is there something else to do

there is another guy having same audio issues with his win 10

 

do you happen to know what else to do to fix this

 

First of all, could you please stop spamming the forum? Thanks.

 

As for your issue i'm not sure what can cause it. However, I have few ideas that could help you.

 

1. Try changing the machine emulation Q35/i440fx.

2. Try this https://wiki.unraid.net/UnRAID_6/VM_Guest_Support#Enable_MSI_for_Interrupts_to_Fix_HDMI_Audio_Support

3. Try this : 

 

If all of this doesn't work then sadly, i couldn't help you further.

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.