From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48F4DC4361B for ; Sun, 20 Dec 2020 18:36:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7805122D74 for ; Sun, 20 Dec 2020 18:36:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7805122D74 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:38640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kr3Yw-0001k5-36 for qemu-devel@archiver.kernel.org; Sun, 20 Dec 2020 13:36:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kr3YM-0001L3-Iy for qemu-devel@nongnu.org; Sun, 20 Dec 2020 13:35:34 -0500 Received: from indium.canonical.com ([91.189.90.7]:42164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kr3YK-0005RM-FN for qemu-devel@nongnu.org; Sun, 20 Dec 2020 13:35:34 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1kr3YI-0005xR-Ie for ; Sun, 20 Dec 2020 18:35:30 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 8408E2E8085 for ; Sun, 20 Dec 2020 18:35:30 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 20 Dec 2020 18:29:32 -0000 From: =?utf-8?q?Jos=C3=A9_Pekkarinen?= <1908832@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: koalinux X-Launchpad-Bug-Reporter: =?utf-8?q?Jos=C3=A9_Pekkarinen_=28koalinux=29?= X-Launchpad-Bug-Modifier: =?utf-8?q?Jos=C3=A9_Pekkarinen_=28koalinux=29?= Message-Id: <160848897234.4298.12739306431901820443.malonedeb@wampee.canonical.com> Subject: [Bug 1908832] [NEW] jack audio dev produces no sound X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="34b3ffd45c9543b7f7aa5aa313925241e9e7ca3f"; Instance="production" X-Launchpad-Hash: 2bdbda36d135086ee4194d2419da84279a6032fd Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -66 X-Spam_score: -6.7 X-Spam_bar: ------ X-Spam_report: (-6.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1908832 <1908832@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Public bug reported: 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= =3Don \ -cpu host -smp 2,cores=3D2,threads=3D1 \ -m 4G -L /usr/share/qemu \ -global ICH9-LPC.disable_s3=3D1 -global ICH9-LPC.disable_s4=3D1 \ -drive file=3D/usr/share/edk2-ovmf/OVMF_CODE.fd,if=3Dpflash,format= =3Draw,unit=3D0,readonly=3Don \ -drive file=3Ddebian_VARS.fd,if=3Dpflash,format=3Draw,unit=3D1 \ -audiodev id=3Djack,driver=3Djack -device ich9-intel-hda -device hd= a-duplex,audiodev=3Djack \ -device virtio-serial-pci \ -device virtserialport,chardev=3Dspicechannel0,name=3Dcom.redhat.sp= ice.0 \ -chardev spicevmc,id=3Dspicechannel0,name=3Dvdagent \ -device nec-usb-xhci,id=3Dusb \ -device usb-host,vendorid=3D0x04ca,productid=3D0x708e \ -device usb-host,vendorid=3D0x1050,productid=3D0x0407 \ -chardev spicevmc,name=3Dusbredir,id=3Dusbredirchardev1 \ -device usb-redir,chardev=3Dusbredirchardev1,id=3Dusbredirdev1 \ -chardev spicevmc,name=3Dusbredir,id=3Dusbredirchardev2 \ -device usb-redir,chardev=3Dusbredirchardev2,id=3Dusbredirdev2 \ -chardev spicevmc,name=3Dusbredir,id=3Dusbredirchardev3 \ -device usb-redir,chardev=3Dusbredirchardev3,id=3Dusbredirdev3 \ -netdev user,id=3Duser.0 -device virtio-net-pci,netdev=3Duser.0 \ -drive file=3Ddebian.qcow2,cache=3Dnone,aio=3Dio_uring,if=3Dvirtio 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=3Dalsa,driver=3Dalsa -device ich9-intel-hda -device hda-duplex,audiodev=3Dalsa \ 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=C3=A9 ** Affects: qemu Importance: Undecided Status: New -- = 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: New 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,g= l=3Don \ -cpu host -smp 2,cores=3D2,threads=3D1 \ -m 4G -L /usr/share/qemu \ -global ICH9-LPC.disable_s3=3D1 -global ICH9-LPC.disable_s4=3D1 \ -drive file=3D/usr/share/edk2-ovmf/OVMF_CODE.fd,if=3Dpflash,forma= t=3Draw,unit=3D0,readonly=3Don \ -drive file=3Ddebian_VARS.fd,if=3Dpflash,format=3Draw,unit=3D1 \ -audiodev id=3Djack,driver=3Djack -device ich9-intel-hda -device = hda-duplex,audiodev=3Djack \ -device virtio-serial-pci \ -device virtserialport,chardev=3Dspicechannel0,name=3Dcom.redhat.= spice.0 \ -chardev spicevmc,id=3Dspicechannel0,name=3Dvdagent \ -device nec-usb-xhci,id=3Dusb \ -device usb-host,vendorid=3D0x04ca,productid=3D0x708e \ -device usb-host,vendorid=3D0x1050,productid=3D0x0407 \ -chardev spicevmc,name=3Dusbredir,id=3Dusbredirchardev1 \ -device usb-redir,chardev=3Dusbredirchardev1,id=3Dusbredirdev1 \ -chardev spicevmc,name=3Dusbredir,id=3Dusbredirchardev2 \ -device usb-redir,chardev=3Dusbredirchardev2,id=3Dusbredirdev2 \ -chardev spicevmc,name=3Dusbredir,id=3Dusbredirchardev3 \ -device usb-redir,chardev=3Dusbredirchardev3,id=3Dusbredirdev3 \ -netdev user,id=3Duser.0 -device virtio-net-pci,netdev=3Duser.0 \ -drive file=3Ddebian.qcow2,cache=3Dnone,aio=3Dio_uring,if=3Dvirtio 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=3Dalsa,driver=3Dalsa -device ich9-intel-hda -device hda-duplex,audiodev=3Dalsa \ 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=C3=A9 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1908832/+subscriptions