Kernel Ubuntu 5.4.0-48.52-generic sound broken - headphones detected as output, not speakers

Bug #1898603 reported by Avery Tarasov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Starting in Kernel 5.4.0-48-generic on Mint Linux 20 Cinnamon my sound output is detected as "headphones" instead of Speakers when this laptop doesn't even have any headphones connected at all... reverting to a prior kernel fixes the problem and then the output is correctly Speakers... I cannot possibly use sound on Kernel 5.4.0-48-generic and the Mint Linux support chat said I should file a bug for this because this kernel broke something.

See attached detailed log reports for more info...

Thanks team!!!

Best Regards,

-Avery Tarasov
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: chr0meice2 2656 F.... pulseaudio
 /dev/snd/controlC0: chr0meice2 2656 F.... pulseaudio
 /dev/snd/pcmC0D0c: chr0meice2 2656 F...m pulseaudio
 /dev/snd/pcmC0D0p: chr0meice2 2656 F...m pulseaudio
CasperMD5CheckResult: skip
DistroRelease: Linux Mint 20
InstallationDate: Installed on 2020-10-05 (0 days ago)
InstallationMedia: Linux Mint 20 "Ulyana" - Release amd64 20200624
NonfreeKernelModules: nvidia_modeset nvidia
Package: alsa-driver (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Tags: ulyana
Uname: Linux 5.4.0-48-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 10/01/2019
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 1.07.13
dmi.board.asset.tag: Tag 12345
dmi.board.name: P95_96_97Ex,Rx
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnINSYDECorp.:bvr1.07.13:bd10/01/2019:svnNotebook:pnP95_96_97Ex,Rx:pvrNotApplicable:rvnNotebook:rnP95_96_97Ex,Rx:rvrNotApplicable:cvnNotebook:ct10:cvrN/A:
dmi.product.family: Not Applicable
dmi.product.name: P95_96_97Ex,Rx
dmi.product.sku: Not Applicable
dmi.product.version: Not Applicable
dmi.sys.vendor: Notebook

Revision history for this message
Avery Tarasov (chr0meice2) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :

Please run the following command to gather the audio logs (I think Mint has apport):
apport-collect 1898603

affects: ubuntu → alsa-driver (Ubuntu)
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Revision history for this message
Avery Tarasov (chr0meice2) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected ulyana
description: updated
Revision history for this message
Avery Tarasov (chr0meice2) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Avery Tarasov (chr0meice2) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

Hey Daniel, thanks for the heroic quick reply. I did not have apport installed by default but I installed it via apt-get and ran the command and successfully gave authorization for one week

Someone in mint linux IRC thinks could be Pulse Audio issue because that app shows Speakers (unavailable) in the GUI app. I literally just updated my pulse audio to the latest version and rebooted and the sound still doesn't work from Speakers.

Please let me know if need any other data or to run command.

Best Regards,

-Avery

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

I uninstalled pulseaudio completely and even with just alsa alone couldn't get audio to play, just a heads up. Maybe did something wrong but gave it a shot

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

The problem is at a deeper level than pulseaudio. Removing it is generally a bad idea. If you need to reset the users settings:
rm -r ~/.config/pulse*

[ 176.438897] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x202f0600
[ 176.439057] snd_hda_intel 0000:00:1f.3: spurious response 0x0:0x0, last cmd=0x1270700

The best fix I have found for ^this is to go into the BIOS and disable the audio. Save and reboot. Then go back into the BIOS and enable the audio. Save and reboot.

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

Hey Daniel,

Re-testing on

Linux frozenkeep 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

and still have the problem... I'm double checking the above and seeing if still have same issue but looks like it still is broken

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

Hi Daniel, so I deleted the pulse config, and rebooted, but amazingly my stupid BIOS doesn't have an option to disable the sound.

Now regardless of the kernel I go into for the output device it shows "dummy output" and the sound doesn't work. I guess the config is broken from the "rm -r ~/.config/pulse*" command. Any idea how to fix or reset things without using BIOS? Now not able to use any sound at all regardless of kernel

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

I was able to get the regular config back by reinstalling the sound packages with apt.... but now regardless which kernel I use, it shows my headphones as the speakers....

So to be clear, even on the kernel with working sound before, now it shows headphones as the "output"... same with most recent kernel... "headphones" are output device... any idea how to fix?

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

Hi Daniel, someone in mint linux support chat, mesaboogie, firmly believes this can be fixed by adding "snd-hda-intel options model=" to the correct value in my /etc/modprobe.d/alsa-config.conf

we tried setting to p950-clevo and rebooting but no luck.

any other ideas?

Any idea why my sound works perfectly in the live CD every single time, yet in the same exact version of the that same kernel the sound is broken now? I have not done anything unusual with my system install

Revision history for this message
Avery Tarasov (chr0meice2) wrote :

FIX IS to add these lines to

/etc/modprobe.d/alsa-config.conf

options snd-hda-intel model=clevo-p950
options snd-hda-intel probe_mask=0x1

the cause appears to be NVIDIA drivers I am using the same ones.... https://pov.es/linux/ubuntu-ubuntu-20-4-installing-nvidia-drivers-breaks-built-in-audio-on-laptop/?print=print

mesaboogie in the mintlinux official IRC chat found this technical writeup...

The problem did appear to happen after I changed to NVIDIA from the default... why NVIDIA breaks sound i have no idea lol

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

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

Changed in alsa-driver (Ubuntu):
status: Incomplete → Expired
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.