Skip to content

[bug][tgl]System freezed after wake up from S2idle with HDMI playback. #1701

Closed

Description

@Liviali155

Describe the bug
System freezed after wake up from S2idle with HDMI playback.

Wait about 6min-8mins, HDMI can aplay successfully and can pause and resume successfully,but aplay again, it failed and can not be released, Only unplug/plugin power supply to reboot can recover

To Reproduce
1.sudo reboot with HDMI connected
2. open a terminal:aplay -Dhw:0,4 -r48000 -c2 -fs16_le wav/48California_Dreaming.wav -vv -i
3.open another terminal: "sudo rtcwake -m mem -s 10 " from idle

Reproduce rate
5/5

Expected result
Aplay via HDMI normally after wake up from s2idle

Actual result
The system freezed after wake up from S2idle

no error dmesg

dmesg13.log
sof_trace13.log

Platform: TGL-U RVP with onboard codec ALC711 in HDA modeFirmware: 418c77e https://github.com/thesofproject/sof/commits/master
Kernel: 5e7259b https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-hda-generic-4ch.tplg same as firmware

Activity

  1. added
    bugSomething isn't working
    TGLApplies to Tiger Lake platform
    on Jan 13, 2020
  2. Liviali155 commented on Jan 13, 2020

    @Liviali155
    Author

    Bi-sect result: Caused by kernel commit:03c657c03c657c

  3. Liviali155 commented on Jan 14, 2020

    @Liviali155
    Author

    @ranj063,please check it

  4. Liviali155 commented on Jan 14, 2020

    @Liviali155
    Author

    Error only seen in s2idle mode,not seen in deep mode

  5. ranj063 commented on Jan 14, 2020

    @ranj063
    Collaborator

    @Liviali155 @mengdonglin I have no TGL boards to debug this.

  6. Liviali155 commented on Feb 11, 2020

    @Liviali155
    Author

    Tried with PR #1767,error not seen

    Platform: TGL-U RVP with onboard codec ALC711 in HDA mode
    Firmware: a573a2c https://github.com/thesofproject/sof/commits/master
    Kernel: 0c7dcfe https://github.com/thesofproject/linux/commits/topic/sof-dev
    Topology file: tools/topology/sof-hda-generic-4ch.tplg same as firmware

  7. sinahuang commented on Feb 11, 2020

    @sinahuang

    Issue can't be reproduce on TGL-U RVP with soundwire-latest (commit: 0c7dcfe) when aplay DP/HDMI after wake up from s2idle.

    Test recipe

    Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev commit:0c7dcfe
    FW: https://github.com/thesofproject/sof/commits/master commit: a573a2c
    Tplg: Same with FW branch, rename sof-tgl-rt711-i2s-rt1308.tplg to sof-tgl-rt711-rt1308.tplg
    Platform:TGL-U RVP with codec ALC711 in SDW mode and RT1308 in I2S mode

  8. self-assigned this
    on Feb 13, 2020
  9. kv2019i commented on Feb 13, 2020

    @kv2019i
    Collaborator

    Ack @Liviali155 and @sinahuang , this looks good. We will soon get the fix in #1767 via upstream merge to sof-dev and I think we can close this issue then.

  10. Liviali155 commented on Feb 14, 2020

    @Liviali155
    Author

    Error not seen on TGL-U on 20200214,but PR #1767 has not been merged

    Platform: TGL-U RVP with onboard codec ALC711 in HDA mode
    Firmware: 4d17d0d https://github.com/thesofproject/sof/commits/master
    Kernel: daf71dc https://github.com/thesofproject/linux/commits/topic/sof-dev
    Topology file: tools/topology/sof-hda-generic-4ch.tplg same as firmware

  11. kv2019i commented on Feb 14, 2020

    @kv2019i
    Collaborator
  12. mengdonglin commented on Feb 16, 2020

    @mengdonglin

    Close this issue since fix of PR #1767 was actually merged via upstream rebase. @keyonjie @xiulipan @Liviali155 I think we have a good code base to test WoV now :)

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

Metadata

Metadata

Labels

P1Blocker bugs or important featuresTGLApplies to Tiger Lake platformbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions