Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [v1.4.2] System hang when boot up with pulseaudio on one CFL laptop #2806

Closed
ClarexZhou opened this issue Apr 20, 2020 · 8 comments
Closed
Labels
bug Something isn't working as expected CFL Applies to Coffee Lake platform HDA Applies to HD-Audio bus for codec connection NOT ON MASTER Issue is not seen on master P1 Blocker bugs or important features

Comments

@ClarexZhou
Copy link

Describe the bug
On one Nvidia GPUs laptop, system will hang when system boot up with pulseaduio enaBled.

Error seen with fw 1.4.2 but not see with latest master and 1.5-rc1 fw.

To Reproduce

  1. Pulseaduio is enabled
  2. Boot up system

Reproduction Rate
3/3

Expected behavior
Boot up system successfully

Impact
System hang during boot up.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: sof-hda-generic-4ch.tplg
  3. Name of the platform(s) on which the bug is observed.
    • Platform: CFL Laptop in HDA mode, selek G3 3590,

Can't get logs for system hang during boot up.

@ClarexZhou ClarexZhou added bug Something isn't working as expected NOT ON MASTER Issue is not seen on master labels Apr 20, 2020
@ClarexZhou
Copy link
Author

ClarexZhou commented Apr 20, 2020

System also hang in below steps if disabled pulseaduio:

  1. boot up system after disable pulseaudio
  2. Change PGA in playback volume to max via alsamixer
  3. 'aplay -Dhw:1,0 -f dat music.wac -vv -i', -> System hang. No error dmesg when system hang
    Error also can be reproduced without PGA change in step 2.

@lgirdwood
Copy link
Member

@mengdonglin @fkaczmar @lbetlej I know that v1.5 is imminent, but v1.4.x is shipping with all the 20.04 Ubuntu/Redhat releases. If we are good with v1.5 on Ubuntu/ RH 20.04 then we can ship this as the fix rather than a new v1.4.3 release (as either way we the distros have to update FW).

@lgirdwood lgirdwood added the P1 Blocker bugs or important features label Apr 20, 2020
@plbossart
Copy link
Member

@mengdonglin @fkaczmar @lbetlej I know that v1.5 is imminent, but v1.4.x is shipping with all the 20.04 Ubuntu/Redhat releases. If we are good with v1.5 on Ubuntu/ RH 20.04 then we can ship this as the fix rather than a new v1.4.3 release (as either way we the distros have to update FW).

@lgirdwood unrelated topic but can we make sure all firmwares are generated for 1.5, I don't want to regenerate the baytrail/broadwell/apl/cml once as I did last time.

@mengdonglin mengdonglin added the CFL Applies to Coffee Lake platform label Apr 21, 2020
@mengdonglin
Copy link
Collaborator

@lrgirdwo @fkaczmar @jajanusz latest result shows this issue is very likely to be the system hang issue we previously fixed for customer.

@mengdonglin mengdonglin changed the title [BUG] [v1.4.2] System hang when boot up with pulseaudio on one Nvidia GPUs laptop [BUG] [v1.4.2] System hang when boot up with pulseaudio on one CFL laptop Apr 21, 2020
@mengdonglin mengdonglin added the HDA Applies to HD-Audio bus for codec connection label Apr 21, 2020
@jajanusz
Copy link
Contributor

I checked the source code of https://github.com/thesofproject/sof/tree/v1.4.2 and it does not have fix for hangs that was merged in this PR: #2326

@mengdonglin
Copy link
Collaborator

mengdonglin commented Apr 21, 2020

Thank you! @jajanusz Can this fix be applied to https://github.com/thesofproject/sof/tree/v1.4.2?

This fix was merged by master about 10 days later than 1.4.2 (Feb 21)

@jajanusz
Copy link
Contributor

But 1.4.2 is not aligned with master from Feb 21, there are just cherr-picks from that date, so it needs more changes.
Anyway I'll make PR with backport for branch 1.4-stable.

@ClarexZhou
Copy link
Author

Close for error is fixed on https://github.com/thesofproject/sof/commits/v1.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected CFL Applies to Coffee Lake platform HDA Applies to HD-Audio bus for codec connection NOT ON MASTER Issue is not seen on master P1 Blocker bugs or important features
Projects
None yet
Development

No branches or pull requests

5 participants