Skip to content

[BUG][CML]Audio output via internal speaker will have 1-2s latency #953

Closed

Description

@YvonneYang2

Summary:
Audio output via internal speaker will have 1-2s latency

To reproduce
Make sure not plug in headphone or headset
Play music via command "aplay -Dhw:0,0 -r48000 -c2 -fs16_le wav/48California_Dreaming.wav"

Expect result
Streaming output normally without latency

Impact
Streaming output will have 1-2 latency between press the enter and show the music playing status.

Reproduce rate: 4/10

Test recipe
Rander UCM https://github.com/RanderWang/intel-UCM/commits/hdmi
Kernel repo:c536f9f https://github.com/thesofproject/linux/tree/release/sof-v5.0
Firmware repo: b73b9a6 https://github.com/thesofproject/sof/commits/debug-ipc-timeout
Topology: https://github.com/thesofproject/sof/commits/debug-ipc-timeout Same as above SOF repo
file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg

Upload 4 dmesg log to compare.
failDmesg2.txt
passDmesg1.txt
passDmesg2.txt
failDmesg1.txt

Activity

  1. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    HDAApplies to HD-Audio bus for codec connection
    on May 16, 2019
  2. KailangYang commented on May 16, 2019

    @KailangYang

    This issue was same as issue #900 .

  3. bardliao commented on May 17, 2019

    @bardliao
    Collaborator

    @mengdonglin The polling_mode is on azx_rirb_get_response, but SOF uses snd_hdac_bus_get_response. I think we can implement it on snd_hdac_bus_get_response

  4. YvonneYang2 commented on May 21, 2019

    @YvonneYang2
    Author

    Issue not reproduced with headset or without headset with PR #963, so close the bug.

    Test recipe:
    Firmware: 5fa2426 https://github.com/thesofproject/sof/tree/master
    Kernel: b58f448 https://github.com/thesofproject/linux/tree/release/sof-v5.0
    Topology: file: tools/topology/sof-hda-generic.tplg, sof-hda-generic-2ch.tplg same as firmware
    Kconfig: https://sof-ci-storage.sh.intel.com/daily/20190521/release/linux/topic/sof-dev/901cd2a5-2/config-daily-hda-20190521.txt
    CML laptop

  5. mengdonglin commented on May 22, 2019

    @mengdonglin

    Wait for PR #963 to be merged by topic/sof-dev at first.

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

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionbugSomething isn't workingcodecCodec HW or driver restrictionduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions