You are not logged in.
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
You need to install sof-firmware.
Offline
It is already installed. I reinstall it and it does not Fix the issue.
Offline
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
it seems that this problem sometimes affects other people: https://github.com/thesofproject/sof/issues/4639
Offline
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
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
Downgrade to sof-firmware 1.9.3-1 helps me. Dell XPS 9310.
Offline
After upgrading all packages today (to kernel 5.16.5-arch1-1 etc) the problem disappeared.
Offline
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
Offline
Same here. I no longer have the issue with 5.16.5
Offline
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
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
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