-
Notifications
You must be signed in to change notification settings - Fork 131
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. |
Ah yes, if there's Headphone playback, Headset Capture and Speaker playback all open in 32 bits then this would fail indeed. |
This device has RT712 on link0 2 PCH-attached DMICs. Add 2 configurations with 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 RT712 on link0 2 PCH-attached DMICs. Add 2 configurations with 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>
Just record that following configuration works on my side for HP/SPK/DP playback and HP/PCH DMIC recording. OS: Ubuntu 24.04 LTS |
From version 6.10 the kernel is ready, but there must be corrections in: |
Hello Guys, i appreciate the hard work you guys have all put into this... I tried to match brentlu's confiq but i was pretty unsure on how to install the topology stuff, as that escaped my technical ability. I would appreciate the help! |
the kernel patch is in 6.10 already
the topology file can be installed in /lib/firmware/intel/sof-ipc4-tplg/ UCM needs to be cloned and copied over to your target. |
Thanks for answering! |
I now followed yours and brentlus instructions, the only differecne is that i installed the kernel from https://kernel.ubuntu.com/mainline/v6.10.6/ I still only have dummy audio, this is the dmesg output:
I really appreciate your help... |
@bardliao can you copy the topology file again, the instructions above are difficult to follow. |
Small update i got the speakers, no mic and not working, to show up by putting the file from here into /lib/firmware/intel/sof-ace-tplg/ |
You need to copy sof-mtl-rt712-l0-2ch.tplg to /lib/firmware/intel/sof-ace-tplg
And you could find FW here if not installed in your system. |
|
@falkanson I upstreamed the UCM config already. (alsa-project/alsa-ucm-conf#435) |
I followed you guys instructions, dmsg seams to be ok:
but again no audio, while speakers show up but mic doesn't... Could the difference be that i got the 6.10.6 Kernel from another source? Additionally i get this output from
Thanks again for helping me out with this |
@falkanson everything is described here It works :) |
Im 99% sure i did, i just redid the entire process from a fresh Ubuntu 24.04.1 LTS Install and came to the same result With these files: AcerAudioFiles.zip I correctly downloaded from the sources And the kernel from here: https://kernel.ubuntu.com/mainline/v6.10.6/ I ran these commands during installation: Install the Kernel: (installed the 4 amd4 files)
Set the cum2 config
install alsa lib and dependencies for installation
Copy the Topography and the firmware
reboot I must have made a mistake somewhere if it is supposed to work... but i can't figure out where. |
@falkanson My installation process looks like this:
Here I see that you are copying topologies to another place: Copy the topology files to the sof-ipc4-tplg directory. |
Weird, i followed you exact instructions and i'm back to only dummy audio, i at least have the jack working and the card showing up when copying to sof-ace-tplg |
@falkanson Did you copy both topology files?
|
yes i have, both are in sof-ace-tplg and in sof-ipc4-tplg. Also i also tested it with them only being in one of the two locations. The speakers and mic never worked, jack only when they where in sof-ace-tplg.
|
@falkanson the only thing I can suggest is to install Fedora 40. It currently has Kernel version 6.10 and after adding the solutions presented here it should work. |
Maybe you could check if alsa-lib is updated successfully. intel123@intel123-Swift-SFG14-72:~$ alsatplg -V |
it now wokrs after installing Fedora 40! |
Since kernel version 6.10.7 there is no sound on Fedora. I repeated the test in version 6.10.6 and there was sound. That's probably why @falkanson had problems on Ubuntu because installed a newer kernel |
Known regression, see #5168 This should be fixed shortly by linux-stable if you can't wait, revert the commit "soundwire: stream: fix programming slave ports for non-continous port maps" |
Quick comment, I have an Acer Swift Go 14, using Fedora 41 (kernel 6.11.3-300.fc41). Almost works out of the box, minus I had to download alsa-ucm-conf from this repo (branch: add-rt712va) ucm2 folder and put it in my /usr/share/alsa/ucm2 one. Otherwise I had the speakers detected, no mic, and no sound. Thanks ! |
I have been bothered by this issue for a few weeks now. Tried so many things I lost track. Aaaand finally! It worked, I have sound, I have a mic. Hell yea! Thanks mate! |
On an updated Arch Linux machine, we have almost all the bits that we need for this to work with the exception of the patch to I was able to get this to work with a one-liner to my system: cd /usr/share/alsa && curl -q "https://github.com/alsa-project/alsa-ucm-conf/commit/9e3312c1471b8cb64036a5bd740e5c4f8c8f1186.diff" | sudo patch -p1 Then reboot the system. |
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: