Skip to content

[BUG][TGL]Two channels both output sound at the same time during speaker test on aplay0,0(speaker). #1977

Closed

Description

@YvonneYang2

Describe the bug
Two channels both output sound at the same time when do speaker-test on aplay0,0(Speaker)

To Reproduce

  1. Boot up.
  2. Run command via "speaker-test -Dhw:0,0 -r48000 -f1000 -c2 -t wav -l 5"
  3. Check the channels

Reproduced rate
100%

Expected result
Left channel should be muted status when said "Right", Right channel should be muted status when said "Left"

Actual result
Left cahnnel output sound when said "Right".Right cahnnel output sound when said "Left".

Environment
kernel: https://github.com/thesofproject/linux/commits/topic/sof-dev commit b8464d1 + #1971 (DSM support)
FW: https://github.com/thesofproject/sof/tree/tgl-004-drop-stablecommit: 8ad6761 + thesofproject/sof#2405 (WOV tplg)
tplg: sof-tgl-max98373-rt5682.m4 https://github.com/thesofproject/sof/tree/tgl-004-drop-stablecommit: 8ad6761 + thesofproject/sof#2405 (WOV tplg)
platform: TGL Chromebook w/ RT5682 and Max98373 in I2S mode

due to the issue thesofproject/sof#2507, it blocked the sof-trace log.
dmesg_speaker.log

Activity

  1. added
    bugSomething isn't working
    TGLApplies to Tiger Lake platform
    on Apr 2, 2020
  2. sinahuang commented on Apr 3, 2020

    @sinahuang

    Issue can't be reproduced on TGL-U RVP with codec ALC711 in SDW mode and RT1308 in I2S mode

  3. keqiaozhang commented on Apr 8, 2020

    @keqiaozhang

    @sathya-nujella please help to assign this bug to jairaj-arava. I cannot find his GitHub ID. Thanks.

  4. keyonjie commented on Apr 8, 2020

    @keyonjie

    This is the max98373 codec configuration issue, each amplifier is configured to work in channel 0/1 mixed mode.

  5. keyonjie commented on Apr 8, 2020

    @keyonjie

    @YvonneYang2 @sinahuang @keqiaozhang please try run below commands and retry:

    #amixer cset name='Left DAI Sel Mux' 0
    #amixer cset name='Right DAI Sel Mux' 1
    
  6. jairaj-arava commented on Apr 8, 2020

    @jairaj-arava

    @sathya-nujella please help to assign this bug to jairaj-arava. I cannot find his GitHub ID. Thanks.

    can you please try now ?

  7. jairaj-arava commented on Apr 8, 2020

    @jairaj-arava

    I tried on the Volteer board from both user space and aplay but couldn't repro the issue.
    https://www.youtube.com/watch?v=hTvJoYnpeRQ

  8. sathya-nujella commented on Apr 8, 2020

    @sathya-nujella

    @sathya-nujella please help to assign this bug to jairaj-arava. I cannot find his GitHub ID. Thanks.

    This is the UCM for this configuration:
    https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/b0415c0d6b3c530f6200560ff331f69410f59f3c/overlay-volteer/chromeos-base/chromeos-bsp-volteer/files/ucm-config/sof-tgl_max73rt82/HiFi.conf

    please apply both mixer settings from "Speaker" and also default section.

  9. keqiaozhang commented on Apr 9, 2020

    @keqiaozhang

    Confirmed that with below 2 amixer settings, this issue is not reproducible. This issue can be closed now.

    #amixer cset name='Left DAI Sel Mux' 0
    #amixer cset name='Right DAI Sel Mux' 1
    
  10. added
    UCMRestriction of UCM configuration files
    and removed
    UCMRestriction of UCM configuration files
    on Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

I2SP1Blocker 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