-
Notifications
You must be signed in to change notification settings - Fork 318
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] [stable-v2.2] overrun in pause/resume tests on HDA configs #9139
Comments
See again in daily 41235 and 41277. 100% deterministic. |
@kv2019i this issue also obaserved on other platform like ADLP and ADL-N refresh |
Two important observations thanks to @ranj063 's great help:
Thanks to the new ADL-N refresh, we can now observe this consistently across two generations very far apart: WHL-HDA and ADL-N refresh HDA. |
I think it makes sense that all we see these prints in the case of HDMI/HDA Analog PCM's. I dont think the overruns reported by the firmware trace are detrimental though. The test goes on to complete all requested 100 iteration of pause/release. The script does the right think by calling out these errors to report failures too. IMHO, i think we should reduce the log level for the prints to be warnings instead or error. |
@ranj063 any idea why there is no overrun message when running the same test with Zephyr? https://sof-ci.01.org/sofpr/PR9335/build6750/devicetest/index.html?model=TGLU_UP_HDA-ipc4&testcase=check-pause-resume-capture-100 There are overruns messages (not ERRORs) but only when testing with multiple PCMs: I don't know yet whether these overruns happen with the same HDMI ports: is there an easy way to tell from the firmware logs? |
Describe the bug
ERROR hda_dma_link_check_xrun(): overrun detected
when testing capture in pause-resume tests.For some unknown reason, this is observed only on WHL, no other stable-v2.2 configuration seems affected.EDIT: same on ADL and ADL-N refresh.
It seems PCM-specific?
To Reproduce
TPLG=/lib/firmware/intel/sof-tplg/sof-hda-generic-4ch.tplg MODEL=WHL_UPEXT_HDA-ipc3 SOF_TEST_INTERVAL=5 ~/sof-test/test-case/check-pause-resume.sh -c 100 -m capture
or
TPLG=/lib/firmware/intel/sof-tplg/sof-hda-generic-4ch.tplg MODEL=WHL_UPEXT_HDA-ipc3 SOF_TEST_INTERVAL=5 ~/sof-test/test-case/multiple-pause-resume.sh -r 25T
Reproduction Rate
100%. Observed in daily tests runs:
41199?model=WHL_UPEXT_HDA-ipc3&testcase=check-pause-resume-capture-100
41199?model=WHL_UPEXT_HDA-ipc3&testcase=multiple-pause-resume-25
41235?model=WHL_UPEXT_HDA-ipc3&testcase=check-pause-resume-capture-100
41235?model=WHL_UPEXT_HDA-ipc3&testcase=multiple-pause-resume-25
This is very likely a very old issue, exposed recently only thanks to:
Expected behavior
No ERROR in the firmware logs.
Environment
Linux Branch: topic/sof-dev
Linux Commit: 055cba4766af
KConfig Branch: master
KConfig Commit: 8fee06f8fd8a
SOF Build Result: 4027
SOF Branch: stable-v2.2
SOF Commit: 64416ba51354
Screenshots or console output
cc:
The text was updated successfully, but these errors were encountered: