Skip to content

scratching noise when pause/release HDMI audio on Yorp #583

Closed

Description

@keqiaozhang

This noise issue is happened when pause/release HDMI playback, the possibility is less than 5% and there's no obvious error trace.
The recorded wav file is attached.
BTW, I tried to reproduce this issue with sine wav, but failed.
noise.zip

Kernel-topic/cros-sof-v4.14-rebase: a38231
DSP FW-origin/glk-004-drop-stable: 1f79920
Topology-origin/master: 5894ed

This issue is to follow up issue #349 fixed by #504

Activity

  1. added
    P2Critical bugs or normal features
    GLKApplies to Gemini Lake platform
    on Nov 15, 2018
  2. lgirdwood commented on Nov 15, 2018

    @lgirdwood
    Member

    @keqiaozhang is this easy to reproduce with your orig wav file and cannot be reproduces with sine wave ? Please check sine wave more (and check with audacity) as this would possibly indicate an issue with gain ? rather than DMA. I assume there is also no such issue with SSP and HDMI is using passthrough pipeline ?

  3. self-assigned this
    on Nov 16, 2018
  4. slawblauciak commented on Nov 16, 2018

    @slawblauciak
    Collaborator

    I noticed a couple rather interesting peculiarities with this.
    For once, often times on pause, soon before this bug manifests itself I can hear a very short audible burst of this metallic noise.
    Secondly, very often the bug doesn't show up immediately after releasing, but after some time, like half a second or so. It also sometimes goes away after a second too.

    I maintain a very low reproduction rate, around 1%.
    The issue is reproducible for me with an 800 Hz sine wave.

  5. keqiaozhang commented on Nov 27, 2018

    @keqiaozhang
    CollaboratorAuthor

    @slawblauciak
    I got the same result as you. The noise happens only when pausing or releasing the playback and goes away after <1 second and the possibility is low, less than 5%.
    Before the noise will last until next pause/release.
    Tested with
    kernel-cros-sof-v4.14-rebase: f8f388ef
    sof-master: 443233
    tplg-master: ad3f3e4

  6. lgirdwood commented on Nov 29, 2018

    @lgirdwood
    Member

    @keqiaozhang can you provide some audacity screens shots and wav of the noise. Thamks

  7. keqiaozhang commented on Nov 30, 2018

    @keqiaozhang
    CollaboratorAuthor

    @lgirdwood
    I tested a lot with 48K sine wave, but failed to reproduce it.
    @slawblauciak
    Could you help to provide the audacity screens shots? I cannot play 800 sine wave without the plug plugin on Yorp.

  8. slawblauciak commented on Nov 30, 2018

    @slawblauciak
    Collaborator

    @keqiaozhang you shouldn't need the plug if the sampling rate is 48 kHz. Just the sinewave should be at 800 Hz

    I will try to provide you with a screenshot

  9. keqiaozhang commented on Nov 30, 2018

    @keqiaozhang
    CollaboratorAuthor

    Thanks @slawblauciak. I misunderstood, I just generated a 48K_16bit_2ch_800hz sine wav. I will try it again.

  10. mengdonglin commented on Dec 25, 2018

    @mengdonglin
    Collaborator

    The issue can still be reproduced occasionally with
    #567
    #575

  11. michalgrodzicki commented on Mar 26, 2019

    @michalgrodzicki

    @mengdonglin what is a current status here?

  12. mengdonglin commented on Mar 29, 2019

    @mengdonglin
    Collaborator
  13. keqiaozhang commented on Mar 29, 2019

    @keqiaozhang
    CollaboratorAuthor

    @mengdonglin
    I didn't observe this issue in regular test. but I still need to run the stress test to double confirm it. will update it soon

  14. Jiangxinx commented on Mar 29, 2019

    @Jiangxinx
    Contributor

    Not reproduce on APL-UP2-PCM521X platform.

    Env:
    sof master: 742f83b
    kernel sof-dev: e29122d
    tplg: sof-apl-pcm512x.tplg

  15. lgirdwood commented on Mar 29, 2019

    @lgirdwood
    Member

    @Jiangxinx @keqiaozhang can we close ?

  16. keqiaozhang commented on Apr 1, 2019

    @keqiaozhang
    CollaboratorAuthor

    This issue cannot be reproduced on GLK. We can close this issue now.
    SOF/tplg: glk-011-drop-stable / 55ae67b
    Kernel driver: cros-sof-v4.14-rebase/a1d6bf0d

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

Metadata

Metadata

Assignees

Labels

GLKApplies to Gemini Lake platformP2Critical bugs or normal featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions