linux icon indicating copy to clipboard operation
linux copied to clipboard

[BUG] sof-firmware-2023.12, alderlake, no sound with kernel 6.6.21

Open psammarco opened this issue 10 months ago • 1 comments

Hello folks,

I have recently built a gentoo-sources-6.6.21 kernel (basically mainline with Fedora patches) but it looks like the sound card is not recognised.

The 6.6.21 kernel was built using the previous 6.1.74 config where audio works just fine.

Information: ThinkPad P14s Gen 3 i7-1260P Kernel 6.6.21 sof-firmware-2023.12

Output of alsa-info can be found here.

This is how the soundcard is seen under 6.1.74. Kernel config can be found here.

Thanks :)

psammarco avatar Apr 06 '24 17:04 psammarco

It's probably something missing in your .config @psammarco, the HDaudio codecs are not detected:

[   15.603316] sof-audio-pci-intel-tgl 0000:00:1f.3: codec #0 probe error, ret: -2
[   15.604291] sof-audio-pci-intel-tgl 0000:00:1f.3: codec #2 probe error, ret: -2
[   15.604783] sof-audio-pci-intel-tgl 0000:00:1f.3: no hda codecs found!
[   15.604798] sof-audio-pci-intel-tgl 0000:00:1f.3: warning: No matching ASoC machine driver found

Can you clone this: https://github.com/thesofproject/kconfig and then update your .config with

kconfig/kconfig-distro-sof-update.sh

See https://thesofproject.github.io/latest/getting_started/setup_linux/install_locally.html

Also you should try the recommendations in https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#disable-sof-on-pci-hdaudio-devices-to-test-audio-playback to see what happens with the codec detection, it's not clear to me it's an SOF driver issue.

plbossart avatar Apr 08 '24 15:04 plbossart

Hello @plbossart ,

apology for the late reply but I just saw this yesterday.

You were right this was not a bug in sof. I merged my kernel config using the script you recommended and I can confirm audio works on 6.6.21.

Thanks

psammarco avatar Apr 25 '24 11:04 psammarco