jack audio dev produces no sound
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm testing the new jack audiodev backend in my
laptop. The host system is gentoo, using the
ebuild for qemu 5.1.0-r2, and I'm using jack
use flag globally in the system so any ebuild
that have support for jack should be build with
it. The jack setup reportedly works as I use it
with firefox, and mumble with no trouble. When
I launch the following script, I see the vm
connects to jack:
/usr/bin/
-cpu host -smp 2,cores=2,threads=1 \
-m 4G -L /usr/share/qemu \
-global ICH9-LPC.
-drive file=/usr/
-drive file=debian_
-audiodev id=jack,driver=jack -device ich9-intel-hda -device hda-duplex,
-device virtio-serial-pci \
-device virtserialport,
-chardev spicevmc,
-device nec-usb-xhci,id=usb \
-device usb-host,
-device usb-host,
-chardev spicevmc,
-device usb-redir,
-chardev spicevmc,
-device usb-redir,
-chardev spicevmc,
-device usb-redir,
-netdev user,id=user.0 -device virtio-
-drive file=debian.
Output of vm initialization:
jack: JACK output configured for 48000Hz (1024 samples)
jack: JACK input configured for 48000Hz (1024 samples)
gl_version 46 - core profile enabled
GLSL feature level 430
Though executing any application that uses sound,
for instance, any youtube video through browser,
I listen nothing. By executing pkill jackd, and
launching the same script replacing the audiodev
line for the following:
-audiodev id=alsa,driver=alsa -device ich9-intel-hda -device hda-duplex,
The audio works, and I can listen to music, or
any other kind of application, though I cannot
listen anything else in the host.
The guest is a simple debian testing(bullseye)
system with plasma desktop, using pulseaudio,
nothing fancy.
Thanks!
José
Does this patch make a difference for you? /github. com/qemu/ qemu/commit/ a6e037390dd9127 6f4a631d41188c8 7e8a60bb3f
https:/
If not, what's the precise JACK version you are using.