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 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 335E7C04A95 for ; Thu, 29 Sep 2022 06:11:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4052383D; Thu, 29 Sep 2022 08:11:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4052383D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1664431917; bh=LV/4n52o6AePFzCbywDQEoOM3Ef9Zy4LuOH75LvfaKA=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=B+5LS+TpobKNLxbfoOzwRP0jf+L4YFDA0lKC8WPB+NJeWJuHAbUurT9yznunRpH3R F8zjOMQDs4bsC0Rt8yWLaNEHwQXN8IUpJGE3fI5IQ+KanGXCRCUOmoM3r17WPJF05A x/4qgP1Fu1qSqs4J18l6hM9TLQCL3pXWx6h/lugw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C3790F804B4; Thu, 29 Sep 2022 08:11:06 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B5F8F804F1; Thu, 29 Sep 2022 08:11:05 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0DCCDF80095 for ; Thu, 29 Sep 2022 08:10:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0DCCDF80095 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="itg39IpB"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="qdRxf9mD" Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id E50B71FA7A; Thu, 29 Sep 2022 06:10:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664431856; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ixk3Jzdc8JShFuQLc7pAdCCkgsK4EDaSwY1RjnH4mUw=; b=itg39IpBDTxMkLd3xcFmN0xjpBsJXqPcoY1EXkbM5bEnU+JXQHNN7CJ+TulUVNHRBdcMwp LnK0zyF9+zdLYGwe5zdf+Tp2Bk27Uuiex6nUJrUy5uHRz//PpBacDeq9xOQOW8g7NluOMT FIFbWyJQGNGRqGGoz4ol3vf35vy2wpA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664431856; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ixk3Jzdc8JShFuQLc7pAdCCkgsK4EDaSwY1RjnH4mUw=; b=qdRxf9mDTiJnB4TV9IJhqkB2YikHy67CcPIlA0cwJ75HalpmAQppD3FDMM42LwN0AJJnos dIpDpiZ/HoPm9xCw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CAC4913A71; Thu, 29 Sep 2022 06:10:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id NXLOMPA2NWOxVQAAMHmgww (envelope-from ); Thu, 29 Sep 2022 06:10:56 +0000 Date: Thu, 29 Sep 2022 08:10:56 +0200 Message-ID: <87y1u290cv.wl-tiwai@suse.de> From: Takashi Iwai To: Hans de Goede Subject: Re: Sound broken (first couple of seconds play looping) on Sony Vaio VPX11S1E (HDA, ALC262) In-Reply-To: <61bd7097-afac-5a2d-46a2-aada444a890c@redhat.com> References: <3e8697e1-87c6-7a7b-d2e8-b21f1d2f181b@redhat.com> <87y1uqbfmo.wl-tiwai@suse.de> <87tu5ebdc8.wl-tiwai@suse.de> <61bd7097-afac-5a2d-46a2-aada444a890c@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Cc: "alsa-devel@alsa-project.org" X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, 28 Sep 2022 18:33:55 +0200, Hans de Goede wrote: > > Hi, > > On 9/11/22 09:05, Takashi Iwai wrote: > > On Sun, 11 Sep 2022 08:15:59 +0200, > > Takashi Iwai wrote: > >> > >> On Sat, 10 Sep 2022 19:52:36 +0200, > >> Hans de Goede wrote: > >>> > >>> Hi All, > >>> > >>> To test some kernel work (backlight refactor) which I have been doing > >>> I have booted Debian Testing with a 6.0 kernel on a Sony Vaio VPX11S1E > >>> (which is ancient). > >>> > >>> I noticed that when tab-completing something in a terminal the > >>> terminal bell sound would keep repeating and playing another longer > >>> sound sample gets stuck with the first couple of seconds of that > >>> sample looping. > >>> > >>> This is under GNOME3 with pulseaudio as sound server. > >>> > >>> I accidentally found an interesting workaround if I run: > >>> > >>> aplay -Dplughw:CARD=MID,DEV=0 /usr/share/sounds/alsa/Front_Left.wav > >>> > >>> once, then that works properly and after that the problem is gone... > >>> > >>> Note that this laptop does have only 1 speaker AFAICT. > >>> > >>> alsa-info output below. > >>> > >>> I would be happy to test any patches / module-options which might > >>> fix this. > >> > >> Could you check the very latest Linus tree (6.0-rc5)? > >> There has been a regression fix for HD-audio, and possibly this might > >> be your case. > > > > And if this doesn't change the behavior, try snoop=0 option for > > snd-hda-intel module. > > Thanks, I've just tried with 6.0-rc6 both with and without snoop=0 > and neither helps I'm afraid. Then one another thing could be position_fix option of snd-hda-intel. Otherwise we need bisection -- supposing it worked well in the past. But as it's a so old laptop, maybe not worth... thanks, Takashi