Leap 15.6 - no sound. Kernel module snd-sof-pci-intel-cnl cannot be loaded

I have just installed 15.6 on my Acer laptop, after using 15.5 for many months without any sound problem. Note it was a full new installation of 15.6, not an upgrade from 15.5. On the first boot I had exactly the same issue as in another recent post - “Audio volume” indicates “No output or input devices found”. If I attempt to configure the sound card using YaST with quick-automatic-setup, I receive:
" The kernel module snd-sof-pci-intel-cnl for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters."
In that previous post, the problem apparently went away on its own but in my case, while it was not present on the next boot, it reappeared on all subsequent boots. Here is some diagnostic output which might be relevant:

malcolm@localhost:~> inxi -Aa
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio
    vendor: Acer Incorporated ALI driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  API: ALSA v: k6.4.0-150600.23.17-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.5 status: off with: 1: wireplumber
    status: active 2: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
malcolm@localhost:~> sudo dmesg|egrep -i "snd|firmware"
[sudo] password for root: 
[    1.560638] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    5.044324] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    5.069876] iwlwifi 0000:00:14.3: loaded firmware version 77.85be44d3.0 QuZ-a0-hr-b0-77.ucode op_mode iwlmvm
[    5.284523] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    5.284525] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    5.379463] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    5.379466] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    5.384076] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
[    6.037982] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    6.073059] Bluetooth: hci0: Found device firmware: intel/ibt-19-0-4.sfi
[    6.073076] Bluetooth: hci0: Firmware Version: 132-3.24
[    7.986043] Bluetooth: hci0: Waiting for firmware download to complete
[    7.986983] Bluetooth: hci0: Firmware loaded in 1869085 usecs
[    8.005110] Bluetooth: hci0: Firmware revision 0.4 build 132 week 3 2024
malcolm@localhost:~> cat /etc/modprobe.d/*
Local configuration for modprobe(8)
===================================

The distribution-provided modprobe configuration files have moved to /lib/modprobe.d.
To modify the configuration, copy files from /lib/modprobe.d to this directory
(/etc/modprobe.d) and edit them here.

See also /lib/modprobe.d/README, /usr/share/doc/packages/suse-module-tools/README.md, and the
man page modprobe.d(5).
# This file specifies additional parameters to kernel modules added by Tuned.
# Its content is set by the Tuned modules plugin.
#
# Please do not edit this file. Content of this file can be overwritten by
# switch of Tuned profile.
#
# If you need to add kernel module parameter which should be handled by Tuned,
# create Tuned profile containing the following:
#
# [modules]
# MODULE_NAME = MODULE_PARAMETERS
#
# Then switch to your newly created profile by:
#
# tuned-adm profile YOUR_NEW_PROFILE
#
# and reboot or reload the module
#
# Tuned tries to automatically reload the module if specified the following
# way:
#
# [modules]
# MODULE_NAME = +r,MODULE_PARAMETERS
#

In the output from dmesg above, I noticed an error which may be relevant, although I have no idea what it means.

I checked with YaST what version of sof-firmware I have installed - it’s:
‘2023.09.2-150600.1.2-noarch from vendor SUSE LLC’

Any advice most welcome

Malcolm

I seem to have the same problem on my recent HP laptop -

Aug 19 18:31:52 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Aug 19 18:31:52 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Aug 19 18:31:52 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
Aug 19 18:31:52 laptop kernel: [68B blob data]
Aug 19 18:31:52 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: add_route failed: -22
Aug 19 18:31:52 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: could not load header: -22
Aug 19 18:31:52 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22
Aug 19 18:31:52 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22
Aug 19 18:31:52 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
Aug 19 18:31:52 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -22
Aug 19 18:31:52 laptop kernel: skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -22

I have found the sof project but it’s not clear how best to get the latest code.

The strange thing is that it was working when I initially installed leap 15.6 a month ago, I’m not sure when it stopped

Just found https://build.opensuse.org/package/show/openSUSE:Factory/sof-firmware so will try updating to this much newer version.

Cheers
Richard

So I now have installed sof-firmware-2024.06-lp156.69.1.noarch from https://download.opensuse.org/repositories/multimedia:/libs/15.6/noarch/

but no joy:

Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
Aug 19 19:43:30 laptop systemd[1]: Reloading requested from client PID 29978 ('systemctl') (unit user@1000.service)...
Aug 19 19:43:30 laptop systemd[1]: Reloading...
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
Aug 19 19:43:30 laptop kernel: [68B blob data]
Aug 19 19:43:30 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: add_route failed: -22
Aug 19 19:43:30 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: could not load header: -22
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22
Aug 19 19:43:30 laptop kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
Aug 19 19:43:30 laptop kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -22
Aug 19 19:43:30 laptop kernel: skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -22

:frowning:

Update: SOLVED all now working after another reboot.
Looks as though the updated firmware was what was needed.
:slight_smile:

I’ll try that myself. Strangely, however, on my latest reboot, the problem went away for me - but that’s not a satisfactory state of affairs, so I’ll certainly try the new sof-firmware

Same problem here, went away after download of actual sof-firmware and a second reboot…

It is a bit mystical tough.

Problem came back after wakeup from hibernation…

Yes, mine too.

Based on it being the first error reported, I think the key line from dmesg / systemd journal is

sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30

R.

Seems to be related to [BUG] Intel Corporation Tiger Lake error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read · Issue #9339 · thesofproject/sof · GitHub - at the end they recommend a newer kernel…

But still interesting why it sometimes worked…

Tried out a newly built 6.4 kernel with the standard 023.09.2-150600.1.2-noarch firmware according to 1226346 – No audio in Controller Intel Tiger Lake-LP

with success (so far…).

It seems to me that this will be made available to the standard 15.6 repos as well.

Thanks j-fu, that seems to fix it for me, too.

[    6.869001] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
...
[    7.015147] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    7.015388] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    7.015468] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    7.022180] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    7.053075] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    7.053081] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    7.053085] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    7.055441] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    7.055445] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    7.055451] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
...
[    7.151237] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    7.151246] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    7.160106] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[    7.160311] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred
...
[    8.269595] snd_hda_codec_realtek ehdaudio0D0: bound i2c-CSC3551:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[    8.270407] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    8.270420] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    8.270425] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    8.270429] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0
[    8.270431] snd_hda_codec_realtek ehdaudio0D0:    inputs:
[    8.270435] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19
[    8.321519] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3
[    8.342612] input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input15
[    8.342837] input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input16
[    8.342945] input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input17
[    8.343029] input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input18
[    8.343121] input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0/input19
[    8.667867] bpfilter: Loaded bpfilter_umh pid 1807

I note I am still seeing the unknown sof_ext_man header type 3 size 0x30 message, though it seems somehow not to be an issue.

I haven’t made any recent changes to my system (kernel-default 6.4.0-150600.23.17.1 and sof firmware ‘2023.09.2-150600.1.2-noarch from vendor SUSE LLC’) and it seems totally random whether I get sound or not. For a few days, it’s OK on every boot and then suddenly it isn’t!

Installing sof-firmware-2024.06-lp156.69.1.noarch from https://download.opensuse.org/repositories/multimedia:/libs/15.6/noarch/ does not solve my problem wich is exactly the same of @mkmacvean

How did you solve? Endless number of reboots didn’t solve …

The bug is closed and they just say to use an updated kernel …

I haven’t been able to fix it, so am just living with it for now, in the hope that there will be a kernel update for Leap 15.6 to deal with it before too long. I note that in the bug report that is referenced they refer to kernel 6.10 when Leap 15.6 is using 6.4!!
I am able to live with it at present because so far I’ve never had to reboot more than 3 times before the sound comes back. Definitely a very bad state of affairs though.

1 Like

I’ve got an option during boot to use the old kernel (5.14.21 instead of 6.4.0). No problem with sound system using this kernel.

So I’ll live with this bug using old kernel when I need audio (e.g. for a Zoom conference).

Bye!

I have an Intel Tiger Lake-LP Smart Sound Audio on my Lenovo laptop, and on my LEAP-15.6 install I have been getting intermittent sound issues where upon boot the sound card was not identified. Checking the error messages did suggest a downloadable sound firmware issue (either in the downloadable firmware, or in the kernel interface to the firmware).

Currently sound is working (for past few boots) where I have the “6.4.0-150600.23.17-default” kernel and the “sof-firmware-2024.06-lp156.70.1.noarch” installed.

However I have not been running this long enough to be confident the issue won’t come back. When I do have a sound issue, typically when I reboot to a much much older kernel version, the sound will work.

I have similar problems on my dell xps 13 9310 with opensuse leap 15.6. At this point, no matter whether I upgrade the sof-firmware or not, the last-but-one kernel 6.4.0-150600.23.14 gives perfect sound on all channels while the current 6.4.0-150600.23.17 only gives sound on a usb-connected device, showing no other devices whatsoever.

And zypper-dup wants to downgrade the sof-firmware 2024.06-lp156.69.1 → 2023.09.2-150600.1.2, I’ll probably let it do that, since it does not seem to affect the problem.

I also note that the page openSUSE Software says “There is no official package available for openSUSE Leap 15.6” which is not a very helpful statement for me.

Any suggestions for a stable solution on the kernel 6.4.0-150600.23.17 would be appreciated!

1 Like

Yesterday sound worked again.
My kernel now is 6.4.0-150600.23.22-default (yast update)

For me as well, the latest kernel update does seem to have fixed the problem.
Very relieved!

1 Like