Sound Emulation on Windows 10 VM

Abstract3000

Member
Feb 21, 2019
23
1
8
44
Greetings,

I have a windows 10 VM with a GPU passthrough, I am currently trying to get Sound from the Speaker (3.5mm) Audio Jack and was wondering How I could do so?

I have tried Adding Audio Device ich9-intel-hda & intel-had both make the Red X above the Speaker Icon in sys tray go away but no sound whatsoever, as for AC97 nothing is recognized. I do have the VirtIO Drivers disc but with all the Folders being named extremely cryptic, I have no idea if additional drivers are needed from that disc and exactly what directory they would be in? Has anyone else had this issue or could potentially point me in the direction of what to do to enable the sound?

Thanks!
 
so thinking I might just need to pass the physical device through?

This is what I get for the MB's Integrated Sound card:
Code:
0b:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. Family 17h (Models 00h-0fh) HD Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 111
        Memory at fcd00000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [64] Express Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [2a0] Access Control Services
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

The hardware id's i get specifically to 0b.00.3 are:
Code:
root@example:~# lspci -n -s 0b:00.3
0b:00.3 0403: 1022:1457

So I'm guessing I would need to edit the vfio configuration with the following?
Code:
echo options vfio-pci ids=1022:1457 > /etc/modprobe.d/vfio.conf

Though I'm not sure looking at the proxmox passthrough guide in how to go about editing the VM's configuration file as the GPU is being passed through I can't just use hostpci0: 0b:00.3,pcie=1 as I already have hostpci0: 09:00,x-vga=on,pcie=1 so would i do something such as hostpci0: 0b:00.3,09:00,x-vga=on,pcie=1 ?