Skip to content
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] LNL nocodec alsabat-capture fail to broken pipe -32 #9449

Open
kv2019i opened this issue Sep 9, 2024 · 2 comments
Open

[BUG] LNL nocodec alsabat-capture fail to broken pipe -32 #9449

kv2019i opened this issue Sep 9, 2024 · 2 comments
Labels
bug Something isn't working as expected I2S Applies to I2S bus for codec connection LNL Applies to Lunar Lake platform P2 Critical bugs or normal features

Comments

@kv2019i
Copy link
Collaborator

kv2019i commented Sep 9, 2024

Describe the bug
Follow-up to #9123 and filing a separate bug to track the case of alsabat-capture test fail, with test failing to an overrun.

To Reproduce
Seen in SOF Intel CI testing on LNL devices.

Reproduction Rate
<1/10

Expected behavior
alsabat test should pass

Impact
audio glitches in output

Environment

Linux Branch: topic/sof-dev
Linux Commit: 2fdeeded4e06
KConfig Branch: master
KConfig Commit: 8189104a4f38
SOF Branch: main
SOF Commit: f383b0f
Zephyr Commit: 689d1edee1d5

Screenshots or console output

2024-09-08 14:48:42 UTC [REMOTE_COMMAND] alsabat -Phw:sofnocodec,0 --standalone -n 240000 -r 48000 -c 2 -f S16_LE -F 997 -k 2.1
2024-09-08 14:48:43 UTC [REMOTE_COMMAND] alsabat -Chw:sofnocodec,0 -c 2 -r 48000 -f S16_LE -F 997 -k 2.1
alsa-utils version 1.2.6

Entering playback thread (ALSA).
Get period size: 3000  buffer size: 24000
Playing generated audio sine wave
Playback completed.

Return value is 0
Overrun: Broken pipe(-32)
 FAIL: Peak freq too low 978.52 Hz
 FAIL: Peak freq too low 982.18 Hz
@kv2019i kv2019i added bug Something isn't working as expected P2 Critical bugs or normal features I2S Applies to I2S bus for codec connection LNL Applies to Lunar Lake platform labels Sep 9, 2024
@kv2019i kv2019i changed the title [BUG] LNL nocodec alsabat-capture fail to 10 [BUG] LNL nocodec alsabat-capture fail to broken pipe -32 Sep 9, 2024
@lrudyX
Copy link

lrudyX commented Sep 13, 2024

@kv2019i could you add link to CI tests results?

@kv2019i
Copy link
Collaborator Author

kv2019i commented Sep 17, 2024

@lrudyX here's one fresh occurence in CI https://sof-ci.01.org/sofpr/PR9454/build8003/devicetest/index.html?model=LNLM_RVP_NOCODEC&testcase=check-alsabat-headset-capture-997

alsabat is not strictly needed if you have other means to check the captured audio. I.e. a test with SSP playback + capture with SSP loopback should trigger this problem. But only occurs on some of the DUTs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected I2S Applies to I2S bus for codec connection LNL Applies to Lunar Lake platform P2 Critical bugs or normal features
Projects
None yet
Development

No branches or pull requests

2 participants