sof driver fails and print lots of errors in the dmesg (focal)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Committed
|
High
|
Hui Wang |
Bug Description
In the focal kernel, we backported a commit from the stable patches,
that commit make the sof driver fail to work, and even make the system
hang randomly.
The commit we introduced is:
Author: Ranjani Sridharan <email address hidden>
Date: Mon Nov 4 14:48:12 2019 -0800
ASoC: SOF: topology: set trigger order for FE DAI link
BugLink: https:/
[ Upstream commit 5eee2b3f60065a2
Set trigger order for FE DAI links to SND_SOC_
to trigger the BE DAI's before the FE DAI's. This prevents the
xruns seen on playback pipelines using the link DMA.
Signed-off-by: Ranjani Sridharan <email address hidden>
Signed-off-by: Pierre-Louis Bossart <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>
[Impact]
Booting the focal kernel on the LENOVO X1 corbon 7th and a Dell
machine which has dmic on it, the sof driver print lots of errors
even it loaded the firmware and topology conf file correctly, and
the sof driver fails to initializaton, after booting up, we run:
aplay -l, it print out that there is no soundcard. And the system
randomly hang.
[Fix]
We backported a patch from stable kernel, that is not enough, the
submitter of that patch sent 2 patches out, the stable kernel only
integrated the 2nd one, to fix this problem, let's integrate the
1st one as well.
[Test Case]
After applied all patches, the sof driver worked well, all audio
functions worked well, and the system didn't hang randomly anymore.
[Regression Risk]
Low, these two patches fix FB/BE order issue, we should backport them
together. And I have tested the patches on a LENOVO and a Dell machine,
all worked well.
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1862736
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.