Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kv2019i opened this issue Jan 23, 2024 · 3 comments
Closed

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

kv2019i opened this issue Jan 23, 2024 · 3 comments
Assignees
Labels
bug Something isn't working as expected MTL Applies to Meteor Lake platform P1 Blocker bugs or important features
Milestone

Comments

@kv2019i
Copy link
Collaborator

kv2019i commented Jan 23, 2024

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

@kv2019i kv2019i added bug Something isn't working as expected P1 Blocker bugs or important features MTL Applies to Meteor Lake platform labels Jan 23, 2024
@kv2019i
Copy link
Collaborator Author

kv2019i commented Jan 23, 2024

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 kv2019i added this to the v2.9 milestone Jan 23, 2024
@RanderWang
Copy link
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

@kv2019i
Copy link
Collaborator Author

kv2019i commented Jan 31, 2024

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
Labels
bug Something isn't working as expected MTL Applies to Meteor Lake platform P1 Blocker bugs or important features
Projects
None yet
Development

No branches or pull requests

2 participants