I just got a single GPU passthrough thing working on my Manjaro system (7700K, 1080ti, Z270I Gaming Pro Carbon AC), but I’m not getting any sound. I have already enabled linger, and I set nographics_allow_host_audio to 1 in /etc/libvirt/qemu.conf. When I run a normal VM without passthrough, qemu is running is my own user, as is virt-manager, as is pulseaudio. I’ve also tried adding the following to my xml, but it doesn’t solve anything:
<qemu:commandline>
<qemu:arg value='-device'/>
<qemu:arg value='ich9-intel-hda,bus=pcie.0,addr=0x1b'/>
<qemu:arg value='-device'/>
<qemu:arg value='hda-micro,audiodev=hda'/>
<qemu:arg value='-audiodev'/>
<qemu:arg value='pa,id=hda,server=unix:/run/user/1000/pulse/native'/>
</qemu:commandline>
So, anyone got an idea on how to get sound working? Preferably both microphone and audio out.