Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5491491rwr; Mon, 1 May 2023 06:44:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ65uzLIgLiaZmav2vYab9LrBj/nHohzjUkPIMBclG16vbnXGKrWNb0aee7HWBT06Xsc56ZQ X-Received: by 2002:a05:6a21:6da1:b0:f2:6984:b8d with SMTP id wl33-20020a056a216da100b000f269840b8dmr17373411pzb.29.1682948694605; Mon, 01 May 2023 06:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682948694; cv=none; d=google.com; s=arc-20160816; b=mawOVHkHGLNRBUI04Lpusq4wSnsI7BT8M7qIVxxoVrPTaf4DqHeKZ1Kl2txG9VA8+J coZP/tagN0/gztGSiP/xtNXoHZWnXs7IKlSShsTZLp30AKcLPyQEguegf5COzJXo2rYE q4H/G982dALIEGCrDBHrRNcTLgJkpNRRNho7/s7NrFqto1M2UqVWeKae5v5V72VGjQMl MEH2Cs6ypZZS4bl+KjZcjUat7JKrlSRqhpd73Uv/wNONQCzSIy+gNIm+C0hyrxQz/MuO O9f8La1rC8q3886VDhGCzNcRuo9XO98/8+ViZgsKpyRaICzEwPTSQ5owZq1/refPC6tJ fSSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GbXEvFB7fjq+XNje0q8/whu20PA7ZnvvxDaqHqn67jk=; b=RAF0Iii+Btb6rQxEXnAUp0xnIQZvsfkIVIU+34KPfjpuHRYgGBssYDqiBBASRycTl7 pVGvxN+q8tiboVkgdDe00XYOEwJzp+/LRAXvCeAWgByFBb/fpwhzJKTBgTbqTlz4Akga yDtcVDKy+PRDHcgUgeZwqKHw7ZJCSaIiSTfHGuIBSinKIp8ZFBfk5qowEGWJXLznqS0p KE2BTeEU0BGByvcGeftgDfZ+K4BcgbNrfFcj8Qr6l9uZkTGusf962oTxI871iYoDuXiA 02brdpLpX52mjif42uppTOIImG15nd55zMYepM4lt0ALEKoWP8L4fhJ6t9p8ybKEaqTQ D1Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H2zXZDG6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g188-20020a6252c5000000b0063b87539e44si27759813pfb.399.2023.05.01.06.44.38; Mon, 01 May 2023 06:44:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H2zXZDG6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232480AbjEANQu (ORCPT + 99 others); Mon, 1 May 2023 09:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjEANQs (ORCPT ); Mon, 1 May 2023 09:16:48 -0400 Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96BF6138 for ; Mon, 1 May 2023 06:16:46 -0700 (PDT) Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-430306f2196so1981128137.0 for ; Mon, 01 May 2023 06:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682947005; x=1685539005; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GbXEvFB7fjq+XNje0q8/whu20PA7ZnvvxDaqHqn67jk=; b=H2zXZDG6tXxVQ9f9vbGaovdxaTuwv0q6kVEYTgagLqYRRHSwKdbTjTl8oLJ8VwNgUp z5mJufct1ITHg4Dv5LQfomDazboiwolJap+/qE5fkHdISkNr14PyuF9skfwkwX0eBhcr LknF8vxFQO3VT3Gp9SZd+M8cgfAVD4r4sGu0AYaxBG2+G8mObc5s+x0uLiVotgtyGygx vO7rTq5U13UEsRYeFqpekJtvUo5MptHQcTO4w3UPjMq/Vrlhl6JpJmIdKywjTiQtyUnV dYqW5ZIzbq7p1S3GZXW+z67PzGbUR8kJ1tkMdwWSY2dZJ9Cme7j2ATUwH4yApjWrQnRG X2iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682947005; x=1685539005; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GbXEvFB7fjq+XNje0q8/whu20PA7ZnvvxDaqHqn67jk=; b=EazaIjEa3jWwLpNPuFc2MvmtsoSlT9G9hdIxa5Kb7vprL18/7Ibyd4sgjL3Bb0cZCq X3azvWyEizWbAoaeeo+ydGpNDGNreTq9timDmWplXe9aerAJbuFPvEZgbD+76alIaLWg +jjK91dWj2h3ljOwbnlKKgN1GZfiw6QS7hWWxjWcXne/55V8+7mXiV0cgf76q4u8NbdG w1XfZDk8XI6yydc45Zvm4ur42LzSBNBaACRmx+zMAhOPXqgfPYWCQw9yekw1wwTmKLkq DHDDgfNx/+QV9Wb6js8y2mDZi7RM/Ag6WU3v2hYWcfaicFvcd0+5Q5PoYNw7BI2PEz6g n1fw== X-Gm-Message-State: AC+VfDzhinzxAY5u0GrGtNi15E0Pq4E93Ypcp+jcDuaDdShxV6+uKIsn PZ0HeG1H5tg+v5Hrm707O+F93E2HP3H3fKD6lvc= X-Received: by 2002:a67:ed49:0:b0:42c:9732:d17f with SMTP id m9-20020a67ed49000000b0042c9732d17fmr5847758vsp.1.1682947005662; Mon, 01 May 2023 06:16:45 -0700 (PDT) MIME-Version: 1.0 References: <87r0s0pnim.wl-tiwai@suse.de> In-Reply-To: <87r0s0pnim.wl-tiwai@suse.de> From: Jeff Chua Date: Mon, 1 May 2023 21:16:35 +0800 Message-ID: Subject: Re: linux-6.4 alsa sound broken To: Takashi Iwai Cc: Bagas Sanjaya , lkml , Oswald Buddenhagen , Jaroslav Kysela , Linux ALSA Subsystem Development , Linux Regressions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 1, 2023 at 2:35=E2=80=AFPM Takashi Iwai wrote: > > On Mon, 01 May 2023 06:36:49 +0200, > Bagas Sanjaya wrote: > > > > On Mon, May 01, 2023 at 11:59:12AM +0800, Jeff Chua wrote: > > > Latest git pull from Linus's tree ... playing a simple sound file wil= l > > > resulted in a lot of echo. > > > > > > Running on Lenovo X1 with .. > > > 00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High > > > Definition Audio Controller (rev 01) > > > > > > I've bisected and reverted the following patch fixed the problem. > > > > > > commit 9f656705c5faa18afb26d922cfc64f9fd103c38d > > > > Thanks for the regression report. However, where is your dmesg and/or A= LSA log > > when the regression occurs? What is the playback test file? > > Yes, in addition, which driver is used (provide the alsa-info.sh > output at best), and which sound backend is used (pipewire, PA or > dmix) with which application? /proc/asound# cat cards devices hwdep pcm timers version 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0x603e1c8000 irq 147 1: : sequencer 2: [ 0- 0]: digital audio playback 3: [ 0- 0]: digital audio capture 4: [ 0- 3]: digital audio playback 5: [ 0- 7]: digital audio playback 6: [ 0- 8]: digital audio playback 7: [ 0- 9]: digital audio playback 8: [ 0- 0]: hardware dependent 9: [ 0- 2]: hardware dependent 10: [ 0] : control 33: : timer 00-00: HDA Codec 0 00-02: HDA Codec 2 00-00: ALC287 Analog : ALC287 Analog : playback 1 : capture 1 00-03: HDMI 0 : HDMI 0 : playback 1 00-07: HDMI 1 : HDMI 1 : playback 1 00-08: HDMI 2 : HDMI 2 : playback 1 00-09: HDMI 3 : HDMI 3 : playback 1 G0: system timer : 10000.000us (10000000 ticks) G3: HR timer : 0.001us (1000000000 ticks) P0-0-0: PCM playback 0-0-0 : SLAVE P0-0-1: PCM capture 0-0-1 : SLAVE P0-3-0: PCM playback 0-3-0 : SLAVE P0-7-0: PCM playback 0-7-0 : SLAVE P0-8-0: PCM playback 0-8-0 : SLAVE P0-9-0: PCM playback 0-9-0 : SLAVE Advanced Linux Sound Architecture Driver Version k6.3.0. # test playing with ... aplay /usr/share/sounds/alsa/Side_Right.wav Playing WAVE '/usr/share/sounds/alsa/Side_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono I'll try to capture the sound ... it's seems to just repeating every second until the last second. So, if you just play a "beep", its ok. > > thanks, > > Takashi