Closed ClarexZhou closed 5 years ago
Same issue on arecord
@ClarexZhou this looks like a driver issue. I assume this works when the stream is not paused before suspend ? Can you also check this on other targets. I can see TRIGGER_START which I would not expect to see if the stream is paused. @plbossart @ranj063 fyi,
It works OK when the stream is not paused before suspend. Also:This issue cannot be reproduced on APL UP2 PCM512x platform. Test Recipe date: 2019-04-22 sof master: 0c93261 kernel sof-dev: 90860434 tplg: sof-apl-pcm512x.tplg
@mengdonglin fyi, this is a driver issue and it's unassigned
This issue also can be reproduced on WHL with HDMI playback, but cannot be reproduced with I2S playback(headset playback).
CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
0 1 PIPE 4.21 9478057.656250 9478058.000000 src/audio/pipeline.c:789 pipeline_xrun_recover()
0 1 VOLUME 9479258.177083 1200.520874 src/audio/volume.c:474 volume_copy() error: sink component buffer has not enoug h free bytes for copy
0 1 PIPE 9479302.500000 44.322918 src/audio/pipeline.c:681 pipeline_copy() error: ret = -5, start->comp.id = 20, di r = 1
dmesg.log logger.log logger-t.log
Test recipe: kernel: sof-dev/2e94569 sof/tplg: master/e4c1651 tplg: sof-whl-rt5682.tplg
Bug has been root caused. It's a driver issue. I will submit a patch later.
@libinyang great, please create driver issues and link to this. I will close this now.
This is a driver issue, a new issue is filed in linux: https://github.com/thesofproject/linux/issues/866
close this issue now.
Describe the bug Aplay resume failed once S3 and wake up from pause status. 2/5: Failed for "write error:Input/output errror" 3/5: Resumed process bar display playing, but no audio output.
To Reproduce
Expected behavior Aplay should be resumed successfully and audio output normally.
Environment Kernel Repo: https://github.com/RanderWang/linux/commits/cml-validation-20190419 Made from: RanderWang/linux@2de29fa
RanderWang/linux@d04ccf4 RanderWang/linux@bfb0729 RanderWang/linux@8a2b13a RanderWang/linux@63ceb8f RanderWang/linux@db89510 RanderWang/linux@066e6f4 RanderWang/linux@bfb3fcb RanderWang/linux@edc012c RanderWang/linux@a9f0431 RanderWang/linux@d5113b0 RanderWang/linux@aeccfd5 RanderWang/linux@22999bd RanderWang/linux@c827ffb Sof Repo: https://github.com/bardliao/sof/tree/whl-daliy-20190419 Made from: bardliao@ 4c6f6f7
bardliao/sof@90a6efd bardliao/sof@5ef0713 bardliao/sof@50bd96d bardliao/sof@fdf1eda bardliao/sof@f135dd9 bardliao/sof@e8d5622
dmesg:
dmesg.log logger.log