Skip to content

[BUG][mtl-002] noise/playback drag issue observed with mtl-002-drop stable release #6727

Closed

Description

@RDharageswari

mtl-002-drop stable release results in playback drag issue.

topology and firmware used from mtl-002-drop stable branch

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    MTLApplies to Meteor Lake platform
    blockedprogress blocked by something else, applies to either feature or bug
    on Dec 6, 2022
  2. changed the title [-][BUG] noise/playback drag issue observed with mtl-002-drop stable release[/-] [+][BUG][mtl-002] noise/playback drag issue observed with mtl-002-drop stable release[/+] on Dec 6, 2022
  3. RDharageswari commented on Dec 6, 2022

    @RDharageswari
    Author

    topologyandloopbackfile.zip
    This issue is observed with the nocodec topology as well. Please find attached the no_codec topology and the captured loopback file with noise

    command used:
    aplay -Dhw:0,0 -c2 -r48000 -fS16_LE /home/LRMonoPhase4.wav -vv &
    arecord -Dhw:0,0 /home/loop-mtl-002.wav -c2 -r48000 -fs16_le -d10

    There are no dmesg error logs

  4. jairaj-arava commented on Dec 6, 2022

    @jairaj-arava
    Contributor
  5. lgirdwood commented on Dec 7, 2022

    @lgirdwood
    Member
  6. miRoox commented on Dec 8, 2022

    @miRoox

    We can reproduce this issue with both main and mtl-002, but the behavior of main seems a little bit different:
    On main branch: If we playback and capture simultaneously at first, we can hear the noise in the captured loopback file; but if we only playback at first, then try playback and capture simultaneously, the captured loopback sounds clear. We guess there might be some conflicts when setting up hw params.
    On mtl-002, we can always hear the noise.

  7. aborisovich commented on Dec 9, 2022

    @aborisovich
    Contributor

    Is it I2S or HDA configuration?
    What tolopogy configuration is there?

  8. juimonen commented on Dec 9, 2022

    @juimonen

    @aborisovich in the topology zip file there is nocodec tplg -> so I would assume I2S/SSP.

  9. RDharageswari commented on Dec 9, 2022

    @RDharageswari
    Author

    driver, firmware logs and the captured loopback file
    fw_driver_logs_loopbackdatacaptured_issue.zip
    working_logs.zip

  10. mwasko commented on Dec 12, 2022

    @mwasko
    Contributor

    driver, firmware logs and the captured loopback file fw_driver_logs_loopbackdatacaptured_issue.zip working_logs.zip

    @RDharageswari we are still missing logs from the SW that include IPC payloads. This information is critical to reproduce the problem with a FW tests. @juimonen, @lgirdwood can someone from SW team help here?

  11. lgirdwood commented on Dec 12, 2022

    @lgirdwood
    Member

    @ranj063 @ujfalusi can someone provide the kernel option to dump all the IPC logs into dmesg. Thanks !

  12. ujfalusi commented on Dec 12, 2022

    @ujfalusi
    Contributor

    options snd_sof sof_debug=0x341 should print all dumps and log all messages (even DMA position updates - for dtrace BIT(8)) and their completion.
    Or do we want to dump the messages itself? They will flood the kernel log pretty fast...

  13. ujfalusi commented on Dec 12, 2022

    @ujfalusi
    Contributor

    Actually, if the kernel is configured with DEBUG_VERBOSE then the kernel sent message payload is printed out (normal and large messages as well) for IPC4.

  14. abonislawski commented on Dec 12, 2022

    @abonislawski
    Member

    This can be fixed with i2s master link clock selection. Confirmed today with Dhara.
    For mtl-002 we can do quick fix with manual selection but for main branch a proper mechanism should be developed using driver config.

  15. self-assigned this
    on Dec 13, 2022
  16. mengdonglin commented on Dec 15, 2022

    @mengdonglin
    Collaborator

    Closing as being fixed.

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

Metadata

Metadata

Labels

MTLApplies to Meteor Lake platformP1Blocker bugs or important featuresblockedprogress blocked by something else, applies to either feature or bugbugSomething isn't working as expectedmtl-002Issues observed with mtl-002 release

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions