From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAzxR-0007vB-R1 for qemu-devel@nongnu.org; Mon, 10 Sep 2012 05:07:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAzxG-0003I6-KF for qemu-devel@nongnu.org; Mon, 10 Sep 2012 05:07:05 -0400 Received: from mout.web.de ([212.227.17.11]:52662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAzxG-0003HX-9v for qemu-devel@nongnu.org; Mon, 10 Sep 2012 05:06:54 -0400 Message-ID: <504DADA6.7090406@web.de> Date: Mon, 10 Sep 2012 11:06:46 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <504A1C35.5070809@lotspeich.org> <504B23BB.2080407@web.de> <504CACA2.7050203@redhat.com> In-Reply-To: <504CACA2.7050203@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2FD2F63C5550F48073974A27" Subject: Re: [Qemu-devel] Linux KVM, Windows 7 guest choppy sound List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Erik Lotspeich , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2FD2F63C5550F48073974A27 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-09-09 16:50, Avi Kivity wrote: > On 09/08/2012 01:53 PM, Jan Kiszka wrote: >> On 2012-09-07 18:09, Erik Lotspeich wrote: >>> Hi, >>> >>> I apologize if this isn't the right venue for this message, but this >>> mailing list seems a bit more active than qemu-discuss. >>> >>> Background: >>> I am running OpenSUSE 12.1. I fixed audio issues in VM guests by sett= ing >>> the following in qemu.conf: >>> >>> vnc_allow_host_audio =3D 1 >>> >>> I also set user=3D and group=3D to allow qemu-kvm to run as the same = user as >>> I am logged in as. This allowed qemu-kvm to send audio to pulseaudio.= >>> >>> My issue: >>> I am using the ICH6 virtual audio driver in my VMs. In my Linux VMs, = the >>> sound works perfectly without any issues. In my Windows 7 VM, the sou= nd >>> works with the exception of static and choppiness in the audio. Has >>> anyone else seen this or have any ideas for a fix? >> >> Known issue, likely unfixable in QEMU due to hard-coded constraints of= >> the driver Windows uses (too small playback buffers). >=20 > Would using real-time priority for the guest improve things? >=20 > Of course that can be dangerous if the guest decides to spin and has as= > many vcpus as you have cores. We need to decouple the data path of that device from the rest of QEMU first. Just prioritizing likely doesn't help. And then the problem might be getting sufficient reactivity from the QEMU-external audio data path as well. Jan --------------enig2FD2F63C5550F48073974A27 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBNrakACgkQitSsb3rl5xS0PwCeNUSXI+1mqh5Dd82CUOAZJXpS yloAoNt8QguMV+Bj76Y0OfzENZxUSS1R =Pymg -----END PGP SIGNATURE----- --------------enig2FD2F63C5550F48073974A27--