Skip to content

[BUG] JSL_RVP_NOCODEC check alsabat failed #4427

@XiaoyunWu6666

Description

@XiaoyunWu6666

Describe the bug
happened since inner daily test 4887 , while 4882 is still good
when check-alsabat-playback ,get warning and the case failed

2021-06-30 02:52:56 UTC [COMMAND] alsabat -Phw:sofnocodec,0 --standalone -n 240000 -r 48000 -c 2 -F 997
alsa-utils version 1.2.2

Entering playback thread (ALSA).
Get period size: 2048  buffer size: 16384
Playing generated audio sine wave
2021-06-30 02:52:57 UTC [COMMAND] alsabat -Chw:sofnocodec,0 -c 2 -r 48000 -F 997
alsa-utils version 1.2.2

Entering capture thread (ALSA).
Get period size: 2048  buffer size: 16384
Recording ...
Capture completed.

BAT analysis: signal has 65536 frames at 48000 Hz, 2 channels, 2 bytes per sample.

Channel 1 - Checking for target frequency 997.00 Hz
Amplitude: 3228.7; Percentage: [9]
Detected peak at 0.73 Hz of 20.48 dB
 Total 28.3 dB from 0.73 to 16.11 Hz
 WARNING: Found low peak 0.73 Hz, very close to DC
Detected peak at 133.30 Hz of 16.15 dB
 Total 28.9 dB from 131.84 to 134.03 Hz
 FAIL: Peak freq too low 133.30 Hz
Detected peak at 276.86 Hz of 12.61 dB
 Total 29.0 dB from 276.86 to 276.86 Hz
 FAIL: Peak freq too low 276.86 Hz
Detected peak at 298.83 Hz of 10.16 dB
 Total 29.0 dB from 298.83 to 298.83 Hz
 FAIL: Peak freq too low 298.83 Hz
Detected peak at 399.17 Hz of 10.70 dB
 Total 29.1 dB from 399.17 to 399.17 Hz
 FAIL: Peak freq too low 399.17 Hz
Detected peak at 421.14 Hz of 12.06 dB
 Total 29.2 dB from 421.14 to 421.14 Hz
 FAIL: Peak freq too low 421.14 Hz
Detected peak at 443.12 Hz of 11.18 dB
 Total 29.2 dB from 443.12 to 443.12 Hz
 FAIL: Peak freq too low 443.12 Hz
Detected peak at 465.09 Hz of 11.16 dB
 Total 29.3 dB from 465.09 to 465.09 Hz
 FAIL: Peak freq too low 465.09 Hz
Detected peak at 542.72 Hz of 10.71 dB
 Total 29.4 dB from 542.72 to 542.72 Hz
 FAIL: Peak freq too low 542.72 Hz
Detected peak at 564.70 Hz of 12.48 dB
 Total 29.5 dB from 564.70 to 565.43 Hz
 FAIL: Peak freq too low 564.70 Hz
Detected at least 10 signal(s) in total

Return value is -1003

This is a regression , I use the sof recipe of inner daily test 4882 and it got a PASS back

To Reproduce
TPLG=sof-jsl-nocodec.tplg ~/sof-test/test-case/check-alsabat.sh -p hw:sofnocodec,0 -c hw:sofnocodec,0 -C 2
Reproduction Rate
100%

Environment
Kernel Branch: topic/sof-dev
Kernel Commit: 5b851f48
SOF Branch: main
SOF Commit: 2d70f10
Topology: sof-jsl-nocodec.tplg
Platform: jsl_rvp_nocodec

Metadata

Metadata

Assignees

No one assigned

    Labels

    Intel Linux Daily testsThis issue can be found in internal Linux daily testsJSLApplies to Jasper Lake platformbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions