Jump to content

Single GPU Passthrough: no sound

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.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×