-
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][CML]Ipc timed out for 0x60040000 size 12 after reboot #2279
Comments
Caused by master 91fb594, and may related arecord HW:0,8 |
@mmaka1 please help to check this |
@singalsu any comments on the DMIC errors in the log ? |
When issue occur, do suspend-resume via command "sudo rtcwake -m mem -s 10" can make it back to work, but runtime PM always active.
|
@lgirdwood [ 14.494840] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000: GLB_STREAM_MSG: TRIG_START So TRIG_START fails to IPC error. Then after this, we get errors for all DAIs (including HDMI) when trying to stop and free. |
Disable UCM issue can't be reproduced, update the UCM via thesofproject/alsa-ucm-conf#25 issue can't be reproduced. |
@dengyangchao I have to reopen this issue as the IPC timeout still exists. i.e. FW should not IPC timeout and crash under any circumstances. Can you narrow down the conditions or IPC sequence that causes the crash. |
Having #2285 merged, you could revert the clock back to 400MHz, and grep 'perf' keyword to find cpu peak reported. If >120K then FW execution takes too long and may result in DMIC overruns and other bad behavior. Would be interesting to see when that high load happens. |
@mmaka1 are you suggesting high load could cause the IPC timeout in this issue ? |
@lgirdwood @dengyangchao @mmaka1 Anything new? |
@tlauda This issue is because we expose wov pipeline to pulseaudio in ucm. remove that pipeline from ucm, no issue at all. |
Pulseaudio will probe each PCM device by attempting to open it multiple times with different configuration params. It then works out which PCM params are supported and which are not supported. |
@lgirdwood I reboot the device, and manually start pulseaudio after DSP suspended (with DMIC16k in UCM), attached file is the log from the time I press ENTER to start pulseaudio. Only hw params IPC error, and NO IPC timeout found. and sof error log is clean. tried 5 times, same result. Since this issue is reported, we have a lot of patch merged, maybe fixed accidentally? |
@aiChaoSONG are you confirming it works on master now if pulseaudio started automatically at boot ? |
@lgirdwood Yes, even pulseaudio start at boot, ipc timeout is gone, and only three hw param ipc error in dmesg log. |
ok great. |
Describe the bug
Pulse aduio enabled, and Ipc timed out for 0x60040000 size 12 after reboot
When issue occur, system get stalled and hard to use
To Reproduce
1.Reboot system via"sudo reboot"
2.check dmesg via "dmesg -w"
Reproduction Rate
5/5
Expected behavior
system reboot normal
Impact
Ipc timed out for 0x60040000 size 12
Environment
Platform: CML Chrome with onboard codec RT5682 and RT1011 in I2S mode
Firmware: 418c77e https://github.com/thesofproject/sof/commits/master
Kernel: 5e7259b https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-cml-rt1011-rt5682.tplg same as firmware
Dmesg
Sof-error-trace
amixer.txt
dmesg.log
logger.log
logger-error-trace.log
The text was updated successfully, but these errors were encountered: