New installation no sound (Swift 5 i7-1065GT Iris Plus)

I installed Clear Linux yesterday on a new Acer Swift laptop with the Intel i7-1065G7 and Iris
Plus. This light laptop should be of interest to developers who also travel. Everything I’ve
checked works except for sound.

A file on devices I printed before doing the default “descructive installation” of Clear Linux
lists

Name Intel® Smart Sound Technology (Intel® SST)
Manufacturer Intel® Corporation
Status OK
PNP Device ID INTELAUDIO\CTLR_DEV_34C8&LINKTYPE_02&DEVTYPE_01&VEN_8086&DEV_AE20&SUBSYS_102513
6F&REV_0001\5&19748952&0&0100

dmesg in Clear Linux includes:
1.180854] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 1.181100] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed

with error -2
[ 1.181104] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed
err: -2
[ 1.182531] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2

[ 1.183894] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!

Let me know where I might find advice with this. I’ve searched and not found much.

Any suggestions on this will be appreciated.

The firmware loading failed. I’ll try tomorrow to track down what the status of it is.

Thank you for looking into this.


ahkok
Clear Linux OS Team

    December 17

SteveT:
I installed Clear Linux yesterday on a new Acer Swift laptop with the Intel i7-1065G7 and Iris
Plus. This light laptop should be of

The firmware loading failed. I’ll try tomorrow to track down what the status of it is.

It appears these firmware files are being published over here:

Can you try to install these into /etc/firmware/intel/sof and see if they work?

Let me know if I am on the right track here. The SOF project lists six files plus the source code.
This page
https://www.alsa-project.org/wiki/Firmware
has instructions for compiling. They assume a distribution like ubuntu. I have most of the dependencies they mention through the bundles i have installed with swupd. I don’t find a bundle with libtool-bin libncurses5-dev, though I have libtool and libncurses. Am I making this more complicated than it needs to be?

You would just download the files your system needs - hint: they were listed in your log output!

So I created the directory and copied the one file to it and made a link without the version name:

$ ls -l /etc/firmware/intel/sof/

rwxrwxrwx 1 root root 17 Dec 17 14:10 sof-icl.ri -> sof-icl-v1.4.1.ri
-rw-r–r-- 1 root root 286720 Dec 17 13:40 sof-icl-v1.4.1.ri

After restart:

$ sudo dmesg | grep -i audio
Password:
[ 1.178133] calling sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] @ 402
[ 1.178164] initcall sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] returned 0 after 27 usecs
[ 1.185193] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 1.185195] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 1.185422] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 1.189975] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 1.192338] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[ 1.192340] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 1.280326] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-fcf6c
[ 1.280327] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:10:0
[ 1.280328] sof-audio-pci 0000:00:1f.3: error: FW ABI is more recent than kernel
[ 1.281568] sof-audio-pci 0000:00:1f.3: error: ABI mismatch -22
[ 3.306719] sof-audio-pci 0000:00:1f.3: error: firmware boot failure
[ 3.313852] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 3.321579] sof-audio-pci 0000:00:1f.3: error: status = 0x00000000 panic = 0x00004000
[ 3.330360] sof-audio-pci 0000:00:1f.3: status: fw entered - code 00000005
[ 3.338067] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -5
[ 3.346799] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
[ 3.358187] sof-audio-pci: probe of 0000:00:1f.3 failed with error -5

That seems to suggest you need an older firmare file (from the same project)

On the page for sof version 1.3 there are three similar driver. One has “signed-intel” which I’ve used here, still fails:

$ sudo dmesg | grep -i audio
Password: 
[    1.178283] calling  sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] @ 399
[    1.178315] initcall sof_nocodec_audio_init+0x0/0x1000 [snd_sof_nocodec] returned 0 after 28 usecs
[    1.187724] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[    1.187727] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    1.187940] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    1.206557] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[    1.208132] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[    1.208133] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[    4.265661] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[    4.273089] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
[    4.281825] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[    4.288807] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[    4.347214] sof-audio-pci 0000:00:1f.3: error: reset enter failed: core_mask f adspcs 0x1d003c
[    4.356824] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f
[    4.365458] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
[    4.373556] sof-audio-pci: probe of 0000:00:1f.3 failed with error -110
skt@puma~ $ 

/etc/firmware/intel/sof $ ln -s sof-icl-signed-intel.ri sof-icl.ri

sof-icl-gcc.ri 168 KB

sof-icl-signed-intel.ri 272 KB

sof-icl-unsigned.ri 272 KB

1 Like

I tried the other two similar modules with sof version 1.3. They all said about the same thing, ending with

sof-audio-pci: probe of 0000:00:1f.3 failed with error -110

Sorry about the format on the last one. I thought I had done it exactly the same as the early one.

FWIW, I have the same issue on an HP Spectre 360 (model 13-aw0013dx). Seems that the i7-1065G7 isn’t quite supported yet.

Snippet from dmesg:

[ 2.516272] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 2.516274] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
[ 2.516593] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2

I have the same issue on a Lenovo yoga C940 i7-1065G7 CPU :

[ 26.334232] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 26.334233] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 26.334363] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 26.339444] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[ 26.339888] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-icl.ri failed with error -2
[ 26.339891] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-icl.ri failed err: -2
[ 26.340753] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 26.342040] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!

There is an open issue here:

I managed to find a way to fix this until it is patched:

Create this file: /etc/kernel/cmdline.d/snd.conf

With this content:
snd_hda_intel.dmic_detect=0

Then run
sudo clr-boot-manager update

This will disable mic detection in your kernel at boot time.

After a reboot should be present in:
cat /proc/cmdline

You should have sound output.

3 Likes

I’ll apply the patches from thesofproject/sof#2134 (comment)

this worked for me but I got random flickers.
what I end up doing was to install the “kernel-native-current” and then switch to the installed kernel :

sudo swupd bundle-add kernel-native-current
sudo clr-boot-manager list-kernels
org.clearlinux.native.5.4.13-895
org.clearlinux.current.5.3.1-11
to set kernel :
sudo clr-boot-manager set-kernel org.clearlinux.current.5.3.1-11

kernel 5.3.1 works very well no flicker, got sound and better graphical benchmarks.

1 Like