Bug 220109 - Audio disappears on HP 15-fc000 after warm boot again (ALC256 code path)
Summary: Audio disappears on HP 15-fc000 after warm boot again (ALC256 code path)
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-12 01:30 UTC by Ruslan Nikolaev
Modified: 2025-05-13 10:35 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.12.2
Subsystem:
Regression: Yes
Bisected commit-id: cc3d0b5dd989d3238d456f9fd385946379a9c13d


Attachments
Log file (dmesg) - initial boot and after warm boot (1.95 KB, text/plain)
2025-05-12 02:31 UTC, Ruslan Nikolaev
Details
alsa-info output for the regression (first boot with audio) (30.48 KB, text/plain)
2025-05-13 10:17 UTC, Ruslan Nikolaev
Details
alsa-info output for the regression (warm reboot WITHOUT audio) (20.07 KB, text/plain)
2025-05-13 10:18 UTC, Ruslan Nikolaev
Details
alsa-info output for the reverted change (first boot with audio) (30.22 KB, text/plain)
2025-05-13 10:19 UTC, Ruslan Nikolaev
Details
alsa-info output for the reverted change (warm reboot with audio) (30.29 KB, text/plain)
2025-05-13 10:19 UTC, Ruslan Nikolaev
Details

Description Ruslan Nikolaev 2025-05-12 01:30:17 UTC
There was a similar bug in the past (Bug 217440), which was fixed for this laptop. (I believe the code path is for ALC256, see below.) The same issue 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 disappears until the computer is powered off (there is no audio output at all).

The issue is also related by caused by a different change now. By bisecting different kernel versions, I found that reverting cc3d0b5dd989d3238d456f9fd385946379a9c13d 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=v6.12.2&id=4ed7f16070a8475c088ff423b2eb11ba15eb89b6 ) restores the sound and it works fine after the reboot.
Comment 1 Ruslan Nikolaev 2025-05-12 02:31:33 UTC
Created attachment 308113 [details]
Log file (dmesg) - initial boot and after warm boot
Comment 2 Ruslan Nikolaev 2025-05-12 02:35:50 UTC
Just to clarify, in the last two lines after warm reboot:
[    9.594956] hdaudio hdaudioC1D0: no AFG or MFG node found
[    9.594965] snd_hda_intel 0000:03:00.6: no codecs initialized
Comment 3 Kailiang Yang 2025-05-13 06:14:22 UTC
Could you run alsa-info.sh to dump codec info?

Please do ==> echo 1  > /sys/module/snd_hda_codec/parameters/dump_coef

before do alsa-info.sh.
Comment 4 Ruslan Nikolaev 2025-05-13 10:17:49 UTC
Created attachment 308121 [details]
alsa-info output for the regression (first boot with audio)
Comment 5 Ruslan Nikolaev 2025-05-13 10:18:20 UTC
Created attachment 308122 [details]
alsa-info output for the regression (warm reboot WITHOUT audio)
Comment 6 Ruslan Nikolaev 2025-05-13 10:19:04 UTC
Created attachment 308123 [details]
alsa-info output for the reverted change (first boot with audio)
Comment 7 Ruslan Nikolaev 2025-05-13 10:19:30 UTC
Created attachment 308124 [details]
alsa-info output for the reverted change (warm reboot with audio)
Comment 8 Ruslan Nikolaev 2025-05-13 10:20:52 UTC
Added alsa-info outputs:

1. the original code with the regression (kernel v6.14, standard with Ubuntu 25.04)
2. the reverted change (kernel v6.15rc5, compiled)
Comment 9 Ruslan Nikolaev 2025-05-13 10:35:39 UTC
Kailiang,

I added alsa-info outputs to https://bugzilla.kernel.org/show_bug.cgi?id=220109 (see attachments for both the regression and reverted changes) by following your instructions.
Please let me know if there is any other information you need.


Thanks,
Ruslan



On Tuesday, May 13, 2025 at 02:30:17 AM EDT, <bugzilla-daemon@kernel.org> wrote: 





https://bugzilla.kernel.org/show_bug.cgi?id=220109

Kailiang Yang (kailang@realtek.com) changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
                CC|                            |kailang@realtek.com

--- Comment #3 from Kailiang Yang (kailang@realtek.com) ---

Could you run alsa-info.sh to dump codec info?

Please do ==> echo 1  > /sys/module/snd_hda_codec/parameters/dump_coef

before do alsa-info.sh.

Note You need to log in before you can comment on or make changes to this bug.