Repository navigation
Description
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
moritz89 commentedon Mar 27, 2024
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.
charleskeepax commentedon Mar 27, 2024
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.
plbossart commentedon Mar 27, 2024
Yes, it's a different issue indeed. Thanks @CNG for the detailed reports, much appreciated.
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
that will tell us what devices are listed in ACPI and then we can check the quirks. Thanks!
CNG commentedon Mar 27, 2024
Sure thing!
plbossart commentedon Mar 27, 2024
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...
ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration
plbossart commentedon Mar 27, 2024
@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.
plbossart commentedon Mar 27, 2024
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.
CNG commentedon Mar 27, 2024
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:
plbossart commentedon Mar 27, 2024
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
CNG commentedon Mar 27, 2024
Thanks, it actually just finished, so I'll attempt to boot into it now.
CNG commentedon Mar 27, 2024
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.conffile present, let me know if I should test without that at any point.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-1to6.8.2-arch1-1in this process, in case it's relevant.plbossart commentedon Mar 27, 2024
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
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
CNG commentedon Mar 27, 2024
All right, that produced:
sof-mtl-rt711-l0-rt1316-l3-2ch.tplgplbossart commentedon Mar 27, 2024
ok, now the HDMI index is wrong... try this
sof-mtl-rt711-l0-rt1316-l3-2ch.tplg.gz
21 remaining items
topology2: add support for MTL HP Omen14
ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration
ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration
ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration
ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration
ImDevinC commentedon Jul 19, 2024
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)
plbossart commentedon Jul 19, 2024
the patch is in 6.10, see
0f8edb1 ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire configuration
CNG commentedon Jul 19, 2024
@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.
plbossart commentedon Jul 19, 2024
@ImDevinC please confirm that you are indeed using 6.10 and if you see the issue with the wrong topology being requested.
plbossart commentedon Jul 19, 2024
@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?
ImDevinC commentedon Jul 19, 2024
Ahh my bad, I'm on 6.9.10 (misread the update), will look at 6.10 next week and confirm again. Apologies
ImDevinC commentedon Jul 20, 2024
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
Repeated messages in dmesg
Using the command above,
speaker-test -Dhw:1,2 -c2 -r48000 -FS16_LE -t sineI do get a proper sine wave out of each speaker (front-left/front-right)plbossart commentedon Jul 22, 2024
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...
plbossart commentedon Jul 22, 2024
forked issue to #5116, let's continue there.