-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
MTLApplies to Meteor Lake platformApplies to Meteor Lake platformbugSomething isn't working as expectedSomething isn't working as expectedmtl-002Issues observed with mtl-002 releaseIssues observed with mtl-002 release
Description
Describe the bug
Run alsa_conformance_test --test-suites test_rates to check whether all estimated rates are the same as what it set.
When --rate-criteria-diff-pct set to 0.05 (default is 0.01), tests pass consistently with CAVS_FW_ACE_RELEASE but failed for cSOF.
More details about the test:
https://chromium.googlesource.com/chromiumos/platform/audiotest/+/refs/heads/master/alsa_conformance_test.md#Stability-of-rate
To Reproduce
alsa_conformance_test.py -P hw:0,0 --test-suites test_rates --rate-criteria-diff-pct 0.05 --merge-thld-size 48
Reproduction Rate
100%
Expected behavior
alsa_conformance_test.py is a "standard" test that run on all previous platforms.
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: https://chromium.googlesource.com/a/chromiumos/third_party/kernel/+/refs/heads/chromeos-5.15 with https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/4047328
- SOF: mtl-002-drop-stable and main 0f14345
- Name of the topology file
- Topology: sof-mtl-max98357a-rt5682, sof-mtl-nocodec.tplg,
- Name of the platform(s) on which the bug is observed.
- Platform: MTL-RVP
Screenshots or console output
localhost ~ # alsa_conformance_test.py -P hw:0,0 --test-suites test_rates --rate-criteria-diff-pct 0.05 --merge-thld-size 48
0 passed, 1 failed
Device Information
Name: hw:0,0
Card: sofrt5682 [sof-rt5682]
Device: Headset (*) []
Stream: PLAYBACK
Format: ['S16_LE', 'S24_LE', 'S32_LE']
Channels: [2]
Rate: [48000]
Period_size range: [24, 4096]
Buffer_size range: [48, 16384]
Test Rates
Set rate 48000: fail - Expected rate is 48000, measure 43024.080435000003, difference 4975.9195649999965 > threshold 24.0
Note:
With --rate-criteria-diff-pct 0.05 , threshold = 48000 * 0.05/100, expected rate is 48K, measured 43K, off by 5K.
Metadata
Metadata
Assignees
Labels
MTLApplies to Meteor Lake platformApplies to Meteor Lake platformbugSomething isn't working as expectedSomething isn't working as expectedmtl-002Issues observed with mtl-002 releaseIssues observed with mtl-002 release