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 E3997C3ABC9 for ; Thu, 15 May 2025 08:02:18 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B491762022; Thu, 15 May 2025 09:47:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B491762022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1747295243; bh=UTDc1wYpkWAfvifRTJF4VXiuszIW+r8dfq4jFbCbo4Q=; h=Date:From:To:Cc:In-Reply-To:References:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=VUxtFbnSaLm1uTino/EVYOTy5Pr0MiPKK7dViP9S3sDkwjYhJ8+x5+6x/f2YMseXx AqCO658HRKQ4lsvbichJoGSHiN44iHp7H/BP79LIckprkX5eRs16Oz9AidCVFy3Mcv 8C4iex+cYBfKC3HDCBbQJi6NTalxwOlqbaM8Y73Y= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3D01BF89BD2; Wed, 14 May 2025 19:59:53 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 2B8E4F89BCA; Wed, 14 May 2025 19:59:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9203FF806CA; Tue, 13 May 2025 06:36:49 +0200 (CEST) Received: from sonic318-21.consmr.mail.gq1.yahoo.com (sonic318-21.consmr.mail.gq1.yahoo.com [98.137.70.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8F056F806C8 for ; Tue, 13 May 2025 06:36:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8F056F806C8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=yahoo.com header.i=@yahoo.com header.a=rsa-sha256 header.s=s2048 header.b=ubasduZc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1747111004; bh=UTDc1wYpkWAfvifRTJF4VXiuszIW+r8dfq4jFbCbo4Q=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=ubasduZcds3IHElA93qCvk7Sc/j9fP9BtGrv+W1W1emaAIkaJ9NNa8x8RxERXxK/ZdUoBxv9roKNUX1lvYwhAzjzMMmzXXY7wsDCuazIY97ZSdoboCR7z36X0BHm1tsHTZKryUmP1Pxq51yLQvaKE349bh8OxlL75GHnM+dQaSZM3Y31R7Nh00wV0mcKMiCGN1X7oGNXcdAk6j54/W5A/bBKMTl2DtCW4/7RXrVe4odeRD4Dx/RtWg6ddI5aVGs3X1dsu/71ozzwUFzHkLdzsooaQJPRowg4p9cRN6DEcbEM+VcDPyt1JpSuYT+/EP4w+yaXdfAqLkN+NhizgbvkKA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1747111004; bh=NGnayLA1+NPEVSiFNTYy9ul6I4w+Nu/tcDIBCiBylNk=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=dGwD4qb4YAt9tRrG5MIitw0RY1bVL6QCCSra7lThB3D7NZu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vItzwV8D_M8f_IHN.3cVKupSoq5DM0DgTniwjZ hFmOjvWho358C_C3jqcUQJ8L1G7PU7yG0kG0a.kYzpi50C_8brsDLoPjjAodSQ3b2oypEDXTyPQl eVsU.KFuilKutU0fzz0OdYxrwifuv1p7Rf0CjEepmEeanRx.jcHyrpD8Hor7zxd3yH0GnO31IBKS soQaEgE46y1Ke2q6zAz.M8HaL0acQDfIgIpULvwQ.LJTQ4.6xyI4vm3EMlWaozR7vZ7MmoQQkduY hLi7KMOdnRSdM2RUXgb1LLHYv6IgvVPDKlYKALuSaaT2jlPjn8EN04ZsrSCRtWnZ0mlScOICvh.A m9Uwptd0U1YpYcp9tyZ9T5zGRkV5GVzngmsnQlL0oqSgA71AuPuUE_jYqivtIkjUk8.l89zoi8aZ cfQsoP9dcHWpQ2Z0q5jTThuyh87R9O5cDOEk2mFsMLPUM0zCLjV_BQgq.bg-- X-Sonic-MF: X-Sonic-ID: 6af3212a-1965-4ab4-8cb6-265fa604d21b Received: from sonic.gate.mail.ne1.yahoo.com by sonic318.consmr.mail.gq1.yahoo.com with HTTP; Tue, 13 May 2025 04:36:44 +0000 Date: Tue, 13 May 2025 04:36:40 +0000 (UTC) From: Ruslan Nikolaev To: "kailang@realtek.com" , Takashi Iwai Cc: "regressions@lists.linux.dev" , "tiwai@suse.com" , "alsa-devel@alsa-project.org" , "sashal@kernel.org" , "perex@perex.cz" Message-ID: <946767975.787038.1747111000631@mail.yahoo.com> In-Reply-To: <87o6vxuauk.wl-tiwai@suse.de> References: <1064773772.509063.1747061777318.ref@mail.yahoo.com> <1064773772.509063.1747061777318@mail.yahoo.com> <87o6vxuauk.wl-tiwai@suse.de> Subject: Re: [Bug 220109] New: Audio disappears on HP 15-fc000 after warm boot again (ALC256 code path) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.23772 YMailNovation X-MailFrom: nruslan_devel@yahoo.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: XEC4ASBWAYYFZ35MBVT34N2MIGJIZYVO X-Message-ID-Hash: XEC4ASBWAYYFZ35MBVT34N2MIGJIZYVO X-Mailman-Approved-At: Wed, 14 May 2025 17:59:49 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Takashi and Kailang, I did a few additional experiments. Here is what I found: 1. If I connect headphones and ALWAYS keep them connected, then sound does = not disappear even after a warm reboot. 2. The moment I disconnect headphones and do a warm reboot, sound is not go= ing to come back. At that point, connecting or disconnecting headphones, re= booting is not going to change anything (i.e., recover the sound) until I f= ully power off the computer. 3. After reverting the commit, the above problems disappear for speakers, a= nd no additional issues with headphones are observed. 4. Whether I revert or do not revert the above-mentioned commit, the headph= ones are sometime flaky if I already have an application running that uses = sound. I have to close that application, disconnect and connect headphones = again. Otherwise, the speaker does not get disconnected. The headphones seem to be even more flaky when NOT reverting the above comm= it - unless I booted the system with the headphones connected, the speaker = will never get disconnected. Sincerely, Ruslan On Monday, May 12, 2025 at 11:07:02 AM EDT, Takashi Iwai wr= ote:=20 On Mon, 12 May 2025 16:56:17 +0200, Ruslan Nikolaev wrote: >=20 > Hi, >=20 > Forwarding my regression bug report for HP 15-fc000 / ALC236 (ALC256 code= path). >=20 > #regzbot introduced: v6.12.2 > https://bugzilla.kernel.org/show_bug.cgi?id=3D220109 >=20 > Sincerely, > Ruslan >=20 > Forwarded Message (see logs in the bug report above): >=20 > There was a similar bug in the past (Bug 217440), which was fixed for thi= s laptop. (I believe the code path is for ALC256, see below.) The same issu= e is occurring again as of kernel v.6.12.2. The symptoms are very similar -= initially audio works but after a warm reboot, the audio completely disapp= ears until the computer is powered off (there is no audio output at all). >=20 > The issue is caused by a different change now. By bisecting different ker= nel versions, I found that reverting cc3d0b5dd989d3238d456f9fd385946379a9c1= 3d in patch_realtek.c ( see https://git.kernel.org/pub/scm/linux/kernel/git= /stable/linux.git/commit/sound/pci/hda/patch_realtek.c?h=3Dv6.12.2&id=3D4ed= 7f16070a8475c088ff423b2eb11ba15eb89b6 ) restores the sound and it works fin= e after the reboot. It's the commit cc3d0b5dd989d3238d456f9fd385946379a9c13d Author: Kailang Yang Date:=C2=A0 Thu Nov 14 15:21:09 2024 +0800 =C2=A0 =C2=A0 ALSA: hda/realtek: Update ALC256 depop procedure =C2=A0 =C2=A0=20 =C2=A0 =C2=A0 Old procedure has a chance to meet Headphone no output. =C2=A0 =C2=A0=20 =C2=A0 =C2=A0 Fixes: 4a219ef8f370 ("ALSA: hda/realtek - Add ALC256 HP depop= function") =C2=A0 =C2=A0 Signed-off-by: Kailang Yang =C2=A0 =C2=A0 Link: https://lore.kernel.org/463c5f93715d4714967041a0a8cec28= e@realtek.com =C2=A0 =C2=A0 Signed-off-by: Takashi Iwai and it modified alc256_init() sequence. Kailang, could you check this regression? And, Ruslan, it's the case without the headphone, right? Is the sound still lost when you connect the headphone and apply the same procedure? thanks, Takashi