Skip to content

Conversation

@singalsu
Copy link
Contributor

@singalsu singalsu commented Dec 8, 2022

The default parameter sigma k is 3.0 when omitted from command line. This patch drops the threshold to half with 1.5 to better detect distortion in playback. Alsabat judges spectral components above the threshold as sine frequencies.

This change should increase the probability fail a test to avoid green failures to happen.

Signed-off-by: Seppo Ingalsuo seppo.ingalsuo@linux.intel.com

@singalsu singalsu force-pushed the alsabat_adjust_k_threshold branch 2 times, most recently from afeb0ae to 66417b9 Compare December 8, 2022 14:58
marc-hb
marc-hb previously approved these changes Dec 20, 2022
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 20, 2022

suspend/resume failure in https://sof-ci.01.org/softestpr/PR991/build110/devicetest/index.html is unrelated, other tests are passing.

The default parameter sigma k is 3.0 when omitted from command line.
This patch drops the threshold to half with 1.5 to better detect
distortion in playback. Alsabat judges spectral components above the
threshold as sine frequencies.

This change should increase the probability fail a test to avoid
green failures to happen.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu
Copy link
Contributor Author

Removed now revert to 997 Hz.

@singalsu singalsu marked this pull request as ready for review December 21, 2022 16:17
@singalsu singalsu requested a review from a team as a code owner December 21, 2022 16:17
@singalsu
Copy link
Contributor Author

Ready, the two fails look unrelated.

@singalsu singalsu requested a review from marc-hb December 21, 2022 16:19
@marc-hb
Copy link
Collaborator

marc-hb commented Dec 21, 2022

I don't know whether https://sof-ci.01.org/softestpr/PR991/build119/devicetest/index.html?model=TGLU_UP_HDA_IPC4ZPH&testcase=check-alsabat-headset-playback is related or not but it's in the same test so let's not merge this yet

Also spotted by @plbossart in https://sof-ci.01.org/linuxpr/PR4101/build2529/devicetest/index.html?model=TGLU_UP_HDA_IPC4ZPH&testcase=check-alsabat-headset-playback on a different device of the same model

2022-12-20 13:26:53 UTC [REMOTE_INFO] Run alsa setting for TGLU_UP_HDA_IPC4ZPH 

2022-12-20 13:26:53 UTC [REMOTE_WARNING] alsa setting for TGLU_UP_HDA_IPC4ZPH is not available

@keqiaozhang
Copy link
Contributor

I don't know whether https://sof-ci.01.org/softestpr/PR991/build119/devicetest/index.html?model=TGLU_UP_HDA_IPC4ZPH&testcase=check-alsabat-headset-playback is related or not but it's in the same test so let's not merge this yet

It's not related, #992 can fix it.

@keqiaozhang
Copy link
Contributor

I tested this PR with #992, the results are as expected:
image

Copy link
Contributor

@keqiaozhang keqiaozhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marc-hb
Copy link
Collaborator

marc-hb commented Mar 13, 2023

SOFCI TEST

@marc-hb
Copy link
Collaborator

marc-hb commented Mar 13, 2023

Only suspend/resume failure that this test does not change: merging

@marc-hb marc-hb merged commit 92fe8a1 into thesofproject:main Mar 13, 2023
@marc-hb
Copy link
Collaborator

marc-hb commented Mar 14, 2023

@fredoh9 confirmed in internal issue 379 that reverting this makes some tests pass/green fail again.

@fredoh9
Copy link
Contributor

fredoh9 commented Mar 14, 2023

Not sure why 821 Hz only fails with this fix.
Even last device test results also, check-alsabat.sh failed on both TGL/ADL nocodec mode.
https://sof-ci.01.org/softestpr/PR991/build180/devicetest/index.html

If the change affects the test results directly, let's not merge the change until everything is under control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants