From: Thomas Huth <1908832@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1908832] Re: jack audio dev produces no sound
Date: Thu, 13 May 2021 10:51:59 -0000 [thread overview]
Message-ID: <162090311973.16886.1775254865754531253.malone@soybean.canonical.com> (raw)
In-Reply-To: 160848897234.4298.12739306431901820443.malonedeb@wampee.canonical.com
Ticket has been moved here (thanks, José!):
https://gitlab.com/qemu-project/qemu/-/issues/278
... thus closing this on Launchpad now.
** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #278
https://gitlab.com/qemu-project/qemu/-/issues/278
** Changed in: qemu
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1908832
Title:
jack audio dev produces no sound
Status in QEMU:
Invalid
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/qemu-system-x86_64 -enable-kvm -M q35 -vga virtio -display gtk,gl=on \
-cpu host -smp 2,cores=2,threads=1 \
-m 4G -L /usr/share/qemu \
-global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 \
-drive file=/usr/share/edk2-ovmf/OVMF_CODE.fd,if=pflash,format=raw,unit=0,readonly=on \
-drive file=debian_VARS.fd,if=pflash,format=raw,unit=1 \
-audiodev id=jack,driver=jack -device ich9-intel-hda -device hda-duplex,audiodev=jack \
-device virtio-serial-pci \
-device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
-chardev spicevmc,id=spicechannel0,name=vdagent \
-device nec-usb-xhci,id=usb \
-device usb-host,vendorid=0x04ca,productid=0x708e \
-device usb-host,vendorid=0x1050,productid=0x0407 \
-chardev spicevmc,name=usbredir,id=usbredirchardev1 \
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \
-chardev spicevmc,name=usbredir,id=usbredirchardev2 \
-device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 \
-chardev spicevmc,name=usbredir,id=usbredirchardev3 \
-device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \
-netdev user,id=user.0 -device virtio-net-pci,netdev=user.0 \
-drive file=debian.qcow2,cache=none,aio=io_uring,if=virtio
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,audiodev=alsa \
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é
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1908832/+subscriptions
prev parent reply other threads:[~2021-05-13 11:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-20 18:29 [Bug 1908832] [NEW] jack audio dev produces no sound José Pekkarinen
2020-12-20 19:07 ` [Bug 1908832] " Christian Schoenebeck
2020-12-20 20:32 ` José Pekkarinen
2020-12-21 5:02 ` José Pekkarinen
2021-02-24 7:55 ` José Pekkarinen
2021-02-24 8:06 ` no-reply
2021-02-24 8:14 ` José Pekkarinen
2021-02-24 13:23 ` Christian Schoenebeck
2021-02-24 13:56 ` José Pekkarinen
2021-05-12 11:26 ` Thomas Huth
2021-05-12 12:03 ` Christian Schoenebeck
2021-05-13 10:51 ` Thomas Huth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=162090311973.16886.1775254865754531253.malone@soybean.canonical.com \
--to=1908832@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).