Skip to content

[BUG]: IPC timeout observed for topology with mux components #7185

Closed

Description

@maruthi-machani

with PR: #7099 observing IPC timeout with TDM mode (Mux component) on AMD platforms.
Attaching the error snippet.

MicrosoftTeams-image (1)

Activity

  1. ranj063 commented on Mar 1, 2023

    @ranj063
    Collaborator

    @bhiregoudar can you please paste the topology graph that's failing with this patch?

  2. maruthi-machani commented on Mar 2, 2023

    @maruthi-machani
    ContributorAuthor

    image

  3. lgirdwood commented on Mar 6, 2023

    @lgirdwood
    Member

    @ujfalusi @lyakh any inputs here ?
    @maruthi-machani do you have FW logs prior to timeout ? i.e. any logs from shared memory on your platform.

  4. added this to the v2.5 milestone on Mar 6, 2023
  5. ujfalusi commented on Mar 6, 2023

    @ujfalusi
    Contributor

    @maruthi-machani, a description on how this failure can be triggered would help

  6. maruthi-machani commented on Mar 7, 2023

    @maruthi-machani
    ContributorAuthor

    Issue observed during initial topology loading. by reverting the changes in ipc-common.c, the topology load is successful.

  7. lgirdwood commented on Mar 8, 2023

    @lgirdwood
    Member

    @maruthi-machani not seeing this on Intel HW atm, are you able to add some debug, it looks like an exception (I'm not sure why the kernel would say the otherwise). I can only think we are trying to deref a mux buffer that does not or no longer exists ?

  8. kv2019i commented on Mar 13, 2023

    @kv2019i
    Collaborator

    @maruthi-machani Do you have time to debug this for v2.5? We can't really see this on any Intel platform, so we'd need help on the debug. We are targetting for a v2.5-rc1 end of this week.

  9. maruthi-machani commented on Mar 14, 2023

    @maruthi-machani
    ContributorAuthor

    @kv2019i we need sometime to debug this. seems this is specific to AMD platform.

  10. maruthi-machani commented on Mar 19, 2023

    @maruthi-machani
    ContributorAuthor

    @kv2019i we are observing for pipeline_29 buffer_get_comp() is waiting to acquire the buffer (buffer_acquire()).
    Is this happen due to improper termination of pipeline_29 (ACPHS_VIRTUAL Dai). Can you suggest any reference topology for proper termination of mux component having two PCM playbacks.

  11. maruthi-machani commented on Mar 20, 2023

    @maruthi-machani
    ContributorAuthor

    @kv2019i with the echo-ref dai topology, the issue of waiting to acquire the buffer got resolved. Also IPC timeout not observed.

  12. kv2019i commented on Mar 21, 2023

    @kv2019i
    Collaborator

    Thanks @maruthi-machani ! So I gather this is at least not cause to block SOF2.5 release?

  13. maruthi-machani commented on Mar 23, 2023

    @maruthi-machani
    ContributorAuthor

    with AMD topology specific changes the issue is resolved, no blocker.

  14. lgirdwood commented on Mar 24, 2023

    @lgirdwood
    Member

    with AMD topology specific changes the issue is resolved, no blocker.

    @maruthi-machani Have these updates been merged, can we close ?

  15. maruthi-machani commented on Mar 27, 2023

    @maruthi-machani
    ContributorAuthor

    updates merged #7313, please close the issue.

  16. maruthi-machani commented on Mar 28, 2023

    @maruthi-machani
    ContributorAuthor

    updates merged #7313, closing the issue.

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

Metadata

Metadata

Labels

RembrandtApplies to Rembrandt platformbugSomething isn't working as expected

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions