From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FROM,HK_RANDOM_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30607 invoked from network); 28 Feb 2021 11:27:59 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 28 Feb 2021 11:27:59 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 9569E2E84A for ; Sun, 28 Feb 2021 06:27:58 -0500 (EST) (envelope-from bounce.mM863a0b6d1389afddb20fe122.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 526CB198749D; Sun, 28 Feb 2021 06:27:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:date:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; bh= BD2FEPo6DV6OUdWpcByGLN7aVJOAxllcx1/qbyMliCA=; b=fA9OHnkPNQRa0nSl sksJk/mC0i5jwWAD1cOxcWdA8cEIhomywfdWwofqxf+f58f1mDi5mYfCdpK0fpDX VIuWgyD0+5CHEj28v8bZBajQwghcfuOhdLz47EhoNxdKVaEyOvEOXTP3DR0tq9Kf DsjmMj12OnhSn2P1X6Q1GNU/pE4= From: nydldmcd2@mail.com To: 9fans <9fans@9fans.net> Message-Id: <16145116730.F8d997e.52156@composer.9fans.topicbox.com> Date: Sun, 28 Feb 2021 06:27:53 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="16145116731.eEefC.52156" Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: ff8168b6-79b7-11eb-bf41-80ed9034e1fa Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMTdjOWQyOGMxOGUwYTRjZi1NODYzYTBiNmQxMzg5YWZkZGIyMGZl?= =?UTF-8?B?MTIyPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] qemu sound, only one side/speaker working List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M863a0b6d1389afddb20fe122:1:Fc8BfoK09bvAbYQZ81Nk8k1LHBoOhSgtWXcaLcaIj14 --16145116731.eEefC.52156 Date: Sun, 28 Feb 2021 06:27:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So last year a patch was submitted to fix 9front's sound under qemu as a gu= est (using intel hda) But it's semi broken again. With a linux host using pulse audio, audio in qemu with a 9front guest only= plays on one side/one speaker. here's my startup cmd qemu-system-x86_64 -cpu host -enable-kvm -m 4024 -net nic,model=3Dvirtio,ma= caddr=3D52:54:00:00:EE:03 -net user -device virtio-scsi-pci,id=3Dscsi -hda = 9front.qcow2.img=C2=A0 -boot d -vga virtio -display sdl,gl=3Don -device int= el-hda -device hda-duplex ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T17c9d28c18e0a4cf-M863a0= b6d1389afddb20fe122 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --16145116731.eEefC.52156 Date: Sun, 28 Feb 2021 06:27:53 -0500 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So last year a patch was submitted to fix 9fro= nt's sound under qemu as a guest (using intel hda)

But it's semi broken again.

With a linux host using pulse audio, audio in qemu with a 9front guest o= nly plays on one side/one speaker.

here= 9;s my startup cmd

qemu-system-x86_64 -cpu= host -enable-kvm -m 4024 -net nic,model=3Dvirtio,macaddr=3D52:54:00:00:EE:= 03 -net user -device virtio-scsi-pci,id=3Dscsi -hda 9front.qcow2.img  = -boot d -vga virtio -display sdl,gl=3Don -device intel-hda -device hda-dupl= ex

= --16145116731.eEefC.52156-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3741 invoked from network); 28 Feb 2021 12:22:26 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 28 Feb 2021 12:22:26 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 48A30293A0 for ; Sun, 28 Feb 2021 07:22:23 -0500 (EST) (envelope-from bounce.mM0d40be11db52d63990a00a81.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 32DE61831416; Sun, 28 Feb 2021 07:22:23 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=felloff.net; spf=pass smtp.mailfrom=cinap_lenrek@felloff.net smtp.helo=duke.felloff.net; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:from:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1614514943; bh=pfwEmuJn1y3aBH6/Q5k55BqdEONNrilt3c0Hn kg75x0=; b=NfXejqirwBPfGPKCQieJ0NdF/tW7gcjqcHAuvX6wcvGpFAgaR20Ty TuECpeAb3o5/GDN4QrosbdjHD0t9i2QM2jw8bpPPzLZTci5QjOG7CSHjh9oHHEy5 EOEetYRW5bpHN170SEingy0vBHWrrOcx4FRddQ7LlFF3eA/gcgKdfM= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1614514943; b=OPjlAU4fCg3DOPBVDuTRDqBMK1nYLJajeckU2u44+geV/EDPCN ts9I500tUP+4bR4Cqr5U41ITP3Q7smul/Nz4i9GYCgM2OiTB+ZqPs5XOMoizjz4z o/LnGS71XkGiZvja9JEXSzmOZzZ5OFFuDk0z7bVLJqzn/A0FHxK7c/fS0= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=felloff.net; spf=pass smtp.mailfrom=cinap_lenrek@felloff.net smtp.helo=duke.felloff.net; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=felloff.net; iprev=pass smtp.remote-ip=216.126.196.34 (duke.felloff.net); spf=pass smtp.mailfrom=cinap_lenrek@felloff.net smtp.helo=duke.felloff.net; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=duke.felloff.net policy.ptr=duke.felloff.net; x-return-mx=pass header.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-return-mx=pass smtp.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :date:from:to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=pfwEmuJn 1y3aBH6/Q5k55BqdEONNrilt3c0Hnkg75x0=; b=Yj3rJ6g5sGBrnWIlBMyACrzB VEWIcNerLF0q983w4k+M3QF11RImbslkmhbRsVgMob77LJ7dnHukH8SNMd53Ojuq ZGIwtqcF53ZZytvMebABr7lNKDKW5wYMibFzDX76QWG12UVsmPDI4EkMVn3uOxdo KgnBgQEYJaSG4QaKzWE= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 5E80E1830C66 for <9fans@9fans.net>; Sun, 28 Feb 2021 07:22:14 -0500 (EST) (envelope-from cinap_lenrek@felloff.net) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 27FB39AB3A7; Sun, 28 Feb 2021 07:22:14 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1614514934; b=vHRBeThU1ewTRxTBBUVvHS/x/Zzt+Ac+cyIxWucO4Q7aO4YZre +hRUBcDbst+L5IQvOqI8xDFfm4Ajp9ALxE5PX6SCZ66hw6fgAky5RkXtEB3a9u7c 3qc2QfLFo4vsNpW0eg+RmSJqODzIwVkPaK8IYC8xt6vTyCRhDJCgDVvACy1ZQDnw XTMCwey0eiabek/77zTqK4Y4zka1wAFT4txyFStAc8T7bgLvBlP/Z/cTlWpdGXAo Y/jn8oI9D7TlEi8HKJGd3gffD0E4RxcHwqWCpMLQM76IdGz4YbM7515hploTOUkY mvYPQ+zWCbcO9s+SG9ZizF9vgXi390lOEOrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:date:from:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1614514934; bh=cmE7HgIcUWdFXi797oOqRLMEDpDBnk89gxphlch0Z4Y=; b= WlmmtfSyoii7o5yQOTyw6g8nN2PNHldnKsetF1pGnLKefhPtiWY/4O8WgqnRHhh2 E0kzkVgdCNkXLxCVHuMpsSCwXgB6UzwxiqdPZ4DNxtRHS9D6aQce0eksKl9SKZDx ZVOn7g36VWhhXtqo+giuTAsNKsnUlLivbwHyqq+aJ5ZnB0Lj0Wv+pTuPZQ4eHwcQ JyhCK1eRreMpk3KbTYzzhjj5cKSS0fS6ZJ++owLuWTrdXpLNFx9OfFEkRAZT8Vh4 kjXZ2kav7n3UMLQFNykG110qKJf5gHCFbI0S0TSEhvO7CEYCavAMKHtaYBEWJqiR maHeowuYfhI84EBOeYeqvA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=felloff.net; iprev=pass smtp.remote-ip=216.126.196.34 (duke.felloff.net); spf=pass smtp.mailfrom=cinap_lenrek@felloff.net smtp.helo=duke.felloff.net; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=duke.felloff.net policy.ptr=duke.felloff.net; x-return-mx=pass header.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-return-mx=pass smtp.domain=felloff.net policy.is_org=yes (MX Records found: duke.felloff.net); x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrleeigdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffhffvuf gjgggtgfesthejjedttddtvdenucfhrhhomheptghinhgrphgplhgvnhhrvghksehfvghl lhhofhhfrdhnvghtnecuggftrfgrthhtvghrnhepueehueejvdehtdevveehjeevgeetve fftdeiueffffefvdeifeevtdfgieeutedunecukfhppedvudeirdduvdeirdduleeirdef geenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudeirdduvd eirdduleeirdefgedphhgvlhhopeguuhhkvgdrfhgvlhhlohhffhdrnhgvthdpmhgrihhl fhhrohhmpeeotghinhgrphgplhgvnhhrvghksehfvghllhhofhhfrdhnvghtqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (felloff.net: 216.126.196.34 is authorized to use 'cinap_lenrek@felloff.net' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="cinap_lenrek@felloff.net"; helo=duke.felloff.net; client-ip=216.126.196.34 Received: from duke.felloff.net (duke.felloff.net [216.126.196.34]) by tb-mx0.topicbox.com (Postfix) with ESMTP for <9fans@9fans.net>; Sun, 28 Feb 2021 07:22:12 -0500 (EST) (envelope-from cinap_lenrek@felloff.net) Message-ID: <30835174003837089E1E272543FA9203@felloff.net> Date: Sun, 28 Feb 2021 13:22:03 +0100 From: cinap_lenrek@felloff.net To: 9fans@9fans.net Subject: Re: [9fans] qemu sound, only one side/speaker working In-Reply-To: <16145116730.F8d997e.52156@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 99876904-79bf-11eb-803e-ae79c2bccbc6 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMTdjOWQyOGMxOGUwYTRjZi1NMGQ0MGJlMTFkYjUyZDYzOTkwYTAw?= =?UTF-8?B?YTgxPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M0d40be11db52d63990a00a81:1:13nCOm5q622tZdCsOGhBNk2W4uFok3mKi3NOQt6KeVg just tested with QEMU 5.1.0 (v5.1.0-11824-g8699890d91-dirty) under windows = 10. it works just fine for me. i doubt this is a bug in the hda driver. the left and right channels are su= bmitted as one stream. the fix of last year was about command completions requierin= g the interrupt driven method in qemu, while the driver was just implementing a s= imple polling scheme. so i suspect it to be a problem with your specific qemu version or pulseaud= io. -- cinap ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T17c9d28c18e0a4cf-M0d40b= e11db52d63990a00a81 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription