no sound driver since 5.3.0.42 kernel

Bug #1869799 reported by schmidt
56
This bug affects 11 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

no sound driver since 5.3.0.42 kernel, 5.3.0.45 kernel doesn't solve the problem. i have only a dummy soundcard. no sound.
5.3.0.42 kernel works fine.
my sound card is intel 100 / c230 hd audio

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1869799/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Juhani Numminen (jsonic)
affects: ubuntu → linux (Ubuntu)
tags: added: eoan kernel-sound
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1869799

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.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Hui Wang (hui.wang) wrote :

some fixing patches are in the 5.3.0-43, but somehow they are not in the 5.3.0-45. I just checked the 5.3.0-46, those patches are in the -46 kernel.

So please use -43 kernel or wait for -46 kernel.

Revision history for this message
schmidt (schmidt01) wrote :

(Had an fault in my first post. I meant -42 & -45 have sound problems, -40 works fine)
I installed -43 kernel -> same problem, no driver. Will wait for -46 kernel and post if I have still problems

Revision history for this message
Hui Wang (hui.wang) wrote :

@schmidt

-43 kernel doesn't work? Could you please upload the dmesg with the -43 kernel.

Revision history for this message
MMason (mmason11) wrote :

I am using kubuntu 19.09 and intel HD sound drivers with nvidia , was working perfectly.

I tried, ubuntu 20.04 live , my sound drivers was not working. So I thought there is driver issues with sound.

today I updated my kubuntu and I have 2 kernels

My sound drivers works, has no problem with kernel:
5.3.0-40 (good)

Dumb Audio (no sound at all) in
5.3.0-45 (problem)

Input : intel smart sound Technology TSS
output : Realtek High Defination audio.

So now in the boot of Grub, I choose advance, then old kernel..
Sound just works fine that way.

Revision history for this message
MMason (mmason11) wrote :

Additionally : I tried 5.3.0-42

My sound drivers works, has no problem with kernel:
5.3.0-40 (good)

Dumb Audio (no sound at all) in
5.3.0-42 (problem)
5.3.0-45 (problem)

Revision history for this message
schmidt (schmidt01) wrote :

I use ubuntu 18.04, today I installed -46 kernel, unfortunately no sound

Revision history for this message
schmidt (schmidt01) wrote :

I've to revise it was to fast, I also updated pulseaudio, now I have also no sound on the -40 kernel, argh!

Revision history for this message
schmidt (schmidt01) wrote :

so, now again, I restored my pc: -40 works again, -46 no sound. I put a screenshot of installed packages with pulseaudio, it seems also some problems.

Revision history for this message
schmidt (schmidt01) wrote :

installed packages

Revision history for this message
Hui Wang (hui.wang) wrote :

@schmidt,

Please upload the log of "lspci -nnvv". And you could temporarily use a workaround "options snd-hda-intel dmic_detect=0" in the /etc/modprobe.d/alsa-base.conf.

thx.

Revision history for this message
schmidt (schmidt01) wrote :

here we come

Revision history for this message
Hui Wang (hui.wang) wrote :

@schmidt,

Got it, the legacy hda driver found the dmics on your machine,it aborts the probe, but the pciid is not in the sof driver, the sof driver is not loaded.

You could workaround it by adding "options snd-hda-intel dmic_detect=0" in the /etc/modprobe.d/alsa-base.conf temporarily. I will submit the patch to fix it.

Revision history for this message
Hui Wang (hui.wang) wrote :

@schmit,

Could you please test this kernel https://people.canonical.com/~hwang4/testdsp/, remove the dmic_detect=0 workaround, and download all deb and sudo apt install *.deb;reboot

thx.

Revision history for this message
nukedathlonman (areginato) wrote :

I've just recently run into this on my Acer Swift 5 - works on 5.3.0.40, doesn't work on 5.3.0.42 or 5.3.0.45. The work around works, as does not using the work around with patched kernel 5.3.0.46 provided here.

Revision history for this message
schmidt (schmidt01) wrote :

@Hui Wang
great job, it works!

Revision history for this message
schmidt (schmidt01) wrote :

now I installed ALSA Packages post #11, now I have sound but the control for sound is gone and hardware keys for sound doesn't work.
Should I open a new Issue request?

Revision history for this message
MMason (mmason11) wrote :

@Hui Wang

Hello

for Acer Switch 7, given kernel; " 5.3.0-46 generic #38 testdsp SMP "

worked for me. I have my sound back. thank you.

Revision history for this message
nukedathlonman (areginato) wrote :

Notified of update today, and noticed one of the updates was for Kernel Image 5.3.0-46. So I removed the testdsp SMP kernel today and installed 5.3.0-46 proper kernel: Intel HDA driver not loading (so dummy output). So I'm back to workaround from 12.

Revision history for this message
MMason (mmason11) wrote :

not related to kernel but for information; Today I tried Kubuntu 20.04.

workaround of post #12 does the job.

Revision history for this message
MAR (mattmax42) wrote :

With kernel -46 sound output is working again, input is still not. The machine also still freezes on wake from sleep and requires alt+sysreq+B to force a reboot. Reverting to -40 again for now...
Dmesg attached for troubleshooting.
Regards,

Matt

Revision history for this message
Hui Wang (hui.wang) wrote :

@MAR,

if you add snd_hda_intel.dmic_detect=0 in the bootargs, does the -46 kernel still freeze when waking up?

Revision history for this message
Hui Wang (hui.wang) wrote :

@schmidt

"now I have sound but the control for sound is gone", is it a regression from -40 kernel?

"and hardware keys for sound doesn't work", is it a regression from -40 kernel too?

Please upload alsa-info.txt with the testing kernel. (run alsa-info to generate the alsa-info.txt).

thx.

Revision history for this message
MAR (mattmax42) wrote :

@Hui Wang
Thanks for the advice, yes with the snd_hda_intel.dmic_detect=0 bootarg, the freezes are resolved. The kernel messages contain a lot fewer errors too... So does this would suggest that the culprit is loading the drivers for the DMIC?

Revision history for this message
Hui Wang (hui.wang) wrote :

@Mar,

Probably. Could you upload the version of the linux-firmware? and md5sum /lib/firmware/intel/sof/*
and lib/firmware/intel/sof-tplg/*

Revision history for this message
MAR (mattmax42) wrote :
Download full text (7.4 KiB)

@Hui Wang

linux-firmware is version 1.187

md5sum /lib/firmware/intel/sof/*

md5sum: /lib/firmware/intel/sof/debug: Is a directory
md5sum: /lib/firmware/intel/sof/gcc: Is a directory
md5sum: /lib/firmware/intel/sof/signed: Is a directory
da43032938487c753d53550f9f782a1a /lib/firmware/intel/sof/sof-apl.ri
1d700016dc1bbecb813d84a451257135 /lib/firmware/intel/sof/sof-bdw.ri
bef0a3b8833b1fefd9d5794545f1f754 /lib/firmware/intel/sof/sof-byt.ri
2e640252ec0e696682aa991d6b36efc3 /lib/firmware/intel/sof/sof-cfl.ri
76a874585a9cfa8da452a71f4136fe53 /lib/firmware/intel/sof/sof-cht.ri
2e640252ec0e696682aa991d6b36efc3 /lib/firmware/intel/sof/sof-cml.ri
2e640252ec0e696682aa991d6b36efc3 /lib/firmware/intel/sof/sof-cnl.ri
14726c4b92b425675b9003f399ce1ab4 /lib/firmware/intel/sof/sof-hsw.ri
280436a94ffa1f9e8cf6ccb1b2da5779 /lib/firmware/intel/sof/sof-icl.ri
f503dabe5c7a8dac3c87ab887dd60599 /lib/firmware/intel/sof/sof-imx8.ri
1eb860b76d796f582d15b386ecc99fe4 /lib/firmware/intel/sof/sof-jsl.ri
2596782ffa2105e5f779de2bb05478ac /lib/firmware/intel/sof/sof-kbl.ri
2596782ffa2105e5f779de2bb05478ac /lib/firmware/intel/sof/sof-skl.ri
8476b4c54f85433e51937785f1007961 /lib/firmware/intel/sof/sof-sue.ri

md5sum /lib/firmware/intel/sof-tplg/*

ed0cfef8be7b185a828ec61f425cf364 /lib/firmware/intel/sof-tplg/sof-apl-da7219.tplg
d0422bdd5500c93a8841f7cf6b85db1e /lib/firmware/intel/sof-tplg/sof-apl-demux-pcm512x.tplg
3274054ba3a3bca3b353e5e2b9d22a7d /lib/firmware/intel/sof-tplg/sof-apl-dmic-2ch.tplg
70f6adb5d3cdc26dea0fb41402b68b03 /lib/firmware/intel/sof-tplg/sof-apl-dmic-4ch.tplg
58316e2e0035b56fc932a5b601ea8661 /lib/firmware/intel/sof-tplg/sof-apl-dmic-a2ch-b2ch.tplg
b06f3d6a78d469d8a2a6740d59935895 /lib/firmware/intel/sof-tplg/sof-apl-dmic-a2ch-b4ch.tplg
ad76a1c67b054e506b8914fea8035290 /lib/firmware/intel/sof-tplg/sof-apl-dmic-a2ch.tplg
0f01236e425236c42e85ffdf464a665f /lib/firmware/intel/sof-tplg/sof-apl-dmic-a4ch-b2ch.tplg
85fda9b9f6dd32d9fbae2a02a8793b0e /lib/firmware/intel/sof-tplg/sof-apl-dmic-b2ch.tplg
c1f0eef1d42a62752a821b4ba1bc4962 /lib/firmware/intel/sof-tplg/sof-apl-eq-dmic.tplg
8ef30be93d88453965d3d8fcc521faac /lib/firmware/intel/sof-tplg/sof-apl-eq-pcm512x.tplg
7cba34dfa3b691819dc0c5863698709f /lib/firmware/intel/sof-tplg/sof-apl-keyword-detect.tplg
e4a66e284e7c9f51af0883f77f39d43b /lib/firmware/intel/sof-tplg/sof-apl-nocodec.tplg
90be7ba61ae39056ea8ffe859464dcb3 /lib/firmware/intel/sof-tplg/sof-apl-pcm512x-nohdmi.tplg
fd41a6d1a366a835e2377f3611f77166 /lib/firmware/intel/sof-tplg/sof-apl-pcm512x.tplg
704faea198abb919f6671e6c24e7a376 /lib/firmware/intel/sof-tplg/sof-apl-rt298.tplg
9eac361eca51dfeb3504005a1a73c40c /lib/firmware/intel/sof-tplg/sof-apl-src-50khz-pcm512x.tplg
f88d3d2dd84954d54e16747862a30151 /lib/firmware/intel/sof-tplg/sof-apl-src-dmic.tplg
1a388bf07c0b3af9fb0a38ae802409f9 /lib/firmware/intel/sof-tplg/sof-apl-src-pcm512x.tplg
509b2ca22619a6f497f70edd56179084 /lib/firmware/intel/sof-tplg/sof-apl-tdf8532.tplg
59f89f1e925b273a4583aac8b6523379 /lib/firmware/intel/sof-tplg/sof-apl-wm8804.tplg
fad71b2a44965b9dc59a180280e0ef62 /lib/firmware/intel/sof-tplg/sof-bdw-rt286.tplg
fad71b2a44965b9dc59a180280e0ef62 /lib/firmware...

Read more...

Revision history for this message
Hui Wang (hui.wang) wrote :

@Mar,

the firmware on your machine is for ubuntu 20.04, with the ubuntu 20.04, you should not install the 19.10's kernel. please install 5.4.0-18 or later kernel.

for sof driver, the ubuntu 19.10's kernel can't work with the 20.04's firmware.

Revision history for this message
MAR (mattmax42) wrote :

Ah yes, that was a leftover from an attempt to fix this a few weeks ago and forgot about it. I downgraded to 1.173.17, which seems to be the latest in bionic and tested again, same problems remain. New md5sums below:

md5sum /lib/firmware/intel/sof/*

md5sum: /lib/firmware/intel/sof/cml: Is a directory
md5sum: /lib/firmware/intel/sof/cnl: Is a directory
4c6a045a4c79df1f210e1d433ad8ae8d /lib/firmware/intel/sof/sof-cml.ldc
dbed618d1cbaff30a3a0f1a6f65f1d1f /lib/firmware/intel/sof/sof-cml.ri
4c6a045a4c79df1f210e1d433ad8ae8d /lib/firmware/intel/sof/sof-cnl.ldc
2211ec9ddfde169bdb936b5f06be7572 /lib/firmware/intel/sof/sof-cnl.ri

md5sum /lib/firmware/intel/sof-tplg/*

dd3b0e1f4479aa73763a7211cc4b16b6 /lib/firmware/intel/sof-tplg/sof-hda-generic.tplg

Revision history for this message
MAR (mattmax42) wrote :

Should have mentioned, I'm on bionic (Linux Mint 19.3) so 5.3.0-46 is the latest kernel available for the distro.

Revision history for this message
Hui Wang (hui.wang) wrote :

@MAR,

If sof driver could load the firmware and tplg successfully, it will not have freeze issue on waking up. It is weird that your machine has this issue. Is it 100% reproduced on your machine and what brand and model is your machine?

Revision history for this message
MAR (mattmax42) wrote :

@Hui Wang,

Having tested it a couple of times now, it is somewhat intermittent. Without the kernel parameter (#23) set though, more times than not the machine will freeze on wake from sleep. It is a Dell 7591 2in1. I know of others with relatively new machines who have had issues with DMICs not being recognised but their solutions have not resolved the problem on this particular model. I have attached a new dmesg, in case it's helpful.

Revision history for this message
schmidt (schmidt01) wrote :
Revision history for this message
Hui Wang (hui.wang) wrote :

@schmidt,

According to the alsa-info.txt of #33, I couldn't find anything wrong, the driver already worked and mixer controls already generated. I have no idea why "the control for sound is gone and hardware keys for sound doesn't work". With this testing kernel, the audio should work as before.

Revision history for this message
schmidt (schmidt01) wrote :

@Hui Wang

it looks like kernel isn't a problem, 'cause it isn't relevant wich kernel I load, I've this problem since I install this packages - post #11. So maybe not your code section

Revision history for this message
schmidt (schmidt01) wrote :

@Hui Wang
yesterday installed -47 Kernel, also no sound. (Don't know if already patched new Kernel)

Revision history for this message
tojonuko.khadush@gmail.com (vijayaavaas) wrote :

same dummy output to laptop speaker problem here as well. manipulated alsa mixer, force reloaded alsa, purged and reinstalled alsa as well. nothing happened. it started after the network upgrade from 19.10. it was working well before upgrade. still working fine in earphones though. i an on Toshiba Satellite L500 machine.

Revision history for this message
Hui Wang (hui.wang) wrote :

Please upload the dmesg, alsa-info.txt and the log of 'pacmd list' if you have this problem.

thx.

Revision history for this message
schmidt (schmidt01) wrote :

@Hui Wang
upgraded to 20.04 all works fine

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.