-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] sof-hda-generic-1ch.tplg not found #9748
Comments
This is a curious case, I don't believe we've seen a single dmic configuration before. @singalsu @bardliao @ujfalusi do you recall? @stefdb Can quick workaround to try is to force the dmic count to 2 with: /etc/modprobe.d/sof.conf (or some file under modprobe.d):
This should instruct the drive to load sof-hda-generic-2ch.tplg which is part of standard distribution. If this works, you'll probably have audio only on the left channel of the recorded stream, but at least allows audio device to probe successfully. |
First time for me too. Please use as @kv2019i suggested the 2ch topology as replacement. Due to PDM bus characteristic, it will give a dual mono capture stream as e.g. HDA generic headset (mono) mic also appears to system. I will try to replicate the issue with my devices. @stefdb Can you please also dump the NHLT content of your PC and attach here ( |
Confirming that I'm able to replicate the issue by forcing |
Update - I'm testing a fix in #9763. |
Hi, I've attached NHLT.bin (inside NHLT.zip) from the system, as requested. Thanks, |
Thanks a lot for sharing the NHLT @stefdb ! It looks like there's an issue in DMIC HW setting. The NHLT headers show 1 channel but some actual DMIC decimators settings activate parts of HW as stereo. If there's a problem we should contact Asus. Can you first remove I ran on my test device the capture (had forced dmic_num=1 on a 4ch device) like this:
The capture should take about 10s. There's a way to override the BIOS NHLT and use NHLT from topology (a method used in Chromebooks). Add these options to e.g. /etc/modprobe.d/sof.conf and then try with
The topologies were generated with #9763. (removed the files bundle because of issue in ace1/ace3 version) |
@stefdb Please wait testing attached sof-hda-generic-ace1-1ch.tplg. I don't have suitable MTL/LNL hardware to test this so I ran it here with the cAVS version that worked. There may be a bug in alsa-utils topology NHLT generator for ACE. I will do more checks and try to fix it. |
Here's new topologies bundle (fix in alsa-project/alsa-utils#286). Please try sof-hda-generic-ace1-1ch.tplg from here: |
Describe the bug
No Soundcards are initialised.
To Reproduce
Boot the System (ASUS NUC14LNS)
Reproduction Rate
100%
Expected behavior
Topology is loaded, and soundcard is initialised
Impact
No audio
Environment
Screenshots or console output
Initial log with missing file:
NUC14LNS_dmesg.txt
I also attempted to generate sof-hda-generic-1ch.tplg by modifying tools/topology/topology2/production/tplg-targets-hda-generic.cmake, to add the configuration where NUM_DMICS=1:
///"sof-hda-generic;sof-hda-generic-1ch;HDA_CONFIG=mix,NUM_DMICS=1,
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,
EFX_DMIC0_DRC_PARAMS=dmic_default"///
But this didn't work due, producing these error messages:
[ 7.026064] DMIC Raw: substream DMIC Raw has no playback, no capture
[ 7.026071] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: can't create pcm DMIC Raw :-22
[ 7.026722] skl_hda_dsp_generic skl_hda_dsp_generic: probe with driver skl_hda_dsp_generic failed with error -22
Full log attached here:
1219_dmesg.txt
The text was updated successfully, but these errors were encountered: