Skip to content

[BUG][MTL-004][Chrome] Xrun on capture pipeline #7230

Closed

Description

@aiChaoSONG

Describe the bug
use the firmware compiled without -d option (main or releases/mtl/v4.0), we see capture xrun on mtl chromebook. if firmware is compiled with -d option, see issue #7228.
To Reproduce
do capture on any capture pipeline (headset, DMIC or BT), we observe I/O errror and xrun in mtrace from the begining, no obvious error in dmesg.

Reproduction Rate
100%

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: {8d5df0f5a from chrome kernel}
    • SOF: {MTL-004 release, tag: releases/mtl/v4.0, or sof main. compiled without -d option}
  2. Name of the topology file
    • Topology: {sof-mtl-max98360a-rt5682.tplg}
  3. Name of the platform(s) on which the bug is observed.
    • Platform: {{MTL Chromebook}
[00:00:00.132,541] <inf> ll_schedule: zephyr_ll_task_schedule_common: task add 0xa00a8fc0 0x20180U priority 0 flags 0x0
[00:00:00.133,143] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 0, free_bytes: 1536
[00:00:00.133,151] <inf> dai_intel_ssp: dai_ssp_get_properties: dai_ssp_get_properties dai_index 2
[00:00:00.133,156] <inf> dai_intel_ssp: dai_ssp_get_properties: dai_ssp_get_properties fifo 172048
[00:00:00.133,161] <inf> dai_intel_ssp: dai_ssp_get_properties: dai_ssp_get_properties handshake 6
[00:00:00.133,166] <inf> dai_intel_ssp: dai_ssp_get_properties: dai_ssp_get_properties init delay 0
[00:00:00.133,175] <inf> dai_intel_ssp: dai_ssp_pre_start: dai_ssp_pre_start
[00:00:00.133,206] <inf> dai_intel_ssp: dai_ssp_start: dai_ssp_start
[00:00:00.133,211] <inf> dai_intel_ssp: dai_ssp_update_bits: dai_ssp_update_bits base 2a000, reg 34, mask 100, value 100
[00:00:00.133,263] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.134,145] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 0, free_bytes: 1536
[00:00:00.168,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 496, free_bytes: 0
[00:00:00.169,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.170,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.171,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.172,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.172,121] <wrn> dai_comp: comp:0 0x40000 dai_copy(): Copy_bytes 0 + free bytes 248 < period bytes 384, possible glitch
[00:00:00.172,131] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.173,150] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.173,160] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.174,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.174,125] <err> dma_dw_common: xrun detected
[00:00:00.174,130] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.175,113] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 768, free_bytes: 0
[00:00:00.175,121] <err> dma_dw_common: xrun detected
[00:00:00.175,125] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.176,125] <err> dma_dw_common: xrun detected
[00:00:00.176,131] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.177,121] <err> dma_dw_common: xrun detected
[00:00:00.177,133] <err> dma_dw_common: xrun detected
[00:00:00.178,123] <err> dma_dw_common: xrun detected
[00:00:00.178,133] <err> dma_dw_common: xrun detected
[00:00:00.179,123] <err> dma_dw_common: xrun detected
[00:00:00.179,130] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.180,121] <err> dma_dw_common: xrun detected
[00:00:00.180,126] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.181,121] <err> dma_dw_common: xrun detected
[00:00:00.181,126] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.182,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 0, free_bytes: 576
[00:00:00.182,125] <err> dma_dw_common: xrun detected
[00:00:00.182,130] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.183,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 0, free_bytes: 576
[00:00:00.183,121] <err> dma_dw_common: xrun detected
[00:00:00.183,125] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.184,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 0, free_bytes: 576
[00:00:00.184,125] <err> dma_dw_common: xrun detected
[00:00:00.184,128] <wrn> dai_comp: comp:0 0x40000 dai_copy(): nothing to copy
[00:00:00.185,115] <inf> host_comp: host_get_copy_bytes_normal: comp:1 0x40001 no bytes to copy, available bytes: 0, free_bytes: 576

Activity

  1. added
    bugSomething isn't working as expected
    on Mar 8, 2023
  2. added
    MTLApplies to Meteor Lake platform
    P1Blocker bugs or important features
    on Mar 8, 2023
  3. changed the title [-][BUG][MTL-Chromebook] Xrun on capture pipeline[/-] [+][BUG][MTL-004][Chrome] Xrun on capture pipeline[/+] on Mar 8, 2023
  4. self-assigned this
    on Mar 9, 2023
  5. added a commit that references this issue on Mar 10, 2023
  6. added a commit that references this issue on Mar 10, 2023
  7. added a commit that references this issue on Mar 13, 2023
  8. added a commit that references this issue on Mar 13, 2023
  9. mengdonglin commented on Mar 22, 2023

    @mengdonglin
    Collaborator

    Closing as not reproduced on MTL Chrome book

  10. aiChaoSONG commented on Mar 22, 2023

    @aiChaoSONG
    CollaboratorAuthor

    Could not be reproduced on Intel RVP.

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

Metadata

Metadata

Assignees

Labels

MTLApplies to Meteor Lake platformP1Blocker bugs or important featuresbugSomething isn't working as expectedmtl-004Issues observed with mtl-004 release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions