[Bug 1230115] New: kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-rpl-s.ri failed with error -2
https://bugzilla.suse.com/show_bug.cgi?id=1230115 Bug ID: 1230115 Summary: kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-rpl-s.ri failed with error -2 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel:Drivers Assignee: kernel-bugs@suse.de Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- (Note: Bugzilla's description for "Kernel:Drivers" says "Bugs pertaining to Kernel filesystems"; copied from Kernel:Filesystems? Could be I reported this several years ago already ;-)) It seems the sound system of the Lenovo ThinkPad P16 Gen2 (Board 21FA000AGE, Intel Corporation Raptor Lake High Definition Audio Controller) isn't supported, or if it's supported, it's broken: Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-rpl-s.ri failed with error -2 Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: download it from https://github.com/thesofproject/sof-bin/ Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2 Sep 03 23:00:41 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2 Shouldn't the firmware be part of the distribution? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c4 --- Comment #4 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Even after installing sof-firmware-2023.09.2-150600.1.2.noarch the sound won't work with kernel 6.4.0-150600.23.17-default: Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22 Sep 04 22:37:13 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22 Now is this a kernel driver problem or not? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c6 --- Comment #6 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- I had updated the kernel before, but that update wasn't new enough, it seems. Trying 6.10.7 next... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c8 --- Comment #8 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Takashi Iwai from comment #7)
The latest Leap 15.6 release kernel (6.4.0-150600.23.17) is the problematic one. Either the previous release kernel (6.4.0-150600.23.14) or the latest build from SLE15-SP6 git branch (found in OBS Kernel:SLE15-SP6 repo) should work.
In https://bugzilla.opensuse.org/show_bug.cgi?id=1229191#c8 you recommended
http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/
So I had used that. Actually I have installed both: # rpm -qa kernel-default kernel-default-6.4.0-150600.23.17.1.x86_64 kernel-default-6.10.7-lp155.5.1.g82ae1ec.x86_64 I'll boot the older one and report i a moment. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c9 --- Comment #9 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Created attachment 877176 --> https://bugzilla.suse.com/attachment.cgi?id=877176&action=edit Result when trying t configue sound with yast From kernel 6.4.0-150600.23.17-default: Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0 Sep 07 09:28:27 localhost kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: add_route failed: -22 Sep 07 09:28:27 localhost kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: could not load header: -22 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22 Sep 07 09:28:27 localhost kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22 Sep 07 09:28:27 localhost kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -22 Sep 07 09:28:27 localhost kernel: skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -22 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c10 --- Comment #10 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Messages above are the output of "journalctl -b | egrep 'sof-|skl_'". -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c12 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |--- Status|RESOLVED |REOPENED --- Comment #12 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Even after updating the kernel to latest, it does not work ("yast2 sound" fails with unspecific error message): Kernel: 6.11.1-lp155.2.g3bf25fe-default sof-firmware-2023.09.2-150600.1.2.noarch Kernel messages: Oct 01 19:27:05 P16-G2-1.fritz.box kernel: snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0: Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-rpl-s.ri Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-hda-generic-2ch.tplg Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:1 Oct 01 19:27:05 P16-G2-1.fritz.box kernel: skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: Parent card not yet available, widget card binding deferred Oct 01 19:27:06 P16-G2-1.fritz.box kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker Oct 01 19:27:06 P16-G2-1.fritz.box kernel: snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Oct 01 19:27:06 P16-G2-1.fritz.box kernel: snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) Oct 01 19:27:06 P16-G2-1.fritz.box kernel: snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: snd_hda_codec_realtek ehdaudio0D0: inputs: Oct 01 19:27:06 P16-G2-1.fritz.box kernel: snd_hda_codec_realtek ehdaudio0D0: Mic=0x19 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: input: sof-hda-dsp Mic as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input27 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: input: sof-hda-dsp Headphone as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input28 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input29 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: input: sof-hda-dsp HDMI/DP,pcm=4 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input30 Oct 01 19:27:06 P16-G2-1.fritz.box kernel: input: sof-hda-dsp HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1/input31 # hwinfo --sound 26: PCI 1f.3: 0403 Audio device [Created at pci.386] Unique ID: nS1_.KOjuwFdqHKD SysFS ID: /devices/pci0000:00/0000:00:1f.3 SysFS BusID: 0000:00:1f.3 Hardware Class: sound Model: "Intel Audio device" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x7a50 SubVendor: pci 0x17aa "Lenovo" SubDevice: pci 0x2304 Revision: 0x11 Memory Range: 0x6256630000-0x6256633fff (rw,non-prefetchable) Memory Range: 0x6256400000-0x62564fffff (rw,non-prefetchable) IRQ: 17 (no events) Module Alias: "pci:v00008086d00007A50sv000017AAsd00002304bc04sc03i80" Driver Info #0: Driver Status: snd_hda_intel is active Driver Activation Cmd: "modprobe snd_hda_intel" Driver Info #1: Driver Status: snd_soc_avs is not active Driver Activation Cmd: "modprobe snd_soc_avs" Driver Info #2: Driver Status: snd_sof_pci_intel_tgl is not active Driver Activation Cmd: "modprobe snd_sof_pci_intel_tgl" Config Status: cfg=no, avail=yes, need=no, active=unknown -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel: |kernel: Intel HDA |sof-audio-pci-intel-tgl |(0x8086:0x7a50) sound fails |0000:00:1f.3: Direct |to configure for Lenovo |firmware load for |Thinkpad P16 Gen 2 |intel/sof/sof-rpl-s.ri |(21FA000AGE) |failed with error -2 | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel:Drivers |Sound Assignee|kernel-bugs@suse.de |tiwai@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230115 https://bugzilla.suse.com/show_bug.cgi?id=1230115#c16 --- Comment #16 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Takashi Iwai from comment #13)
So, scratch the setup it made. It likely made some configuration in /etc/modprobe.d/*.
I had: P16-G2-1:/etc/modprobe.d # cat 50-sound.conf options snd slots=snd-hda-intel # NXNs.aLLvPWH1NV4:nVidia Corporation alias snd-card-0 snd-hda-intel
Then install the latest sof-firmware package from OBS multimedia:libs repo http://download.opensuse.org/repositories/multimedia:/libs/15.6/ and retest. The sof-firmware package of the current Leap 15.6 might be too old for the newer kernels.
So I replaced sof-firmware-2024.09-lp156.71.1.noarch sof-firmware-2023.09.2-150600.1.2.noarch Interestingly no new firmware was loaded after P16-G2-1:/etc/modprobe.d # modprobe -r snd_hda_intel P16-G2-1:/etc/modprobe.d # modprobe snd_hda_intel , but sound worked then. # hwinfo --sound 26: PCI 1f.3: 0403 Audio device [Created at pci.386] Unique ID: nS1_.KOjuwFdqHKD SysFS ID: /devices/pci0000:00/0000:00:1f.3 SysFS BusID: 0000:00:1f.3 Hardware Class: sound Model: "Intel Audio device" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x7a50 SubVendor: pci 0x17aa "Lenovo" SubDevice: pci 0x2304 Revision: 0x11 Driver: "sof-audio-pci-intel-tgl" Driver Modules: "snd_sof_pci_intel_tgl" Memory Range: 0x6256630000-0x6256633fff (rw,non-prefetchable) Memory Range: 0x6256400000-0x62564fffff (rw,non-prefetchable) IRQ: 241 (2640 events) Module Alias: "pci:v00008086d00007A50sv000017AAsd00002304bc04sc03i80" Driver Info #0: Driver Status: snd_hda_intel is active Driver Activation Cmd: "modprobe snd_hda_intel" Driver Info #1: Driver Status: snd_soc_avs is active Driver Activation Cmd: "modprobe snd_soc_avs" Driver Info #2: Driver Status: snd_sof_pci_intel_tgl is active Driver Activation Cmd: "modprobe snd_sof_pci_intel_tgl" Config Status: cfg=no, avail=yes, need=no, active=unknown For completeness I also tested the analog audio connector on my Thunderbolt 4 docking station: It worked, too! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com