Ubuntu 20.04 LTS update causing no sound coming from built-in speakers

Bug #1875252 reported by George
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After updating to Ubuntu 20.04 LTS, the only way of hearing audio is through headphones. The sound settings tab doesn't even show any other output option other than "Dummy output" . I have already checked other versions and everything works perfectly when I downgrade to Ubuntu 19.10, so I think this is a version related bug. Just to reiterate my laptop is a DELL Inspiron 14 3420.The sound card showing in alsamixer window is HDA Intel PCH, and the chip is Cirrus Logic CS4213. I have looked up solutions online for 2 days and none has worked.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-26-generic 5.4.0-26.30
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: george 1499 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 26 19:04:06 2020
InstallationDate: Installed on 2020-04-26 (0 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: Dell Inc. Inspiron 3420
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-26-generic root=UUID=ec9a2552-c1da-44bd-9967-5be8bc6da075 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-26-generic N/A
 linux-backports-modules-5.4.0-26-generic N/A
 linux-firmware 1.187
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-04-26 (0 days ago)
dmi.bios.date: 09/28/2012
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: 04XGDT
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd09/28/2012:svnDellInc.:pnInspiron3420:pvrNotSpecified:rvnDellInc.:rn04XGDT:rvrA05:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Inspiron 3420
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: Not Specified
dmi.sys.vendor: Dell Inc.

Revision history for this message
George (georgewf) wrote :
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

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

The speaker on your machine is recognized by analog-output-speaker-always, and the available is no.

need some pulseaudio log to debug.

usually, it should be analog-output-speaker.

Revision history for this message
George (georgewf) wrote :

Hui Wang , I'm attaching the information required to this comment.

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

That log doesn't contain useful info

Please edit /usr/lib/systemd/user/pulseaudio.service
comment the line of ExecStart,
and copy a new line of ExecStart, and add -vvvv and --target=file:/tmp/pulseaudio.log

reboot then upload the /tmp/pulseaudio.log.

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

No, #1864871 is a different one

Revision history for this message
George (georgewf) wrote :

Hui Wang, I'm not sure what you mean by :"comment the line of ExecStart,
and copy a new line of ExecStart, and add -vvvv and --target=file:/tmp/pulseaudio.log"

Could you made it more clear? What do you mean by " copy a new line of ExecStart "? You mean copy the same line I commented and add "-vvvv and --target=file:/tmp/pulseaudio.log" ? If not, what do you mean by " a new line of ExecStart" ? If you could just send exactly what I should write so it doesn't cause any more delay in sending you the information you need, that would be great.

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

@george,

#ExecStart=/usr/bin/pulseaudio --daemonize=no --log-target=journal
ExecStart=/usr/bin/pulseaudio -vvvv --log-target=file:/tmp/pulseaudio.log

reboot
then upload the /tmp/pulseaudio.log

thx

Revision history for this message
George (georgewf) wrote :

I did that but there isn't /tmp folder containing pulseaudio.log. There is a tmp folder but it does not contain any pulseaudio.log. The only file related to pulse is pulseverbose.log in the home folder. If that file can help at all, I'm attaching it to these comment. Otherwise, I keep waiting for further instructions.

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

You should put the change into this file: /usr/lib/systemd/user/pulseaudio.service

If it doesn't work, please upload your /usr/lib/systemd/user/pulseaudio.service

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

I have attached my pulseaudio.log from the tmp folder after commenting and adding that code in pulseaudio.service.

Please see if it can be of any help.

If I can be of any further help, I am at your service.

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

@Rajasekharan,

Please also upload the alsa-info.txt and output of 'pacmd list'

thx.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

Please find attached alsa-info.txt.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

Please find attached pacmd list.

Revision history for this message
Bogdan (elrohe) wrote :
Download full text (22.6 KiB)

Hello!
As posted before on this tracking bug (probably the wrong place) https://bugs.launchpad.net/ubuntu/+source/linux-5.4/+bug/1864871, I have the same issue with an old Toshiba Satellite L450 laptop.
I ran the live Ubuntu 20.04 image and the sound was recognized and played well.
In Settings I could see the output Internal speakers.
Then I installed from within the live image Ubuntu and still have sound.
Back then the kernel was 5.4.0-28.32-generic 5.4.30.
I've updated Ubuntu last night and surprise. Now I only have Dummy output (no sound).
I've researched and tested a lot of tricks to make it play but with no luck.
Attached is the pulse audio log file as instructed by @Hui Wang (hui.wang) in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1875252/comments/5.

The pacmd command result is:

Memory blocks currently allocated: 3, size: 67,6 KiB.
Memory blocks allocated during the whole lifetime: 34834, size: 203,7 KiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: auto_null
Default source name: auto_null.monitor
Memory blocks of type POOL: 3 allocated/34834 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/0 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
28 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "13.99.1"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "13.99.1"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "13.99.1"
    index: 3
        name: <module-augment-properties>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "13.99.1"
    index: 4
        name: <module-switch-on-port-available>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "David Henningsson"
                module.description = "Switches ports and profiles when devices are plugged/unplugged"...

Revision history for this message
Bogdan (elrohe) wrote :

@Hui Wang

Here it is my pacmd list as well.

Revision history for this message
Bogdan (elrohe) wrote :

@Hui Wang

...and my Alsa info

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

OK, it is highly possible that this is a regression introduced by the fix of https://bugs.launchpad.net/oem-priority/+bug/1869819

We will fix it in the ubuntu pulseaudio.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

Awaiting anxiously for the update/fix. Do let us know once it is out, so that we can get back to you with the feedback.

Yes, it could be the regression of the fix of 1869819. There are two audio jacks and an internal microphone in my laptop, as said in that bug.

1869819 affects at least only two people; however, its regression/SRU affects many, Dell puters in particular!

Mathew Hodson (mhodson)
tags: added: regression-release
Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Bogdan (elrohe) wrote :

Hello.
Ubuntu just updated pulseaudio from official channels and now I have sound.
Just a thought for newbies.... Even though after update computer doe not require reboot, in order to have you sound initialized please reboot.
That's what i did and now works.
Thank you guys.

Revision history for this message
George (georgewf) wrote :

@Bogdan(elrohe), how did you do it ? Mine still has the same problem and the sofware updater doesn't show any update pending. Did you install anything manually from anywhere ? If yes, could you share what you've done in details, please ?

Revision history for this message
George (georgewf) wrote :

@Bogdan(elrohe), never mind. I've just got it working too.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

@Bodgan (elrohe)

Please don't hijack this thread. We already are in pain for the past more than a fortnight. Yours is a different make of computer and hardware, and hence a different problem.

After listening to you, I updated, uninstalled/reinstalled alsabase, pulseaudio, pavucontrol, rebooted, only to find that I am back to zero with dummy output, with all these efforts going in vain and of no use.

So without knowing your problem perfectly and without even knowing what has been written by others in the thread and without knowing what is the issue at hand in the thread, please don't hijack into others' thread or throng every bug report on the Launch Pad, where N audio problem has been reported, with your issue and findings. Open up a separate bug report with your issues and wait for the team to look at it and respond.

Hope you take it in the right spirits.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

@George (georgewf)

Bodgan's puter is a Toshiba Satellite, hence different hardware and different set of drivers. So it's an entirely different issue.

Ours is a Dell with an Intel soundcard. The problem still remains in our puters due to the regression of fixing up another bug elsewhere here: https://bugs.launchpad.net/oem-priority/+bug/1869819

They are urgently working on it.

Revision history for this message
Bogdan (elrohe) wrote :

@Rajasekharan N (rajasekharan)

The link you've posted to another bug https://bugs.launchpad.net/oem-priority/+bug/1869819 actually did the trick and helped me bring back my sound card.
It was the patch that @hugh chao released on his channel as seen in this link
https://code.launchpad.net/~hugh712/ubuntu/+source/pulseaudio/+git/pulseaudio/+ref/focal-1869819.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

@Bogdan (elrohe)

Glad that I could be of help and that the patch worked for you.

Waiting for a patch for ours.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

@Hui Wang (hui.wang)

Verified. Applied the patch for regression by Kai-Heng Feng (kaihengfeng). Bug #1876238 (duplicate of bug #1875252). Dell Inspiron 1525.

URL for the patch: https://launchpad.net/~kaihengfeng/+archive/ubuntu/fix-lp1869819

Audio is working fine now. Checked rebooting multiple times. No issues now.

Thank you very much.

Revision history for this message
George (georgewf) wrote :

That patch fixed the problem for me as well! Thank you.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

@George (georgewf) There is a new update available for PulseAudio. Don't go for it. It again breaks the settings, and the internal speakers are shown as Dummy Output again.

I have reported the bug again. (bug 1878327)

Revision history for this message
Bogdan (elrohe) wrote :

@Rajasekharan N (rajasekharan)

Well to late.
My laptop already updated.
Never got the chance to see what was the update about.
Just requested to restart.
I'll follow the bug you reported.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

Bogdan (elrohe)

Oops. I couldn't save you the trouble. Sorry. It didn't strike me for about 12 hours or so since the update to alert the remaining affected people. During this time, after realizing that Pulseaudio has broken down again, I was trying if I can do with Alsa alone or if I could find any other alternative for Pulseaudio. However, I was unsuccessful.

It's nearing a month since I ran into this trouble by updating to 20.04 LTS and have run wall to post.

There is hope. There is a new fix/update coming. It's already in the git. I don't know when it will be available in the updates channel.

See bug 1876065 for the latest info regarding this.

Revision history for this message
Bogdan (elrohe) wrote :

@Rajasekharan N (rajasekharan)
Don't worry. It's a good thing that each problem risen from linux will teach me more about it as I am a newbie :)
Thank you though for the heads up regarding the fix.
I'll be waiting for the official release.

Revision history for this message
George (georgewf) wrote :

@Rajasekharan N (rajasekharan, thanks for letting me know. Good thing I haven’t looked for updates this week before I read your comment.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

The current version is pulseaudio 1:13.99.1-1ubuntu3.2.

There is a fix/patch (Version: pulseaudio 1:13.99.1-1ubuntu3.2lp1869819) in this PPA that you can use it for now until the next update/release:

https://launchpad.net/~kaihengfeng/+archive/ubuntu/fix-lp1869819

Voila.

Revision history for this message
Alexander (klimat-88) wrote :

I have a similar problem: https://bugs.launchpad.net/ubuntu/+bug/1879973

URL for the patch: https://launchpad.net/~kaihengfeng/+archive/ubuntu/fix-lp1869819

This patch didn't fix my built-in speaker and microphone.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

@Alexander (klimat-88)

The fix is for HDA Intel soundcard built-in audio. Couldn't find what is your soundcard from your bug report. Wait for the coders to respond to your bug report.

As far as I know, you may try undoing all these: "options snd-hda-intel dmic_detect=0" to /etc/modprobe.d/alsa-base.con, add "blacklist snd_soc_skl"

And then apply the patch.

Or uninstall and reinstall PulseAudio. Then enable "Pre-released updates (focal-proposed)" under the tab 'Developer Options' in Software & Updates. Then update the cache before closing Software & Updates.

Open Software Updater, fetch and apply updates. Reboot.

Try if the audio works now.

Revision history for this message
Rajasekharan N (rajasekharan) wrote :

For the rest of the affected souls here:

The patch that I mentioned above has now been incorporated into the Focal proposed updates. To fetch it to your system before it is released in the stable channel, do the following:

Enable "Pre-released updates (focal-proposed)" under the tab 'Developer Options' in Software & Updates. Then update the cache before closing Software & Updates.

Open Software Updater, fetch, and apply the PulseAudio/dependencies updates (pulseaudio 1:13.99.1-1ubuntu3.3). Reboot.

The audio should be working fine now.

Voila.

Revision history for this message
Simon (headflux) wrote :

This did not resolve the issue for me.

Revision history for this message
Martin Wynne (martin-wynne) wrote :

The patch did not resolve the issue for me, and the bug is still there. I just upgraded from 18.04 to 20.04 on a Dell Latitude E6230, and there was no sound output, with the sound settings showing only 'Dummy output'.

I had to do a fresh reinstall of 18.04 which was extremely time-consuming.

The same problem had occurred for me in the summer on a Dell Latitude E7270. I saw then that there were lots of reports of the problem, and it seems inexplicable to me that this has not been fixed.

I guess I'll have to start looking for a different Linux distro.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

That means you are facing a different issue. Please file separate bug reports.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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