-
Notifications
You must be signed in to change notification settings - Fork 128
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] Acer Swift Go 14 - No sound card detected - "No SoundWire machine driver found" #4923
Comments
@rodrigovivi if you have 2 DMICs and no HDaudio external codec, then chances are the configuration is similar to the HP SoundWire versions. Can you add this file Also provide the result of
|
$ cat /sys/bus/acpi/devices/*/adr | grep 025d |
Thanks @rodrigovivi, so you have one RT712 on SoundWire link0, 2 DMICs and HDMI support with iDISP.
of course we don't support this configuration... Usually we have a RT712 for jack/amp and the RT1712 for the DMIC. Here the latter seems replaced by the PCH-attached DMIC. wow. I'll start cooking up a patch shortly. |
This device has an RT712 on link0, but does not rely on RT1712 for the DMIC. PCH-attached DMICs are used instead. Closes: thesofproject#4923 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@rodrigovivi can you try the patch in PR thesofproject/sof#4925 and also unzip/copy this file Reboot and attach the results. You should see a sound card if I didn't screw up the indices. Thanks! |
This device has RT712 on link0 2 PCH-attached DMICs. Add 3 configurations with no DMIC, 4 DMIC and 2 DMIC. For now no support for -pdm1. Link: thesofproject/linux#4923 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
dmesg-audio-with-patch-take-1.txt |
Ok that's probably the topology file, I don't really understand how the indices are handled. @bardliao can you take a look? |
one important information here: the sound over USB works pretty well even without this patch. |
@rodrigovivi Can you try sof-mtl-rt712-l0-2ch.zip?
The dmic01 id is 3. I modified the indices in the topology. |
@bardliao is this because we don't have the amp feedback on rt712? |
This device has RT712 on link0 2 PCH-attached DMICs. Add 3 configurations with no DMIC, 4 DMIC and 2 DMIC. For now no support for -pdm1. Link: thesofproject/linux#4923 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Yes, BT and USB are orthogonal to the Intel IP for audio, so they might work even if the DSP doesn't. Still there's no reason why this configuration wouldn't work with minor tweaks, as you said there will be lots of others who need jack/speaker/mic. |
Yes. |
with dmic01 id 3 it goes further, and then it fails: |
@rodrigovivi Thanks for testing. Could you try sof-mtl-rt712-l0-2ch.zip? |
This device has RT712 on link0 2 PCH-attached DMICs. Add 3 configurations with no DMIC, 4 DMIC and 2 DMIC. For now no support for -pdm1. Link: thesofproject/linux#4923 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This device has an RT712 on link0, but does not rely on RT1712 for the DMIC. PCH-attached DMICs are used instead. Closes: #4923 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
@rodrigovivi Do you have a chance to test sof-mtl-rt712-l0-2ch.zip? We will merge thesofproject/sof#9041 if the test result is positive. |
This device has an RT712 on link0, but does not rely on RT1712 for the DMIC. PCH-attached DMICs are used instead. Closes: thesofproject#4923 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
This device has an RT712 on link0, but does not rely on RT1712 for the DMIC. PCH-attached DMICs are used instead. Closes: #4923 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Hello everyone! I'm also having this issue in a Swift SFG14-72 running latest Ubuntu 24.04. I tried the linked topology and it didn't work for me. Is this ticket going to be continued in issue 9085? Is there something I can help to debug this? |
@franc5 You need to apply #4925 to your kernel. And from #4970, thesofproject/sof#9041 should be good. The DSP panic looks like a different issue. |
I'm sorry for the late reply here. With the latest sof-mtl-rt712-l0-2ch.zip I do can see the output audio enumerated, but no sound is audible when testing the speakers. |
@rodrigovivi I don't know what's going on with GitHub but your attached dmesg-apr-29 didn't go through. |
@rodrigovivi I don't see anything wrong in the dmesg log. |
The Gnome Settings shows the output device, but even with tuning the volume, nothing is audible. $ arecord -l $ amixer |
that's because you don't have a UCM file. Try capturing something with "arecord -Dhw:0,10 -c2 -r48000 -fS32_LE -d10 test.wav" and see if there's any sound coming in. |
I couldn't hear anything... |
"arecord directly didn't work" |
silent! I couldn't listen to anything... |
ok, so we need to try the 4ch setup and see if the channels 2-3 are used Can you add this in a .conf file in /etc/modprobe.d/
and unzip/add this topology file if you can record something and share the wav file that would be great. |
Oh and the number of channels needs to change of course: arecord -Dhw:0,10 -c4 -r48000 -fS32_LE -d10 test.wav |
$ find /lib/firmware/intel/sof-ipc4-tplg/ | grep sof-mtl-rt712-l0-4ch $ cat /proc/cmdline $ arecord -Dhw:0,10 -c4 -r48000 -fS32_LE -d10 test-4ch.wav |
This device has RT712 on link0 2 PCH-attached DMICs. Add 3 configurations with no DMIC, 4 DMIC and 2 DMIC. For now no support for -pdm1. Link: thesofproject/linux#4923 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Not following what goes sideways, we do add the 4ch count
It's possible though that somehow we use the NHLT blob coming from ACPI tables. But at the same time, I see
|
Maybe try "options snd_sof_intel_hda_common sof_use_tplg_nhlt=1" to use the nhlt in the topology first? |
options snd_sof_intel_hda_common sof_use_tplg_nhlt=1 |
yes both options @rodrigovivi |
Using both: $ cat /proc/cmdline $ arecord -Dhw:0,10 -c4 -r48000 -fS32_LE -d10 test-4ch-may-13.wav mic still not listed in the gnome sound configuration. |
for some reason, even with the 4ch option the kernel selects the 2ch topology
Not sure why that is the case. My money is on the option not being selected, if you enable dynamic debug you should see this, but it's not in your log... /* allow for module parameter override */
if (dmic_num_override != -1) {
dev_dbg(sdev->dev,
"overriding DMICs detected in NHLT tables %d by kernel param %d\n",
dmic_num, dmic_num_override);
dmic_num = dmic_num_override;
} |
what debug config and/or levels do you need? |
just make sure the sof-dyndbg.conf file exists in /etc/modprobe.d/ as described earlier in #4923 (comment) |
Describe the bug
No sound card detected on a laptop - Acer Swift Go 14
System : Fedora 40
Packages :
Fedora:
alsa-sof-firmware-2024.03-2.fc40.noarch
alsa-firmware-1.2.4-12.fc40.noarch
And even with manually installing: sof-bin-2024.03.tar.gz
To Reproduce
Install Linux on this Acer laptop.
sudo modprobe -r snd_sof_pci_intel_mtl
sudo modprobe snd_sof_pci_intel_mtl
Reproduction Rate
All the time
Expected behavior
The sound card should be detected.
Impact
showstopper
It is necessary for meeting.
Environment
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
Kernel: : vmlinuz-6.8.5-300.fc40.x86_64 or Linus 6.9.0-rc3+
SOF: sof-bin-2024.03
Name of the topology file
Topology file: intel/sof-ace-tplg/sof-hda-generic-idisp-2ch.tplg
Name of the platform(s) on which the bug is observed.
Platform: Acer Swift Go 14
Screenshots or console output
** No SoundWire machine driver found **
alsa-info.txt
The text was updated successfully, but these errors were encountered: