Article 51N4W qemu 4.0 no sound, virt-manager

qemu 4.0 no sound, virt-manager

by
caibbor
from LinuxQuestions.org on (#51N4W)
Sound simply won't work in the 32bit lubuntu 18.04 guest machine.

I've followed the qemu 4.0 release notes on audio. I've tried the following two setups in my XML config:

Code: # VM boots but no sound at all.
<qemu:commandline>
<qemu:arg value='-audiodev'/>
<qemu:arg value='pa,id=pa1,server=/run/user/1001/pulse/native'/>
</qemu:commandline>as well as
Code: # VM won't boot, can't connect to pulse.
<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=/run/user/1001/pulse/native'/>
</qemu:commandline>Using ich9 in both as suggested.

1001 is my UID. The user is in groups kvm, pulse, pulse-access, libvirt, and audio.

At this point, unless I'm missing something, Qemu 4's sound is straight up broken.

Code:$ uname -a ; cat /etc/issue
Linux user-pc 5.3.0-45-generic #37-Ubuntu SMP Thu Mar 26 20:41:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 19.10 \n \lany advice is appreciated.latest?d=yIl2AUoC8zA latest?i=yk8M82pPiuI:s0NijIMYB8s:F7zBnMy latest?i=yk8M82pPiuI:s0NijIMYB8s:V_sGLiP latest?d=qj6IDK7rITs latest?i=yk8M82pPiuI:s0NijIMYB8s:gIN9vFwyk8M82pPiuI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments