Skip to content

[BUG][MTL][ChromeOS][Rex] - alsa conformance test rate error exceeds the limit for DMIC with 4 channel #8458

@udaymb

Description

@udaymb

Describe the bug
alsa conformance test is executed with 4 channel DMIC.
Issue is not observed with this test on I2S speaker or Headset.

More information on alsa conformance test
command used for verification on Rex chrome system.

alsa_conformance_test -C 'hw:0,99' -c 4 -f S32_LE --debug
output - act-dmic-rate-error-sku3-15668-23ww451.log

Result summary
number of recorders: 1
number of points: 1277
step average: 37.467085
step min: 4
step max: 52
step median: 48
step standard deviation: 17.585385
rate: 47998.531900
rate error: 17.757167
zero channels: 0 0 0 0
number of underrun: 0
number of overrun: 0

mtrace showed this messages
--- 12 messages dropped ---
[ 1.112486] pipe: pipeline_new: pipeline new pipe_id 0 priority 0
[ 1.113965] ipc: ipc_cmd: rx : 0x40000004|0x306
[ 1.114300] dai_intel_dmic: dai_dmic_probe: dmic_probe()
[ 1.114396] dma: dma_get: dma_get() ID 0 sref = 1 busy channels 0
[ 1.114428] ipc: dai_config: comp:0 0x40000 dai_config() dai type = 2 index = 0 dd 0x40105e00
--- 12 messages dropped ---
[ 1.114806] dai_intel_dmic_nhlt: dai_dmic_set_config_nhlt: dmic_set_config_nhlt(): illegal CIC_CONTROL = 0x0000c001
[ 1.114840] dai_intel_dmic_nhlt: dai_dmic_set_config_nhlt: dmic_set_config_nhlt(): clkdiv = 16, mcic = 25, mfir_a = 2, len = 101

Above result shows that rate error exceeded the limit of 10. Hence the test is considered failed.

To Reproduce
Run below command on MTL Rex Chrome system that supports 4 channel dmic
alsa_conformance_test -C 'hw:0,99' -c 4 -f S32_LE --debug

Reproduction Rate
How often does the issue happen ? i.e. 1/10 (once in ten attempts), 1/1000 or all the time.
Does the reproduction rate vary with any other configuration or user action, if so please describe and show the new reproduction rate.
Always reproducible

Expected behavior
A clear and concise description of what you expected to happen.
rate error should not exceed 10

Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
Performance test failure is blocking the

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: {FILE} - a446bed87f4039ec7f415397184d31b6 /lib/firmware/intel/sof-ace-tplg/sof-mtl-max98360a-rt5682.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {PLATFORM} - MTL Rex Chrome OS

Screenshots or console output
If applicable, add a screenshot (drag-and-drop an image), or console logs
(cut-and-paste text and put a code fence (```) before and after, to help
explain the issue.

Please also include the relevant sections from the firmware log and kernel log in the report (and attach the full logs for complete reference). Kernel log is taken from dmesg and firmware log from sof-logger. See https://thesofproject.github.io/latest/developer_guides/debugability/logger/index.html

mtrace log and with dynamic logs and ipc4 messaging enabled kernel logs
mtrace-act-dmic-rate-error-sku1-23ww451.log
dmesg-act-dmic-rate-error-sku1-23ww451.log

Metadata

Metadata

Assignees

Labels

DMICDigital MicrophoneMTLApplies to Meteor Lake platformbugSomething isn't working as expectedmtl-006staleIssue/PR marked as stale and will be closed after 14 days if there is no activity.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions