Skip to content

Audio driver fails to load on HP Omen 14, Intel Core 9 Ultra Meteor Lake #4880

Closed

Description

@CNG

Hello,

On my HP OMEN Transcend Gaming Laptop 14t-fb000 with an Intel Core 9 Ultra CPU I have a similar driver failure issue as #4879 but my topology file that's missing sof-mtl-rt711-2ch.tplg is slightly different than @moritz89's sof-mtl-rt711.tplg. I initially wrote this up on the Arch Linux forums at No builtin speaker audio, HP Omen 14, Intel Core 9 Ultra Meteor Lake but haven't gotten any feedback there. Hopefully this is a more appropriate place to seek guidance.

Environment

  • HP OMEN Transcend Gaming Laptop 14t-fb000
  • Intel Core 9 Ultra, Meteor Lake
  • Arch Linux 6.8.1-arch1-1

sudo dmesg | grep -E "sof-|snd"

[   15.565611] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   15.565642] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[   17.462418] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[   17.462667] snd_hda_intel 0000:01:00.1: Disabling MSI
[   17.462685] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   17.481646] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[   17.586793] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   17.586818] sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[   17.586845] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[   17.587091] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   17.587169] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   17.594214] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[   17.605683] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   17.605687] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
[   17.608688] sof-audio-pci-intel-mtl 0000:00:1f.3: SOF firmware and/or topology file not found.
[   17.608776] sof-audio-pci-intel-mtl 0000:00:1f.3: Supported default profiles
[   17.608778] sof-audio-pci-intel-mtl 0000:00:1f.3: - ipc type 1 (Requested):
[   17.608780] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file: intel/sof-ipc4/mtl/sof-mtl.ri
[   17.608782] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file: intel/sof-ace-tplg/sof-mtl-rt711-2ch.tplg
[   17.608784] sof-audio-pci-intel-mtl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.
[   17.608785] sof-audio-pci-intel-mtl 0000:00:1f.3: Optionally it can be manually downloaded from:
[   17.608787] sof-audio-pci-intel-mtl 0000:00:1f.3:    https://github.com/thesofproject/sof-bin/
[   17.610259] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof_probe_work failed err: -2

I do have Arch's latest sof-firmware and sof-bin packages installed. I also tried to locate that referenced sof-mtl-rt711-2ch.tplg topology file, but did not find it in the sof-bin repo. Indeed the only result on Google for that string is my forum post on this issue.

Per recommendation in #4879 I've saved sof-dyndbg.conf.txt to /etc/modprobe.d/sof-dyndbg.conf and generated alsa-info. I see the dmesg is at the bottom of that, but here is it filtered with the same pattern I had used above for completeness:

sudo dmesg | grep -E "sof-|snd"

[   13.825937] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   13.825959] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
[   13.825966] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
[   13.825970] snd_hda_intel 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[   15.720671] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[   15.721137] snd_hda_intel 0000:01:00.1: Disabling MSI
[   15.721163] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   15.739565] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[   15.840049] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   15.840076] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
[   15.840085] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
[   15.840088] sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[   15.840090] snd_sof_pci:sof_pci_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: PCI DSP detected
[   15.840097] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[   15.840331] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   15.840403] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   15.847108] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0xc00
[   15.847115] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found ML capability at 0xc00
[   15.847118] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0x500
[   15.847121] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found DRSM capability at 0x500
[   15.847123] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0x700
[   15.847127] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found SPIB capability at 0x700
[   15.847128] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: checking for capabilities at offset 0x800
[   15.847133] snd_sof_intel_hda_common:hda_dsp_ctrl_get_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: found DSP capability at 0x800
[   15.847374] snd_sof_intel_hda_common:hda_dsp_stream_init: sof-audio-pci-intel-mtl 0000:00:1f.3: hda global caps = 0x1009a01
[   15.847377] snd_sof_intel_hda_common:hda_dsp_stream_init: sof-audio-pci-intel-mtl 0000:00:1f.3: detected 9 playback and 10 capture streams
[   15.847483] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[   15.847485] snd_sof_intel_hda_common:hda_dsp_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: using IPC IRQ 201
[   15.847556] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[   15.847560] snd_sof_intel_hda_common:hda_init_caps: sof-audio-pci-intel-mtl 0000:00:1f.3: PP capability, will probe DSP later.
[   15.850581] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[   15.855057] snd_sof_intel_hda:hda_codec_detect_mask: sof-audio-pci-intel-mtl 0000:00:1f.3: codec_mask = 0x4
[   15.855073] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[   15.855076] snd_sof:snd_sof_pci_update_bits_unlocked: sof-audio-pci-intel-mtl 0000:00:1f.3: Debug PCIW: 00000040 at  00000048
[   15.856414] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
[   15.856421] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
[   15.856845] snd_sof_intel_hda:hda_codec_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: HDA codec #2 probed OK: response: 8086281d
[   15.857421] snd_sof_intel_hda:request_codec_module: snd_hda_codec_hdmi ehdaudio0D2: loading codec module: hdaudio:v8086281Dr00100000a01
[   15.858994] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: found 1 format definitions
[   15.858996] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: max channels found 2
[   15.858998] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: Array with 2 dmics
[   15.858999] snd_intel_dspcfg:intel_nhlt_get_dmic_geo: sof-audio-pci-intel-mtl 0000:00:1f.3: dmic number 2 max_ch 2
[   15.859002] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[   15.859004] snd_sof_intel_hda_common:hda_sdw_machine_select: sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire machine driver sof_sdw topology sof-mtl-rt711-2ch.tplg
[   15.859006] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
[   15.861894] snd_sof:sof_test_topology_file: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to open topology file: intel/sof-ace-tplg/sof-mtl-rt711-2ch.tplg
[   15.861898] sof-audio-pci-intel-mtl 0000:00:1f.3: SOF firmware and/or topology file not found.
[   15.861951] sof-audio-pci-intel-mtl 0000:00:1f.3: Supported default profiles
[   15.861952] sof-audio-pci-intel-mtl 0000:00:1f.3: - ipc type 1 (Requested):
[   15.861954] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file: intel/sof-ipc4/mtl/sof-mtl.ri
[   15.861955] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file: intel/sof-ace-tplg/sof-mtl-rt711-2ch.tplg
[   15.861957] sof-audio-pci-intel-mtl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.
[   15.861958] sof-audio-pci-intel-mtl 0000:00:1f.3: Optionally it can be manually downloaded from:
[   15.861959] sof-audio-pci-intel-mtl 0000:00:1f.3:    https://github.com/thesofproject/sof-bin/
[   15.862046] snd_sof_intel_hda_common:mtl_enable_sdw_irq: sof-audio-pci-intel-mtl 0000:00:1f.3: FW Poll Status: reg[0x114c]=0x0 successful
[   15.864233] snd_sof_intel_hda_common:mtl_power_down_dsp: sof-audio-pci-intel-mtl 0000:00:1f.3: FW Poll Status: reg[0x1000]=0x0 successful
[   15.864344] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof_probe_work failed err: -2

Is there anything else I should provide?

Thank you!
Charlie

Activity

  1. moritz89 commented on Mar 27, 2024

    @moritz89

    The sof-mtl-rt711.tplg was only reported as it did not detect the actual hardware. It would be useful if you could find the actual chipset used by the laptop. Alternatively, try signing and booting the latest 6.9 kernel.

  2. charleskeepax commented on Mar 27, 2024

    @charleskeepax

    This laptop is genuinely using Realtek parts:

    [ 15.856504] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-0: SDW Slave Addr: 30025d071101
    [ 15.856507] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-0: SDW Slave class_id 0x01, mfg_id 0x025d, part_id 0x0711, unique_id 0x0, version 0x3
    [ 15.856686] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-3: SDW Slave Addr: 330025d131601
    [ 15.856688] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-3: SDW Slave class_id 0x01, mfg_id 0x025d, part_id 0x1316, unique_id 0x0, version 0x3

    So completely unrelated issues to the other ticket.

  3. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    Yes, it's a different issue indeed. Thanks @CNG for the detailed reports, much appreciated.

    [   15.856414] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: ACPI reports 4 SDW Link devices
    [   15.856421] snd_intel_sdw_acpi:sdw_intel_scan_controller: acpi PRP00001:00: Link 1 not selected in firmware
    [   15.856426] soundwire_intel:sdw_intel_probe_controller: acpi PRP00001:00: Creating 4 SDW Link devices
    [   15.856504] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-0: SDW Slave Addr: 30025d071101
    [   15.856507] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-0: SDW Slave class_id 0x01, mfg_id 0x025d, part_id 0x0711, unique_id 0x0, version 0x3
    [   15.856686] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-3: SDW Slave Addr: 330025d131601
    [   15.856688] soundwire_bus:sdw_extract_slave_id: soundwire sdw-master-0-3: SDW Slave class_id 0x01, mfg_id 0x025d, part_id 0x1316, unique_id 0x0, version 0x3
    [   15.856845] snd_sof_intel_hda:hda_codec_probe: sof-audio-pci-intel-mtl 0000:00:1f.3: HDA codec #2 probed OK: response: 8086281d
    [   15.856854] soundwire_intel:intel_link_process_wakeen_event: soundwire_intel soundwire_intel.link.0: SoundWire master 0 is disabled or not-started, ignoring
    [   15.856864] soundwire_intel:intel_link_process_wakeen_event: soundwire_intel soundwire_intel.link.2: SoundWire master 2 is disabled or not-started, ignoring
    [   15.856869] soundwire_intel:intel_link_process_wakeen_event: soundwire_intel soundwire_intel.link.3: SoundWire master 3 is disabled or not-started, ignoring
    

    That's a new one, not sure what's going on, but unfortunately every new generation of HP devices seems to have issues with the ACPI definitions. We do have existing quirks for HP 'Omen' devices, but maybe they are not applied correctly. see e.g. #4088 for this sort of problems

    can you provide the results of this command

    cat /sys/bus/acpi/devices/*/adr | grep 025d
    

    that will tell us what devices are listed in ACPI and then we can check the quirks. Thanks!

  4. CNG commented on Mar 27, 2024

    @CNG
    Author

    Sure thing!

    # cat /sys/bus/acpi/devices/*/adr | grep 025d
    0x000030025d071101
    0x000330025d131601
    
  5. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    ok so that's rt711-sdca on link0 and rt1316 on link3.

    Of course we don't have this configuration with a single amp, we only have the configuration with two amps...

  6. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    @CNG can you apply this patch on your kernel and retest?
    https://github.com/thesofproject/linux/commit/07e34a64c4e83dc10b1a74badf3dbb487378555c.patch

    That should detect the right configuration, but we still need to provide an updated topology file and also figure out why the link0 is not started.

  7. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    Also unzip this file generated from thesofproject/sof#8991
    sof-mtl-rt711-l0-rt1316-l3-2ch.tplg.gz
    and copy it in /lib/firmware/intel/sof-ace-tplg

    Completely untested, just to try to see what happens.

  8. CNG commented on Mar 27, 2024

    @CNG
    Author

    Had to read a bit of documentation (not having patched kernel before), and waiting for the package to build now.

    In case you get this before that's done, just to clarify, you'd like me to boot into the patched kernel and also add that topology file as part of the same test, or should I test each thing individually and together for 3 tests? For each test, would I be providing a new "alsa-info" or running other commands too? (I believe that alsa-info already contained the dmesg output, for example.)


    For my own reference, here's how I'm attempting to patch and build the kernel. Hopefully I've read the docs correctly:

    sudo pacman -S devtools pacman-contrib
    pkgctl repo clone --protocol=https linux
    cd linux
    
    # Should have done this but I forgot: Change to custom name:
    #   pkgbase=linux-custom
    # Add to source array ~L34 just before "config" line:
    #   https://github.com/thesofproject/linux/commit/07e34a64c4e83dc10b1a74badf3dbb487378555c.patch
    # Update checksums
    updpkgsums
    # Missing dependencies
    sudo pacman -S cpio pahole python-sphinx texlive-latexextra
    makepkg
    # To resolve ERROR: One or more PGP signatures could not be verified!
    gpg --recv-keys 38DBBDC86092693E
    gpg --recv-keys B8AC08600F108CDF
    
    export MAKEFLAGS="-j$(nproc)"
    time makepkg -s
    # Verify output contains like:
    #   Applying patch 07e34a64c4e83dc10b1a74badf3dbb487378555c.patch...
    #   patching file sound/soc/intel/common/soc-acpi-intel-mtl-match.c
    #   Hunk #1 succeeded at 288 (offset -8 lines).
    #   Hunk #2 succeeded at 505 (offset -66 lines).
    #   Hunk #3 succeeded at 610 (offset -86 lines).
    
    # I think since I didn't change the name in pkgbase I can just
    # install this over the top of my current kernel (risky?) and
    # not need to change boot loader.
    pacman -U linux-*.pkg.tar.zst
    
  9. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    I am not familiar at all with Arch Linux and always sucked at pacman. Maybe @ujfalusi can help?

    We have instructions here to build a kernel: https://thesofproject.github.io/latest/getting_started/setup_linux/prepare_build_environment.html
    https://thesofproject.github.io/latest/getting_started/setup_linux/install_locally.html

  10. CNG commented on Mar 27, 2024

    @CNG
    Author

    Thanks, it actually just finished, so I'll attempt to boot into it now.

  11. CNG commented on Mar 27, 2024

    @CNG
    Author

    All right, let me know if these look right. No sound magically appeared of course, but hopefully something useful. Also note I still have that /etc/modprobe.d/sof-dyndbg.conf file present, let me know if I should test without that at any point.

    • alsa-info.sh output immediately after booting into patched kernel
    • alsa-info.sh output immediately after booting into patched kernel with topology file added (sudo cp -a sof-mtl-rt711-l0-rt1316-l3-2ch.tplg /lib/firmware/intel/sof-ace-tplg)

    Also I see my kernel got bumped up from 6.8.1-arch1-1 to 6.8.2-arch1-1 in this process, in case it's relevant.

  12. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    ok, that's good progress @CNG.
    The two links do start and we can see the SoundWire devices attach on the bus. The hardware is correctly detected with the patch.

    The remaining issue is the topology, we have an error

       13.498766] sof_sdw sof_sdw: ASoC: physical link dmic01 (id 2) not exist
    

    That's not really surprising, I don't really understand all those DMIC options so not sure what the right settings should be.

    Please try with this file where I used only the defaults
    sof-mtl-rt711-l0-rt1316-l3-2ch.tplg.gz

  13. CNG commented on Mar 27, 2024

    @CNG
    Author

    All right, that produced:

    • alsa-info.sh output immediately after booting into patched kernel with "defaults" topology file sof-mtl-rt711-l0-rt1316-l3-2ch.tplg
  14. plbossart commented on Mar 27, 2024

    @plbossart
    Member

    ok, now the HDMI index is wrong... try this
    sof-mtl-rt711-l0-rt1316-l3-2ch.tplg.gz

  15. 21 remaining items

  16. ImDevinC commented on Jul 19, 2024

    @ImDevinC

    Should this fix be rolled out fully now? I'm on the same computer using arch linux but do not have audio and get the same dmesg errors as posted in the original post, using kernel 6.10 (was using 6.9 before) and have the latest available sof-firmware 2024.06-1 and have the latest alsa-ucm-conf which is from june 12 (1.2.12)

  17. plbossart commented on Jul 19, 2024

    @plbossart
    Member

    the patch is in 6.10, see
    0f8edb1 ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration

  18. CNG commented on Jul 19, 2024

    @CNG
    Author

    @ImDevinC do let me know if you get your sound working. :-) I was not able to have success running with Mr. Bossart's March 28 comment on next steps I should try.

  19. plbossart commented on Jul 19, 2024

    @plbossart
    Member

    @ImDevinC please confirm that you are indeed using 6.10 and if you see the issue with the wrong topology being requested.

  20. plbossart commented on Jul 19, 2024

    @plbossart
    Member

    @CNG I don't remember where I left my keys, I can't possibly remember what I said in March haha.

    From the comments it seems the kernel didn't show any bad messages, jack detection worked. Not sure if UCM ever worked?

  21. ImDevinC commented on Jul 19, 2024

    @ImDevinC

    Ahh my bad, I'm on 6.9.10 (misread the update), will look at 6.10 next week and confirm again. Apologies

  22. ImDevinC commented on Jul 20, 2024

    @ImDevinC

    Just confirmed I'm on 6.10 and while the audio device shows up now, I do not get any audio. Here's what I'm seeing in journalctl for "sof-". My dmesg buffer is too large to go back to the beginning because there is a bunch of spam messages about the audio card (I'll put those below)
    Also, since this issue is already closed, let me know if it would be better to create a new one with this info

    Jul 21 09:51:06.879342 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
    Jul 21 09:51:06.886182 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
    Jul 21 09:51:06.886285 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
    Jul 21 09:51:06.889348 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
    Jul 21 09:51:06.899343 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
    Jul 21 09:51:06.899515 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
    Jul 21 09:51:06.902678 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
    Jul 21 09:51:06.902832 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
    Jul 21 09:51:06.902956 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
    Jul 21 09:51:06.903065 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-mtl-rt711-l0-rt1316-l3-2ch.tplg
    Jul 21 09:51:06.903176 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.10.0.1
    Jul 21 09:51:07.026011 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.10.0.1
    Jul 21 09:51:07.036010 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:0 Kernel ABI 3:23:0
    Jul 21 09:51:07.070351 bean kernel: input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input23
    Jul 21 09:51:07.070376 bean kernel: input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input24
    Jul 21 09:51:07.070389 bean kernel: input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input25
    Jul 21 09:51:07.070402 bean kernel: input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card1/input26
    Jul 21 09:52:50.079336 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump start ]------------
    Jul 21 09:52:50.079656 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: DSP panic!
    Jul 21 09:52:50.079800 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: fw_state: SOF_FW_BOOT_COMPLETE (7)
    Jul 21 09:52:50.079926 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: 0x50000005: module: ROM_EXT, state: FW_ENTERED, running
    Jul 21 09:52:50.080043 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware state: 0x5, status/error code: 0x0
    Jul 21 09:52:50.080154 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Unknown toolchain is used
    Jul 21 09:52:50.080266 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: DSP Firmware Oops
    Jul 21 09:52:50.080396 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: Exception Cause: AllocaCause, MOVSP instruction, if caller’s registers are not in the register file
    Jul 21 09:52:50.080514 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: EXCCAUSE 0x00000005 EXCVADDR 0x00000000 PS       0x00060e20 SAR     0x0000000c
    Jul 21 09:52:50.080625 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: EPC1     0xa00727e5 EPC2     0x00000000 EPC3     0x00000000 EPC4    0x00000000
    Jul 21 09:52:50.080738 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: EPC5     0x00000000 EPC6     0x00000000 EPC7     0x00000000 DEPC    0x00000000
    Jul 21 09:52:50.080847 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: EPS2     0x00000000 EPS3     0x00000000 EPS4     0x00000000 EPS5    0x00000000
    Jul 21 09:52:50.080952 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: EPS6     0x00000000 EPS7     0x00000000 INTENABL 0x00000000 INTERRU 0x00000000
    Jul 21 09:52:50.081057 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: stack dump from 0x00000000
    Jul 21 09:52:50.081168 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: AR registers:
    Jul 21 09:52:50.081278 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: 0x0: a004b5d5 a0102f00 00000000 4011b440
    Jul 21 09:52:50.081390 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: 0x10: a011b4c0 00000018 40107730 a0102f00
    Jul 21 09:52:50.081498 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: 0x20: a005bf99 a0102ec0 40107730 a00613d8
    Jul 21 09:52:50.081605 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: 0x30: a005bf99 a0102ec0 40107730 a00613d8
    Jul 21 09:52:50.081711 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump end ]------------
    Jul 21 09:52:50.586371 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc timed out for 0xe030003|0xc00
    Jul 21 09:52:50.586696 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ IPC dump start ]------------
    Jul 21 09:52:50.586875 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Host IPC initiator: 0x8e030003|0xc00|0x0, target: 0x1b0a0000|0x0|0x0, ctl: 0x3
    Jul 21 09:52:50.587031 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ IPC dump end ]------------
    Jul 21 09:52:50.587179 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: IPC timeout
    Jul 21 09:52:50.587333 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -110
    Jul 21 09:52:50.587503 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0xe010003|0x0 failed: -19
    Jul 21 09:52:50.587652 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -19
    Jul 21 09:52:50.587835 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x13000003|0x1 failed: -19
    Jul 21 09:52:50.587985 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to pause all pipelines
    Jul 21 09:52:50.588129 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -19
    Jul 21 09:52:50.588295 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x46000002|0x3 failed: -19
    Jul 21 09:52:50.588442 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to unbind modules mixin.0.1:0 -> mixout.1.1:0
    Jul 21 09:52:50.588598 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12000000|0x0 failed: -19
    Jul 21 09:52:50.588742 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to free pipeline widget pipeline.0
    Jul 21 09:52:50.588884 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12010000|0x0 failed: -19
    Jul 21 09:52:50.589032 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to free pipeline widget pipeline.1
    Jul 21 09:52:50.589176 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to free connected widgets
    Jul 21 09:52:50.589346 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: sof_pcm_stream_free: sof_widget_list_free failed -19
    Jul 21 09:52:50.589496 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_prepare on 0000:00:1f.3: -19
    Jul 21 09:52:50.589899 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x13000003|0x1 failed: -19
    Jul 21 09:52:50.590047 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to pause all pipelines
    Jul 21 09:52:50.590190 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -19
    Jul 21 09:52:50.590351 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x46010002|0x10003 failed: -19
    Jul 21 09:52:50.590499 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to unbind modules mixin.20.1:0 -> mixout.21.1:0
    Jul 21 09:52:50.590639 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12020000|0x0 failed: -19
    Jul 21 09:52:50.590778 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to free pipeline widget pipeline.20
    Jul 21 09:52:50.590919 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0x12030000|0x0 failed: -19
    Jul 21 09:52:50.591069 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to free pipeline widget pipeline.21
    Jul 21 09:52:50.591208 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to free connected widgets
    Jul 21 09:52:50.591344 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: sof_pcm_stream_free: sof_widget_list_free failed -19
    Jul 21 09:52:50.591481 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_prepare on 0000:00:1f.3: -19
    Jul 21 09:52:50.591663 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ipc4_tx_msg_unlocked: ipc message send for 0xe010002|0x0 failed: -19
    Jul 21 09:52:50.591804 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at soc_component_trigger on 0000:00:1f.3: -19
    Jul 21 09:52:50.591965 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: sof_pcm_stream_free: pcm_ops hw_free failed -19
    Jul 21 09:52:50.592127 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_prepare on 0000:00:1f.3: -19
    Jul 21 09:52:50.592397 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to create module pipeline.0
    Jul 21 09:52:50.592628 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to set up connected widgets
    Jul 21 09:52:50.592779 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 0 dir 0
    Jul 21 09:52:50.593003 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: set pcm hw_params after resume
    Jul 21 09:52:50.593209 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_prepare on 0000:00:1f.3: -19
    Jul 21 09:52:50.593352 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: failed to create module pipeline.20
    Jul 21 09:52:50.593461 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to set up connected widgets
    Jul 21 09:52:50.593565 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 2 dir 0
    Jul 21 09:52:50.593668 bean kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: error: set pcm hw_params after resume
    
    ...
    

    Repeated messages in dmesg

    [  510.927461]  Speaker: ASoC: error at __soc_pcm_prepare on Speaker: -19
    [  510.927464]  Speaker: ASoC: error at dpcm_fe_dai_prepare on Speaker: -19
    [  510.932642] sof-audio-pci-intel-mtl 0000:00:1f.3: failed to create module pipeline.0
    [  510.932645] sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to set up connected widgets
    [  510.932647] sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed widget list set up for pcm 0 dir 0
    [  510.932649] sof-audio-pci-intel-mtl 0000:00:1f.3: error: set pcm hw_params after resume
    [  510.932650] sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_prepare on 0000:00:1f.3: -19
    [  510.932652]  Jack Out: ASoC: error at __soc_pcm_prepare on Jack Out: -19
    [  510.932654]  Jack Out: ASoC: error at dpcm_fe_dai_prepare on Jack Out: -19
    
                       -`                    devin@bean 
                      .o+`                   ---------- 
                     `ooo/                   OS: Arch Linux x86_64 
                    `+oooo:                  Host: OMEN Transcend Gaming Laptop 14-fb0xxx 
                   `+oooooo:                 Kernel: 6.10.0-arch1-1 
                   -+oooooo+:                Uptime: 4 mins 
                 `/:-:++oooo+:               Packages: 900 (pacman), 26 (flatpak) 
                `/++++/+++++++:              Shell: zsh 5.9 
               `/++++++++++++++:             Resolution: 2880x1800 
              `/+++ooooooooooooo/`           DE: Xfce 4.18 
             ./ooosssso++osssssso+`          WM: Xfwm4 
            .oossssso-````/ossssss+`         WM Theme: catppuccin-frappe-dark 
           -osssssso.      :ssssssso.        Theme: catppuccin-frappe-dark [GTK2/3] 
          :osssssss/        osssso+++.       Icons: Tela-circle-dark [GTK2/3] 
         /ossssssss/        +ssssooo/-       Terminal: tmux 
       `/ossssso+/:-        -:/+osssso+-     CPU: Intel Ultra 9 185H (22) @ 4.800GHz
      `+sso+:-`                 `.-/+oso:    GPU: Intel Arc Graphics] 
     `++:.                           `-/+/   GPU: NVIDIA GeForce RTX 4070 Max-Q / Mobile 
     .`                                 `/   Memory: 2073MiB / 31666MiB 
    

    Using the command above, speaker-test -Dhw:1,2 -c2 -r48000 -FS16_LE -t sine I do get a proper sine wave out of each speaker (front-left/front-right)

  23. plbossart commented on Jul 22, 2024

    @plbossart
    Member

    This seems to be a different issue @ImDevinC, the topology is found and the configuration is ok.

    The problem now is that the firmware has some sort of DSP panic. It seems you have the latest version that was released last week, do you mind trying with the SOF 2.9 firmware just to rule out a firmware issue? a DSP panic is not expected...

  24. plbossart commented on Jul 22, 2024

    @plbossart
    Member

    forked issue to #5116, let's continue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions