Skip to content

[BUG][TGL]two sides amplifiers both output “front left” and no amplifier output "front Right" when do test speaker test on speaker #2169

Closed

Description

@YvonneYang2

Describe the bug
Two sides amplifiers both output “front left” and no amplifier output "front Right" when do test speaker test on speaker

To Reproduce

  1. Boot up . and run "sudo su"
  2. Run ./amp_enable_sdw.sh
    amp_enable_sdw.sh.txt
  3. cd sof-test and export TPLG=/lib/firmware/intel/sof-tplg/sof-tgl-sdw-max98373-rt5682.tplg
  4. cd test-case and run ./test-speaker.sh -l 5
    https://github.com/thesofproject/sof-test/blob/master/test-case/test-speaker.sh

Reproduce rate
5/5

Expected result
"Front left" output from left amplifier and "Front right" output from right amplifier when do test speaker on speaker

Actual result
two sides amplifiers both output “front left” and no amplifier output "front Right"

Environment
Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev commit:5cb79ee6f
Revert regression on USB-C 6a7c533
Revert regression on PINCTRL cd0a323+ #2062 + hack commit 6769df9
FW:: https://github.com/thesofproject/sof/tree/tgl-006-drop-stable plus thesofproject/sof#3006
TPLG: sof-tgl-sdw-max98373-rt5682-4ch.tplg rename to sof-tgl-sdw-max98373-rt5682.tplg
Platform: TGL SDW chromebook with rt5682-max98373

test-speaker-dmesg.log
test-speaker-logger.log

Activity

  1. added
    bugSomething isn't working
    TGLApplies to Tiger Lake platform
    on Jun 4, 2020
  2. YvonneYang2 commented on Jun 5, 2020

    @YvonneYang2
    Author

    Issue still can reproduce with below sceanario:
    during DSM test with different format eg. “aplay -Dhw:0,2 -f s16_le -c 4 -r 48000 sine_48k_32bit_10s_stereo_l5_r2.wav -d 10 & arecord -Dhw:0,3 -f s16_le -c 4 -r 48000 tmp.wav -vv -i -d 10”

    1. with s16_le, Sound output from speaker sometimes has noise. Terminate the arecord0,3, output speaker back to normal. Dmesg shows bus clash for data word. Check wave picture, two mono channels have no wave
    2. with s24_le, Check wave picture, one mono channel has no wave
    3. with s32_le, Check wave picture, two mono channels have no wave

    s16_le_dmesg.log
    s16_le_logger.log

  3. added
    P1Blocker bugs or important features
    on Jun 9, 2020
  4. YvonneYang2 commented on Jun 12, 2020

    @YvonneYang2
    Author

    Tested it with latest topic/sof-dev(01ec165) + #2178, issue cannot be reproduced.

    amixer setting:
    amp_enable_sdw.sh.log

    Test recipe:
    Kernel: topic/sof-dev(01ec165) + #2178 and
    Revert regression on USB-C 6a7c533
    Revert regression on PINCTRL cd0a323
    FW: https://github.com/thesofproject/sof/tree/tgl-006-drop-stable + thesofproject/sof#3006
    TPLG: sof-tgl-sdw-max98373-rt5682-4ch.tplg rename to sof-tgl-sdw-max98373-rt5682.tplg

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

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featuresTGLApplies to Tiger Lake platformbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions