You are not logged in.

#1 2022-01-19 14:07:12

MickeyMouse
Member
Registered: 2014-10-24
Posts: 13

No sound after resume driver snd_sof_pci_intel_tgl fails

Hi,

My laptop is an XPS 13 9310 (0991) serial number 7FVC6G3

        -multimedia
             description: Multimedia audio controller
             produit: Tiger Lake-LP Smart Sound Technology Audio Controller
             fabriquant: Intel Corporation
             identifiant matériel: 1f.3
             information bus: pci@0000:00:1f.3
             version: 20
             bits: 64 bits
             horloge: 33MHz
             fonctionnalités: bus_master cap_list
             configuration: driver=sof-audio-pci-intel-tgl latency=64
             ressources: mémoireE/S:600-5ff mémoireE/S:600-5ff irq:187 mémoire:60531d8000-60531dbfff mémoire:6053000000-60530fffff

Since recent update, I lost the sound after a suspend to ram and a resume and i must reload the driver.

sudo rmmod snd_sof_pci_intel_tgl
sudo modprobe snd_sof_pci_intel_tgl

The dmesg :

[184708.230742] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[184708.232306] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19
[184708.232317] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed resetting DAI config for HDA0.OUT
[184708.236313] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[184708.238267] done.
[184708.239340] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[184708.239343] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load widget HDA0.OUT
[184708.240433] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed widget list set up for pcm 0 dir 0
[184708.240437] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[184708.240442]  HDA Analog: ASoC: soc_pcm_hw_params() failed (-22)
[184708.240485]  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
[184708.240664] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[184708.240667] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load widget HDA0.OUT
[184708.240669] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
[184708.240670] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI: -22
[184708.240680]  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
[184708.240682]  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
[184708.240827] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[184708.240829] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load widget HDA0.OUT
[184708.240830] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
[184708.240831] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI: -22
[184708.240838]  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
[184708.240840]  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
[184708.240966] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[184708.240968] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load widget HDA0.OUT
[184708.240969] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
[184708.240970] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI: -22
[184708.240975]  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
[184708.240977]  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
[184708.241114] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[184708.241116] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load widget HDA0.OUT
[184708.241117] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
[184708.241118] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI: -22
[184708.241123]  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
[184708.241124]  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)

Does anyone has the same issue or an idea to fix it ?

Thanks

Offline

#2 2022-01-19 17:53:57

sammiev
Member
Registered: 2018-12-22
Posts: 86

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

You need to install sof-firmware.

Offline

#3 2022-01-21 09:09:27

MickeyMouse
Member
Registered: 2014-10-24
Posts: 13

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

It is already installed. I reinstall it and it does not Fix the issue.

Offline

#4 2022-01-22 08:18:49

0xDD
Member
Registered: 2022-01-22
Posts: 5

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

It seems that I have a similar problem. After a recent update, my notebook started to lose sound after a suspend/hibernate. From journalctl -p 4:

Jan 22 00:14:31 archmoss kernel: [UFW BLOCK] IN=enp0s13f0u1u2 OUT= MAC=00:e0:4c:6a:4f:1c:00:1b:2f:01:50:a4:08:00 SRC=149.154.1>
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): ->
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed resetting DAI config for HDA0.OUT
Jan 22 10:26:50 archmoss kernel: done.
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to load widget HDA0.OUT
Jan 22 10:26:50 archmoss pulseaudio[1545]: Failed to set hardware parameters: Invalid argument
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed widget list set up for pcm 0 dir 0
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:>
Jan 22 10:26:50 archmoss kernel:  HDA Analog: ASoC: soc_pcm_hw_params() failed (-22)
Jan 22 10:26:50 archmoss kernel:  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to load widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI:>
Jan 22 10:26:50 archmoss kernel:  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
Jan 22 10:26:50 archmoss kernel:  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to load widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI:>
Jan 22 10:26:50 archmoss kernel:  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
Jan 22 10:26:50 archmoss kernel:  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to load widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI:>
Jan 22 10:26:50 archmoss kernel:  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
Jan 22 10:26:50 archmoss kernel:  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to load widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: error: failed setting up DAI widget HDA0.OUT
Jan 22 10:26:50 archmoss kernel: sof-audio-pci-intel-icl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on Analog CPU DAI:>
Jan 22 10:26:50 archmoss kernel:  Analog Playback and Capture: ASoC: soc_pcm_hw_params() failed (-22)
Jan 22 10:26:50 archmoss kernel:  HDA Analog: ASoC: dpcm_fe_dai_hw_params failed (-22)

Doing module unload/load fixes the problem:

[dd@archmoss ~]$ doas rmmod snd_sof_pci_intel_icl
doas (dd@archmoss) password: 
[dd@archmoss ~]$ doas modprobe snd_sof_pci_intel_icl
doas (dd@archmoss) password: 
[dd@archmoss ~]$ speaker-test 

speaker-test 1.2.6

Playback device is default
...

Offline

#5 2022-01-22 08:24:32

0xDD
Member
Registered: 2022-01-22
Posts: 5

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

it seems that this problem sometimes affects other people: https://github.com/thesofproject/sof/issues/4639

Offline

#6 2022-01-26 14:39:45

marekpetrik
Member
Registered: 2022-01-26
Posts: 1

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

I have the same issue with a Lenovo X1 Gen 9 after a recent firmware update. Reloading the driver "snd_sof_pci_intel_tgl" as suggested in the first post fixes the problem (until the next suspend).

Offline

#7 2022-01-27 08:39:31

TreeForDev
Member
Registered: 2022-01-22
Posts: 4

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

Same here on ThinkPad X1 Nano Gen 1 and Linux 5.16.2
Not sure it's related but I have an external monitor plugged in.

Offline

#8 2022-01-30 12:56:47

nikicat
Member
Registered: 2011-01-10
Posts: 6

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

Downgrade to sof-firmware 1.9.3-1 helps me. Dell XPS 9310.

Offline

#9 2022-02-03 07:31:18

0xDD
Member
Registered: 2022-01-22
Posts: 5

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

After upgrading all packages today (to kernel 5.16.5-arch1-1 etc) the problem disappeared.

Offline

#10 2022-02-04 00:17:10

MickeyMouse
Member
Registered: 2014-10-24
Posts: 13

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

0xDD wrote:

After upgrading all packages today (to kernel 5.16.5-arch1-1 etc) the problem disappeared.

Same here. \o/ I was too lazy to make a git bisect in order to find the bugged commit. And my laziness has paid big_smile

Offline

#11 2022-02-08 20:12:10

TreeForDev
Member
Registered: 2022-01-22
Posts: 4

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

Same here. I no longer have the issue with 5.16.5

Offline

#12 2022-06-30 20:30:58

Brain
Member
Registered: 2020-07-29
Posts: 58

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

Sorry to necrobump, but on my Thinkpad X1 Carbon G9 this is still a problem, even with linux 5.18.
Downgrading to sof-firmware 2.0 seems to fix the issue.

Any ideas on how to fix this properly?

Last edited by Brain (2022-06-30 20:37:49)

Offline

#13 2022-07-01 07:46:19

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

Brain wrote:

Sorry to necrobump, but on my Thinkpad X1 Carbon G9 this is still a problem, even with linux 5.18.
Downgrading to sof-firmware 2.0 seems to fix the issue.

Any ideas on how to fix this properly?

Since the initial issue seems to be fixed for the other users in this thread, "this is still a problem" is not sufficient information.

Grab a dmesg log in the faulty case and compare it to OP's log to see if you actually have the same problem. If your error messages differ, open a new thread.

Having said all that, a shot in the dark: try disabling the IMR booting after updating sof-firmware to the current release. If this solves the issue for you, you simply have to wait for the corresponding fixes to land in the kernel (remember to re-enable IMR booting when they do).

Offline

#14 2022-07-07 11:05:25

0xDD
Member
Registered: 2022-01-22
Posts: 5

Re: No sound after resume driver snd_sof_pci_intel_tgl fails

Brain wrote:

Sorry to necrobump, but on my Thinkpad X1 Carbon G9 this is still a problem, even with linux 5.18.
Downgrading to sof-firmware 2.0 seems to fix the issue.

Any ideas on how to fix this properly?

Hi Brain,

As a workaround, you can also switch to LTS kernel that doesn't have this problem.

Regards,
Dmitry

Offline

Board footer

Powered by FluxBB