Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5575754rwr; Mon, 1 May 2023 07:54:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7l2AZA3yaQ5rE2nFjOdt0EbF7tvvdtEQ0slQ9bqZQK8GGRQPGoLCdPofg6PrqM1knFZOth X-Received: by 2002:a17:90a:2981:b0:24d:ef91:b6d6 with SMTP id h1-20020a17090a298100b0024def91b6d6mr5110522pjd.44.1682952852176; Mon, 01 May 2023 07:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682952852; cv=none; d=google.com; s=arc-20160816; b=fMAJdd8PJa9xqyQW32Ak87uOpCWGaGGs5GqBB2xgEqjaS88xTVYhNiPFN+Z6KLsiOM DjaDubiQcG8ZOW9AGULyS4tjhebo9ys+NXISVcZZp5nS59W4fQpYT73k4tGX0cdwmPaA WSRNXdkDvyfdAtWQrlQP7zcsaSaKe2rI5x5dsnfTu13+ikbYvvFkvl9KK8HUmY7RzsEy 06Yh/QP0CrLf1QnazE88Jq2SxMxz4TUBAomUhm7jfyxiEISgL/yDavQRnjZaEtIVlne6 iRvg0I0P83dvr5xG8n5w/pn0WbjrYtfhwoSrnEoyKMJw6qY25IPoE9PXutWAjFBw0qDk SF5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature; bh=xbQ+PGMN9hG1G30QUr276yLVsCOjGNqJegqC5F0YBj4=; b=o53RlZF4JGMR3xrBssQty2RV0Vr6eDdOjiLT9lR5kq0hZ1qsxpNd4aNdtjpq/jFsHd ESptp1eoRR/Ie+zA8ypezeMnl9YbejufY5su0dj45StgcJnFu7QjhjWdVNrEqd4WzU8c oMDBdXjnvutSDGr/9DIWsYB0ItQ0YdCmTz4ftXZOFbuVqUtfwv9aDFJ/Zzz+gKt/aIS9 OxQyWqN1GFOJUxcceBSOXNNlbq3zDe5Bm+UoDHmg7FFwCA1DCtj0X1OcwqeW1glKtfdX OY/8sGyBopdv0znwy+5DpdylbKHKSJOVVhlhivY+cNrEoDG8M0Vt0Wr3K7HPxniQWz07 OcuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ed38KbJn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=TWtKeMe4; 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=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 3-20020a631943000000b005002c935408si26646536pgz.292.2023.05.01.07.54.00; Mon, 01 May 2023 07:54:12 -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=@suse.de header.s=susede2_rsa header.b=ed38KbJn; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=TWtKeMe4; 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=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbjEAOwo (ORCPT + 99 others); Mon, 1 May 2023 10:52:44 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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, 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