Skip to content

[BUG] stream_start_offset set incorrectly leading to av sync errors #8779

Closed

Description

@kv2019i

Describe the bug
Branch from Linux SOF driver bug thesofproject/linux#4781

The FW is not reporting correct start offset, which leads to incorrect delay reporting by the SOF driver to application. This can lead to video playback failures with applications using ALSA delay reporting.

To Reproduce
Play a video with mplayer and native ALSA backend:

Reproduction Rate
50%

Expected behavior
Video should play reliably with accurate AV sync with applications using ALSA snd_pcm_delay().

Impact
High

Environment
kernel: thesofproject/linux@66ee247 (sof-dev)
SOF: 6c18829 (SOF main)
platform: MTL
topoplogy: sof-mtl-rt713-l0-rt1316-l12.tplg

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    MTLApplies to Meteor Lake platform
    on Jan 23, 2024
  2. kv2019i commented on Jan 23, 2024

    @kv2019i
    CollaboratorAuthor

    Potentially fixed by #8756
    UPDATE: I still get super large delay values reported when I tested this today with the above PR cherry-picked. So cannot confirm this fix yet.

  3. added this to the v2.9 milestone on Jan 23, 2024
  4. RanderWang commented on Jan 24, 2024

    @RanderWang
    Collaborator

    Potentially fixed by #8756 UPDATE: I still get super large delay values reported when I tested this today with the above PR cherry-picked. So cannot confirm this fix yet.

    @kv2019i please help to review this PR: thesofproject/linux#4791, thanks

  5. kv2019i commented on Jan 31, 2024

    @kv2019i
    CollaboratorAuthor

    The FW part is merged, so let's close this and continue in thesofproject/linux#4781

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 expected

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions