Skip to content

[BUG][TGL] TGLU_VOLT_SDW has no sound when playback on speaker #2637

Closed

Description

@RuiqingX

Describe the bug
On TGL Volteer device, we observed that sometimes there is no sound output through speaker(max98373) while the headset(rt5682) works well after OS boot. After investigation, we found fixed pattern to reproduce the issue:

  1. reboot
  2. use speaker-test to check if sound comes out from speaker
  3. wait DSP to suspend (no operations on device > 6s)
  4. repeat step 2 and step 3 several times (better > 10)
  5. after several PM, there will be no sound through speaker.
    Note: speaker always works well after kmod reload, and there is no error in the dmesg or sof-logger

Device
TGLU_VOLT_SDW with sh-tglu-volt-sdw-03

Environment
Kernel: { sof-dev 47f55b1-1}
SOF: {c8ae78a-3}
Platform: {Volteer}

Edit: this issue is root caused, see the last comment.

Activity

  1. bardliao commented on Dec 1, 2020

    @bardliao
    Collaborator

    @RuiqingX I don't see Speakers on your "aplay -l" cmd? What is your command to test speaker playback?

  2. plbossart commented on Dec 1, 2020

    @plbossart
    Member

    Indeed you need to clarify which topology is used. I doesn't look like you have a working setup here.

  3. naveen-manohar commented on Dec 2, 2020

    @naveen-manohar

    Can we know the software recipe & command used to aplay ? Also please help update with dmesg with debug log
    Observe Card-2 is enumerated for Speaker.
    card 2: sofsoundwire [sof-soundwire], device 2: smart373-spk (*) []

  4. bardliao commented on Dec 2, 2020

    @bardliao
    Collaborator

    @RuiqingX Could you test it with SOF version tgl_010 https://github.com/thesofproject/sof/releases/tag/releases%2Ftgl%2Fv10.0 ? We need to know if this is a SOF issue or a kernel issue.

  5. RuiqingX commented on Dec 2, 2020

    @RuiqingX
    Author

    This issue is caused by 11.20 daily firmware.
    SOF: {da9e0d3}

  6. keqiaozhang commented on Dec 7, 2020

    @keqiaozhang

    @RuiqingX Could you test it with SOF version tgl_010 https://github.com/thesofproject/sof/releases/tag/releases%2Ftgl%2Fv10.0 ? We need to know if this is a SOF issue or a kernel issue.

    This issue cannot be reproduced with tgl-011-drop-stable branch.

  7. WYL-12 commented on Dec 8, 2020

    @WYL-12

    This is a SOF issue, the bisect cause by 8a8e873.

  8. kv2019i commented on Dec 8, 2020

    @kv2019i
    Collaborator

    Based on last comments, this is related to FW, not drivers. Moving to firmware.

  9. transferred this issue fromthesofproject/linuxon Dec 8, 2020
  10. lgirdwood commented on Dec 9, 2020

    @lgirdwood
    Member

    @WYL-12 I dont think thesofproject/sof@8a8e873 is correct, it's a commit for IMX topology. The issue may not be 100% reproducible ?

  11. keyonjie commented on Dec 15, 2020

    @keyonjie

    @aiChaoSONG can you help to double check the bisect result?

  12. aiChaoSONG commented on Dec 16, 2020

    @aiChaoSONG

    To reproduce this issue, use below procedures:

    1. reboot
    2. use speaker-test to check if sound comes out from speaker
    3. wait DSP to suspend
    4. repeat step 2 and step 3 several times (better > 10)

    Note: speaker always works well after kmod reload.

    These will be no sound through Speaker(max98373) after several runtime PM, once there is no sound over Speaker, check headset(rt5682), there is sound output.

    Yali and I are re-doing bisect
    Edit: bisect result 37740626

  13. 178 remaining items

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

Metadata

Metadata

Labels

MAX98373Issues with Max98373 codecP2Critical bugs or normal featuresSDWApplies to SoundWire bus for codec connectionTGLApplies to Tiger Lake platformbugSomething isn't workingcodecCodec HW or driver restrictionfix submittedFix submitted but not merged yet

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions