You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][TGL][Chrome] DSP Panic when PCM99 Capture start during Playback with IGO integrated firmware #4584
As soon we start arecord, DSP panic shown in dmesg
Reproduction Rate
DSP panic issue is reproduced without suspend/resume in above steps.
To consistently/easily reproduce, above steps were found out.
issue happens 60% of the times - 3 out of 5 times
Expected behavior
Playback and Capture should work.
@sathya-nujella I have problem to reproduce your environment (tgl-013 in google private repo + PR #4575). The image build fails. Seems like the memory doesn't fit anymore. Log here. build_log.txt
Can you push your working commit to private repo as detached head so that I can align with yours. Thanks.
@sathya-nujella I have problem to reproduce your environment (tgl-013 in google private repo + PR #4575). The image build fails. Seems like the memory doesn't fit anymore. Log here. build_log.txt
Can you push your working commit to private repo as detached head so that I can align with yours. Thanks.
@keyonjie. Following @sathya-nujella 's comment here, I am still not able to see any error in dmesg at this moment.
May I know what does cras_test_client --playback_f /dev/zero and suspend_stress_test -c 1 do? The latter command shows lots of logs during each iteration.
@keyonjie. Following @sathya-nujella 's comment here, I am still not able to see any error in dmesg at this moment.
May I know what does cras_test_client --playback_f /dev/zero and suspend_stress_test -c 1 do? The latter command shows lots of logs during each iteration.
@fuyuntsuo let's discuss details in email thread or even call directly, it is inefficient here.
@sathya-nujella Do you still have a reproduction of this issue? Today, I've tried to reproduce it on top of tgl-013-drop-stable and did not hit it.
Hi Bartosz,
We don't observe "DSP panic issue now", but please see details below:
We are not testing using tgl-13 branch as is. We are applying all the below PR's on previous tgl-13 CL with IGO patches:
#4575 #4612 #4640 <<< this PR has more changes than the one merged in tgl-13. We are using the patches from this PR during tests. So, we need your help to push delta changes to tgl-13 too. Thank you! #4696
==
Also, for ref: @lancedkhou and @fuyuntsuo observed some IPC errors during their tests. We have requested them to raise new GH issues.
Activity
sathya-nujella commentedon Aug 2, 2021
dmesg_sof_issue_4584_dsp_panic.txt
sathya-nujella commentedon Aug 2, 2021
@RDharageswari , @yongzhi1 , @ranj063 , @keyonjie , @slawblauciak - FYI
sathya-nujella commentedon Aug 3, 2021
As @ranj063 mentioned enabled all kernel dynamic logs.
We can see, kernel driver sent PCM Capture99 START and it is successful.
[ 252.753079] sof-audio-pci 0000:00:1f.3: pcm: hw params stream 99 dir 1
[ 252.753084] sof-audio-pci 0000:00:1f.3: generating page table for 00000000642fc1c2 size 0x10000 pages 16
[ 252.753092] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 252.753127] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 252.753133] sof-audio-pci 0000:00:1f.3: period_bytes:0x4000
[ 252.753134] sof-audio-pci 0000:00:1f.3: periods:4
[ 252.753162] sof-audio-pci 0000:00:1f.3: stream_tag 4
[ 252.753173] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000
[ 252.754647] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60010000
[ 252.754653] sof-audio-pci 0000:00:1f.3: pcm: stream dir 1, posn mailbox offset is 790756
[ 252.757309] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 99 dir 1 cmd 1
[ 252.757478] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x2044001e successful
[ 252.757483] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000
[ 252.757784] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60040000
[ 252.764529] sof-audio-pci 0000:00:1f.3: error : DSP panic!
sathya-nujella commentedon Aug 3, 2021
Tried this patch, still issue is reproducible:
SOF fw: tgl_13 + IGO private patches + PR:#4575 + Below patch ----> still panic issue happens.
b91818b
sathya-nujella commentedon Aug 3, 2021
with @ranj063 , tried the below change to move capture buffers to core-1 ----> we still hit the DSP panic issue.
lgirdwood commentedon Aug 4, 2021
@sathya-nujella is there anything in the FW error log or sof-logger prior to the panic ?
lgirdwood commentedon Aug 4, 2021
@sathya-nujella do the buffer core change or #4575 have any impact on the reproduction rate or reproduction point ?
sathya-nujella commentedon Aug 4, 2021
Hi @lrgirdwo , same reproduction point in both experiments.
sathya-nujella commentedon Aug 4, 2021
Nothing specific error in sof-logs.
@keyonjie is able to repro too with same steps. Any observations please?
4 remaining items
sathya-nujella commentedon Aug 6, 2021
Adding @fuyuntsuo to this issue -FYI
fuyuntsuo commentedon Aug 8, 2021
@sathya-nujella I have problem to reproduce your environment (tgl-013 in google private repo + PR #4575). The image build fails. Seems like the memory doesn't fit anymore. Log here.
build_log.txt
Can you push your working commit to private repo as detached head so that I can align with yours. Thanks.
sathya-nujella commentedon Aug 8, 2021
Sure @fuyuntsuo.
FYI - Build works with this:
1)checkout to this one: (private google repo)
https://chrome-internal-review.googlesource.com/c/chromeos/third_party/sound-open-firmware-private/+/3982238
2)
wget https://patch-diff.githubusercontent.com/raw/thesofproject/sof/pull/4575.patch
git am 4575.patch
3)
IGO library in respective folder
Can you please share build error ?
Also do 'git submodule update' before build and try again. Thank you!
fuyuntsuo commentedon Aug 9, 2021
thanks @sathya-nujella I am able to build the image. Trying to reproduce issue now.
keyonjie commentedon Aug 9, 2021
@fuyuntsuo ping me if you can't reproduce the issue.
fuyuntsuo commentedon Aug 9, 2021
@keyonjie. Following @sathya-nujella 's comment here, I am still not able to see any error in dmesg at this moment.
May I know what does
cras_test_client --playback_f /dev/zeroandsuspend_stress_test -c 1do? The latter command shows lots of logs during each iteration.keyonjie commentedon Aug 9, 2021
@fuyuntsuo let's discuss details in email thread or even call directly, it is inefficient here.
bkokoszx commentedon Aug 31, 2021
@sathya-nujella Do you still have a reproduction of this issue? Today, I've tried to reproduce it on top of tgl-013-drop-stable and did not hit it.
sathya-nujella commentedon Aug 31, 2021
Hi Bartosz,
We don't observe "DSP panic issue now", but please see details below:
We are not testing using tgl-13 branch as is. We are applying all the below PR's on previous tgl-13 CL with IGO patches:
#4575
#4612
#4640 <<< this PR has more changes than the one merged in tgl-13. We are using the patches from this PR during tests. So, we need your help to push delta changes to tgl-13 too. Thank you!
#4696
==
Also, for ref:
@lancedkhou and @fuyuntsuo observed some IPC errors during their tests. We have requested them to raise new GH issues.
lgirdwood commentedon Aug 31, 2021
@sathya-nujella thanks, can you also link the new GH issues here too so we can track.
XiaoyunWu6666 commentedon Jan 24, 2022
@sathya-nujella Could you please provide other relevant GH issue links? thanks
lgirdwood commentedon Jan 24, 2022
@XiaoyunWu6666 this was fixed last year so should be closed. I'll close, we can always reopen if needed.