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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08FDDC77B61 for ; Mon, 1 May 2023 14:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232572AbjEAOwp (ORCPT ); Mon, 1 May 2023 10:52:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232537AbjEAOwm (ORCPT ); Mon, 1 May 2023 10:52:42 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17ECC10FB for ; Mon, 1 May 2023 07:52:34 -0700 (PDT) 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-out1.suse.de (Postfix) with ESMTPS id 2ED0022803; Mon, 1 May 2023 14:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1682952753; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xbQ+PGMN9hG1G30QUr276yLVsCOjGNqJegqC5F0YBj4=; b=ed38KbJno5dmnTPK/oB8P588V07RuYKyB+rLGeyJdPy6gPtDNfL2nKFs/lnI9xcguF5tPX DzWHaCR9ToQy0q9wkfu+rZ28tp45u5hNWv+cdjArOH3PdcQlZXa02sR5fwPFWGnKBxjP9m NhNBQDo7Hctlv/a7mXIQ8aX2Mvw0Cx0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1682952753; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xbQ+PGMN9hG1G30QUr276yLVsCOjGNqJegqC5F0YBj4=; b=TWtKeMe4UVJjAp1nFyqQEBnU9Ygr9axQ56TLQ01PQgabJqRmu/9ppyx+Jn099QJI44PIXv fRDbsMITxa90pYDQ== 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 F41C313587; Mon, 1 May 2023 14:52:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hPXOOjDST2RQEwAAMHmgww (envelope-from ); Mon, 01 May 2023 14:52:32 +0000 Date: Mon, 01 May 2023 16:52:32 +0200 Message-ID: <87fs8gp0i7.wl-tiwai@suse.de> From: Takashi Iwai To: Jeff Chua Cc: Bagas Sanjaya , lkml , Oswald Buddenhagen , Jaroslav Kysela , Linux ALSA Subsystem Development , Linux Regressions Subject: Re: linux-6.4 alsa sound broken In-Reply-To: References: <87r0s0pnim.wl-tiwai@suse.de> 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=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 01 May 2023 15:16:35 +0200, Jeff Chua wrote: > > On Mon, May 1, 2023 at 2:35 PM 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 will > > > > 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 ALSA 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. There was no description about which sound backend is used. Is it PulseAudio, pipewire or dmix/dsnoop? Takashi