Re: [REGRESSION][BISECTED] My audio broke (was: [PATCH 05/27] ALSA: hda: Move controller drivers into sound/hda/controllers directory)

Takashi Iwai
2025-10-15T12:05:59Z

On Wed, 15 Oct 2025 13:44:21 +0200,
Askar Safin wrote:
>
> On Wed, Oct 15, 2025 at 10:47 AM Takashi Iwai <tiwai@suse.de> wrote:
> > And have you unmuted all sounds properly?
>
> KDE volume widget shows that I have no audio devices.
> So I cannot unmute anything.
>
> > Please give alsa-info.sh output (at best from both and non-working
> > cases). Run the script with --no-upload and attach the outputs.
>
> Okay. First is pre-culprit kernel, i. e.
> 146355ee880e6d15ba12e2baf5be70e5efe07796, i. e.
> patch #4 in this patchset ("ALSA: hda: Move
> CONFIG_SND_HDA_PREALLOC_SIZE into sound/hda/common").
> Config is attachment "config-6.16.0-rc4-preculp".
> "alsa-info" output is attachment "alsa-preculp".
>
> Then culprit kernel, i. e. 2d9223d2d64cb5216859ced6cc33fb3b04e5f98f, i. e.
> patch #5 in this patchset ("ALSA: hda: Move controller drivers into
> sound/hda/controllers directory").
> Config is attachment "config-6.16.0-rc4-culp".
> "alsa-info" output is attachment "alsa-culp".
>
> These two configs are same, they differ in order of parameters only.

The dmesg snippet in the new kernel shows:

[ 3.990348] snd_soc_avs 0000:00:1f.3: enabling device (0000 -> 0002)
[ 3.990686] snd_soc_avs 0000:00:1f.3: bound 0000:00:02.0 (ops intel_audio_component_bind_ops [i915])
[ 4.029315] snd_soc_avs 0000:00:1f.3: Direct firmware load for intel/avs/adl/dsp_basefw.bin failed with error -2
[ 4.029319] snd_soc_avs 0000:00:1f.3: request firmware failed: -2
[ 4.029346] snd_soc_avs 0000:00:1f.3: firmware boot failed: -2

... which implies that another new driver (ASoC AVS) takes over the
device instead of the previous HDA-Intel, and its probe failed due to
the lack of the firmware. It seems that Intel didn't release the
firmware for avs with ADL platform.

If that's the case, try to choose HDA-Intel driver by passing
snd_intel_dspcfg.dsp_driver=1 boot option. Or disabling
CONFIG_SND_SOC_INTEL_AVS could help, too.

BTW, you also miss HDMI/DP audio.
Set CONFIG_SND_HDA_CODEC_HDMI=m and CONFIG_SND_HDA_CODEC_HDMI_INTEL=m
in addition.

Takashi