Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Audio stopped working in KVM with libvirtmanager
Date: Sat, 07 May 2022 13:45:21
Message-Id: t55t53$11f7$1@ciao.gmane.io
1 Audio in KVM (qemu) launched through libvirtmanager used to work fine
2 last time I used it (about 3 months ago.) There has been lots of updates
3 since then, including a switch from Pulseaudio to Pipewire, and
4 something along the way broke it. Now I get no sound whatsoever. qemu
5 doesn't even show up as an application in the audio mixer, nor in the
6 output of "pw-top".
7
8 If I launch the VM directly through qemu with:
9
10 qemu-system-x86_64 [...] -audiodev id=audio1,driver=pa
11
12 then it works fine. But if I launch it through libvirtmanager, it
13 doesn't. Even if I force the use of "-audiodev id=audio1,driver=pa" in
14 the XML of the VM in /etc/libvirt/qemu/, it still doesn't work. There's
15 no error anywhere, no warning, nothing in the logs.
16
17 Does anyone have any idea what to do?

Replies

Subject Author
Re: [gentoo-user] Audio stopped working in KVM with libvirtmanager Michael <confabulate@××××××××.com>