Skip to content

[WHL] output sound is choppy if we play with paplay #812

Closed

Description

@bardliao

kernel: f0ce2c5 and cherry-pick 4b3555a886f990a66182d6f041f0cdda0f95aca1 + 75d88bd
FW: thesofproject/sof@ed6ac05 and revert thesofproject/sof@f5e7843

We can see a lot of log with same DMA and DAI position.

[  688.768510] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.768632] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.768642] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.768955] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.768999] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.769201] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.769231] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.769313] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.769331] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.798577] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760
[  688.798605] sof-audio-pci 0000:00:1f.3: PCM: stream 0 dir 0 DMA position 12192 DAI position 56760

It seems we don't get SOF_IPC_STREAM_POSITION ipc in time.

How to reproduce:

  1. boot up on a ubuntu device.
  2. paplay test.wav

Activity

  1. changed the title [-][WHL HDA] output sound is choppy if we play with paplay[/-] [+][WHL] output sound is choppy if we play with paplay[/+] on Apr 12, 2019
  2. bardliao commented on Apr 12, 2019

    @bardliao
    CollaboratorAuthor

    This issue can be seen on both WHL HDA and I2S mode, but I can't reproduce it on Up2 (APL).

  3. added
    bugSomething isn't working
    WHLApplies to WhiskeyLake platform
    on Apr 12, 2019
  4. mengdonglin commented on Apr 16, 2019

    @mengdonglin

    Closed since PR #826 is merged and can fix this issue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    WHLApplies to WhiskeyLake platformbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions