-
Notifications
You must be signed in to change notification settings - Fork 322
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] Plug/unplug on headset stress breaks hw_params #4970
Comments
The firmware we use is built by TGL-013 drop stable (including PR#4833). The topology file is sof-tgl-max98373-rt5682-igonr.tplg |
here is a fw log of the crash. Crash starts at line 186676 from what I can tell fw_log.txt |
This has been fixed in recent kernel and FW, it causes the host DMA to get stuck and requires a reboot. |
This would be needed on TGL-013 or a new TGL branch |
I saw these prints in my local tests, but it was not fatal in my case. Audio worked even though I saw these prints.
Sure Liam, thank you. @bkokoszx , can you please help give a test fw branch out of tgl-13 including the fixes as @lgirdwood mentioned for cross checking for this particular issue ? |
If you allowed the device to suspend, then it's a recoverable error. but in stress tests or in cases where the device doesn't suspend there's no way to recover. |
Hi @lgirdwood |
@bkokoszx yes exactly those, btw there are kernel updates needed too as the IPC flow has a changed. @sathya-nujella I guess you can see the kernel patches to back port. |
ADL-003 would also need to be patched as I suspect this is a load issue related to NC algorithms. |
with this, I am not able to reproduce: "sof-audio-pci 0000:00:1f.3: error: hda_dsp_stream_trigger: cmd 0: timeout on STREAM_SD_OFFSET read". Thank you to @ranj063 for sharing this minimalistic changes to avoid the issue. Hi @cujomalainey , @johnylin76, |
@sathya-nujella just to clarify, this is only meant as a hot fix for TGL. For ADL, we should backporrt both the kernel and FW fixes fully. |
@ranj063 @sathya-nujella @cujomalainey @lgirdwood |
Adding @sathyap-chrome for ADL visibility. |
@johnylin76 can you produce a FW build and share internally with NC so we can stress test it? Thanks @sathya-nujella and @bkokoszx |
Thank you @johnylin76 for sharing test observations. Based on this, I have removed TEST label from PR. Requested team to review & merge: #5006. |
Uploaded the firmware and ldc file with #5006 |
#5006 fixed this according to QA, thanks all |
Describe the bug
Toggling between outputs/inputs breaks SOF, this is another bug found after a workaround for #4769
To Reproduce
on a chromebook loaded with NC and Hotword to really stress the DSP.
Reproduction Rate
Indeterminate
Expected behavior
DSP would stay alive
Impact
showstopper
Environment
Screenshots or console output
You will see signs of stress such as
[ 356.374910] sof-audio-pci 0000:00:1f.3: error: hda_dsp_stream_trigger: cmd 0: timeout on STREAM_SD_OFFSET read
and
But the actual error is when hw_params starts failing
^this requires a reboot to recover from
It is also not specific to headset hw_params, it can break dmic as well
The text was updated successfully, but these errors were encountered: