Received: from eggs.gnu.org ([2001:4830:134:3::10]:54348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fH4J6-0004xL-69 for qemu-devel@nongnu.org; Fri, 11 May 2018 05:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fH4J5-0001Yk-Bf for qemu-devel@nongnu.org; Fri, 11 May 2018 05:25:44 -0400 Received: from mel.act-europe.fr ([2a02:2ab8:224:1::a0a:d2]:57622 helo=smtp.eu.adacore.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fH4J5-0001Wh-5m for qemu-devel@nongnu.org; Fri, 11 May 2018 05:25:43 -0400 References: <20180419131051.11249-1-kraxel@redhat.com> <20180419131051.11249-5-kraxel@redhat.com> <833e23a9-4899-2a95-c4b1-027d437e2ef7@adacore.com> <20180425130525.omdcdwvcpclk7xsu@sirius.home.kraxel.org> From: KONRAD Frederic Message-ID: <1c9836b5-727d-b723-3abc-2cd98a59f050@adacore.com> Date: Fri, 11 May 2018 11:25:37 +0200 MIME-Version: 1.0 In-Reply-To: <20180425130525.omdcdwvcpclk7xsu@sirius.home.kraxel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/4] audio/hda: detect output buffer overruns and underruns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, martin@schrodt.org On 04/25/2018 03:05 PM, Gerd Hoffmann wrote: > On Mon, Apr 23, 2018 at 11:31:34AM +0200, KONRAD Frederic wrote: >> >> >> On 04/19/2018 03:10 PM, Gerd Hoffmann wrote: >>> If some event caused some larger playback hickup the fine-grained timer >>> adjust isn't able to recover. Use a buffer overruns and underruns as >>> indicator for that. Reset timer adjust logic in case we detected one. >> >> It seems that this patch causes big lockup of my Win10 KVM guest >> when it tries to output a sound. >> The three previous patches improved considerably the audio >> output though! > > Can you try drop the "underrun" chunks, keeping only the "overrun"? > > thanks, > Gerd > Hi Gerd, Tested yesterday it seems that both are causing lockup. The overrun a little less though. Thanks, Fred