#996165 Fwd: firmware-sof-signed: Sound/Mic does not work on Dell XPS 17 9710

Package:
firmware-sof-signed
Source:
firmware-sof
Submitter:
Juan Francisco Miranda Aguilar
Date:
2021-12-24 09:21:02 UTC
Severity:
important
#996165#5
Date:
2021-10-11 17:12:58 UTC
From:
To:
Dear Maintainer,

I installed the firmware-sof-signed package on a Dell XPS 17 9710 and
still no sound nor mic was detected.
Any advise is welcome!

Thanks!

root@dell:/home/jf# lspci | grep audio
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-H HD
Audio Controller (rev 11)
root@dell:/home/jf# dmesg | egrep "audio|sof|snd"
[    0.852738] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.852739] software IO TLB: mapped [mem
0x000000004e601000-0x0000000052601000] (64MB)
[    1.040833] integrity: Loaded X.509 cert 'Microsoft Windows
Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    1.040841] integrity: Loaded X.509 cert 'Microsoft Corporation
UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    2.470636] snd_hda_intel 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if info 0x040100
[    2.470791] snd_hda_intel 0000:00:1f.3: SoundWire enabled on
CannonLake+ platform, using SOF driver
[    2.510153] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with
PCI class/subclass/prog-if info 0x040100
[    2.510215] sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled
on CannonLake+ platform, using SOF driver
[    2.510247] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device
(0000 -> 0002)
[    2.510477] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with
PCI class/subclass/prog-if 0x040100
[    2.510517] sof-audio-pci-intel-tgl 0000:00:1f.3: bound
0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.516978] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    2.531676] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4
[    2.532987] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware:
direct-loading firmware intel/sof/sof-tgl-h.ri
[    2.532992] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info:
version 1:7:0-47d07
[    2.533026] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI
3:18:1 Kernel ABI 3:18:0
[    2.533028] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown
sof_ext_man header type 3 size 0x30
[    2.614333] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info:
version 1:7:0-47d07
[    2.614336] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI
3:18:1 Kernel ABI 3:18:0
[    3.691121] sof-audio-pci-intel-tgl 0000:00:1f.3: firmware:
direct-loading firmware intel/sof-tplg/sof-tgl-rt711-rt1308-rt715.tplg
[    3.691129] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI
3:18:1 Kernel ABI 3:18:0
[    3.710385] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: physical
link SDW3-Capture (id 4) not exist
[    3.710389] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: topology:
could not load header: -22
[    3.710526] sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg
component load failed -22
[    3.710531] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to
load DSP topology -22
[    3.710532] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at
snd_soc_component_probe on 0000:00:1f.3: -22
[    3.710561] sof_sdw sof_sdw: ASoC: failed to instantiate card -22
[    3.720900] sof_sdw sof_sdw: snd_soc_register_card failed -22
[    3.720901] sof_sdw: probe of sof_sdw failed with error -22

#996165#10
Date:
2021-12-17 09:19:43 UTC
From:
To:
Dear maintainer,

sound and microphone also do not work on a Dell Precision 5760 with a
Realtek ALC711-CG sound card under a current Debian 11 "Bullseye".

Here is the output of 'dmesg | egrep "audio|sof|snd"':

[    3.440207] snd_hda_intel 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if info 0x040100
[    3.440224] snd_hda_intel 0000:00:1f.3: SoundWire enabled on
CannonLake+ platform, using SOF driver
[    3.464472] sof-audio-pci 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if info 0x040100
[    3.464491] sof-audio-pci 0000:00:1f.3: SoundWire enabled on
CannonLake+ platform, using SOF driver
[    3.464536] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.464911] sof-audio-pci 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if 0x040100
[    3.465014] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops
i915_audio_component_bind_ops [i915])
[    3.472332] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    3.591900] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 4
[    3.593263] sof-audio-pci 0000:00:1f.3: firmware: direct-loading
firmware intel/sof/sof-tgl.ri
[    3.593270] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man
header type 6 size 0x20
[    3.593272] sof-audio-pci 0000:00:1f.3: Firmware info: version
1:7:0-47d07
[    3.593273] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:18:1 Kernel
ABI 3:17:0
[    3.593274] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent
than kernel
[    3.593278] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man
header type 3 size 0x30
[    3.593278] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man
header type 5 size 0x20
[    5.690354] sof-audio-pci 0000:00:1f.3: error: firmware boot failure
[    5.691223] sof-audio-pci 0000:00:1f.3: status: fw entered - code
00000005
[    5.692109] sof-audio-pci 0000:00:1f.3: status: fw entered - code
00000005
[    5.692900] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP
firmware -5
[    5.694529] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed
err: -5

and the output of 'lspci -k -nn -v -s 00:1f.3':

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device
[8086:43c8] (rev 11)
         Subsystem: Dell Device [1028:0a5e]
         Flags: bus master, fast devsel, latency 64, IRQ 16, IOMMU group 17
         Memory at 618d1d8000 (64-bit, non-prefetchable) [size=16K]
         Memory at 618d000000 (64-bit, non-prefetchable) [size=1M]
         Capabilities: [50] Power Management version 3
         Capabilities: [80] Vendor Specific Information: Len=14 <?>
         Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
         Kernel driver in use: sof-audio-pci
         Kernel modules: snd_hda_intel, snd_sof_pci

Could you please check this?

I would be happy to provide any information that you need to address
this issue!

Best regards,

Dirk.

#996165#15
Date:
2021-12-17 09:40:21 UTC
From:
To:
 ❦ 17 December 2021 10:19 +01, Dirk Kostrewa:

You can try with a more recent version to see if it fixes your issue:
https://packages.debian.org/sid/all/firmware-sof-signed/download

#996165#20
Date:
2021-12-17 16:55:14 UTC
From:
To:
Many thanks for your suggestion! I've installed the most recent
firmware-sof-signed 1.9.1 and rebooted, but unfortunately the sound card
still does not work. Here is again the output of 'dmesg | egrep
"snd|sof|audio"':

[    3.456411] snd_hda_intel 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if info 0x040100
[    3.456438] snd_hda_intel 0000:00:1f.3: SoundWire enabled on
CannonLake+ platform, using SOF driver
[    3.474643] sof-audio-pci 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if info 0x040100
[    3.474660] sof-audio-pci 0000:00:1f.3: SoundWire enabled on
CannonLake+ platform, using SOF driver
[    3.474704] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[    3.474920] sof-audio-pci 0000:00:1f.3: DSP detected with PCI
class/subclass/prog-if 0x040100
[    3.480694] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops
i915_audio_component_bind_ops [i915])
[    3.487680] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[    3.707791] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 4
[    3.708557] sof-audio-pci 0000:00:1f.3: firmware: direct-loading
firmware intel/sof/sof-tgl.ri
[    3.708562] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man
header type 6 size 0x20
[    3.708562] sof-audio-pci 0000:00:1f.3: Firmware info: version
1:9:0-fa857
[    3.708563] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:19:0 Kernel
ABI 3:17:0
[    3.708564] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent
than kernel
[    3.708566] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man
header type 3 size 0x30
[    3.708566] sof-audio-pci 0000:00:1f.3: warning: unknown sof_ext_man
header type 5 size 0x20
[    5.786354] sof-audio-pci 0000:00:1f.3: error: firmware boot failure
[    5.787166] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP
firmware -5
[    5.789199] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed
err: -5

I have also tried before the 5.14 kernel from the Bullseye backports
repository (with firmware-sof-signed 1.7.1), which also didn't work. I
would be grateful for any other suggestion!

Best regards,

Dirk.

Am 17.12.21 um 10:40 schrieb Vincent Bernat:

#996165#25
Date:
2021-12-17 18:14:46 UTC
From:
To:
 ❦ 17 December 2021 17:55 +01, Dirk Kostrewa:

No idea. You should try to ask upstream: https://github.com/thesofproject/sof

#996165#30
Date:
2021-12-24 09:16:23 UTC
From:
To:
I have contacted the upstream developers, followed their suggestions and
got a working sound card, however, not with Debian's Kernel 5.10.

I've got a working sound card both in Fedora 35 Live with Kernel 5.14.10
and SOF firmware 1.8.2 and in Debian "Bullseye" with Kernel 5.14.0 from
Bullseye backports and SOF firmware 1.9.1 from testing.

 From these trials, it appears that both Kernel 5.14 and SOF firmware >=
1.8.2 are necessary for a working sound card.

The upstream developers wrote: "Not sure why FW would fail to boot here,
Linux 5.10 should have all the support for TGL DSP and soundwire".

Apparently, in Debian "Bullseye", something is missing or wrongly
configured with the 5.10 Kernel, and SOF firmware 1.9.1 from
testing/unstable is required.

Best regards!

Am 17.12.21 um 19:14 schrieb Vincent Bernat: