I successfully passed through 1 gpu by following SpaceInvader One's youtube video on gpu passthrough editing the dumped rom from my gpu.
I also added my onboard audio to vfio-pci.ids.
When adding it to the VM i passed through the gpu and gpu audio, added onboard audio as second audio device, then added a startup script to unbind the gpu from unraid in user scripts plugin.
#!/bin/bash
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
That's what worked for me, your experience of this may differ. I have a gigabyte b450 aorus itx, r5 2600, GTX 1050ti.