No sound from internal speakers HP Spectre x360 Convertible 14-ea0xxx, Realtek ALC245,

Bug #1914881 reported by Derek Marshall
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

There is no sound output from the laptop internal speakers when running Ubuntu 20.10.

This is a dual-boot system;
 - Booting Windows first and then rebooting to Ubuntu -> sound works fine
 - Booting Ubuntu first and then rebooting to Windows -> Windows identifies sound as not enables and runs its troubleshooter to enable it

The card seems to be recognised OK (system sound settings report output device as Speaker - Tiger Lake-LP Smart Sound technology Audio Controller. VU meters etc all appear as if sound is playing, but no sound.

Headphone socket works perfectly.

Similar bug reports for different laptops in the HP x360 series suggest this is a pinning problem and that the extract below from the boot logs may support this.

lsb_release -rd
Description: Ubuntu 20.10
Release: 20.10

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

extract from journalctl -b

kernel: snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:>
kernel: snd_hda_codec_realtek ehdaudio0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
kernel: snd_hda_codec_realtek ehdaudio0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
kernel: snd_hda_codec_realtek ehdaudio0D0: mono: mono_out=0x0
kernel: snd_hda_codec_realtek ehdaudio0D0: inputs:
kernel: snd_hda_codec_realtek ehdaudio0D0: Mic=0x19

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.8.0-41.46-generic 5.8.18
Uname: Linux 5.8.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: derek 1460 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 6 20:48:52 2021
InstallationDate: Installed on 2021-02-04 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:sofhdadsp failed
Symptom_Card: Tiger Lake-LP Smart Sound Technology Audio Controller - sof-hda-dsp
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: derek 1460 F.... pulseaudio
Symptom_Jack: Speaker, Internal
Symptom_Type: No sound at all
Title: [HP Spectre x360 Convertible 14-ea0xxx, Realtek ALC245, Speaker, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 01/13/2021
dmi.bios.release: 15.9
dmi.bios.vendor: AMI
dmi.bios.version: F.09
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 87F7
dmi.board.vendor: HP
dmi.board.version: 40.43
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 40.43
dmi.modalias: dmi:bvnAMI:bvrF.09:bd01/13/2021:br15.9:efr40.43:svnHP:pnHPSpectrex360Convertible14-ea0xxx:pvr:rvnHP:rn87F7:rvr40.43:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Spectre
dmi.product.name: HP Spectre x360 Convertible 14-ea0xxx
dmi.product.sku: 2G2C7EA#ABU
dmi.sys.vendor: HP
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: derek 1481 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.10
InstallationDate: Installed on 2021-02-04 (2 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
MachineType: HP HP Spectre x360 Convertible 14-ea0xxx
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-41-generic root=UUID=0a15de41-a7a7-4152-a5dc-e7e69f45fccb ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.8.0-41.46-generic 5.8.18
RelatedPackageVersions:
 linux-restricted-modules-5.8.0-41-generic N/A
 linux-backports-modules-5.8.0-41-generic N/A
 linux-firmware 1.190.3
Tags: wayland-session groovy
Uname: Linux 5.8.0-41-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin lxd plugdev pulse pulse-access sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 01/13/2021
dmi.bios.release: 15.9
dmi.bios.vendor: AMI
dmi.bios.version: F.09
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 87F7
dmi.board.vendor: HP
dmi.board.version: 40.43
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 40.43
dmi.modalias: dmi:bvnAMI:bvrF.09:bd01/13/2021:br15.9:efr40.43:svnHP:pnHPSpectrex360Convertible14-ea0xxx:pvr:rvnHP:rn87F7:rvr40.43:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Spectre
dmi.product.name: HP Spectre x360 Convertible 14-ea0xxx
dmi.product.sku: 2G2C7EA#ABU
dmi.sys.vendor: HP

Revision history for this message
Derek Marshall (derek-threetrees) wrote :
Revision history for this message
Derek Marshall (derek-threetrees) wrote :

Have collected alsa-info output from non-working and working situations as per the notes at https://bugzilla.kernel.org/show_bug.cgi?id=195457#c11

 echo 1 | sudo tee /sys/module/snd_hda_codec/parameters/dump_coef
 sudo alsa-info --no-upload --output /home/derek/alsainfo_bad.txt

Revision history for this message
Derek Marshall (derek-threetrees) wrote :

Adding the alsainfo_good attachment

Revision history for this message
Derek Marshall (derek-threetrees) wrote :
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
tags: added: kernel-sound
description: updated
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 1914881

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
Derek Marshall (derek-threetrees) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Derek Marshall (derek-threetrees) wrote : CRDA.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : IwConfig.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : Lspci.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : Lspci-vt.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : Lsusb.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : Lsusb-t.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : Lsusb-v.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : PaInfo.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : ProcEnviron.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : ProcModules.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : PulseList.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : RfKill.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : UdevDb.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : WifiSyslog.txt

apport information

Revision history for this message
Derek Marshall (derek-threetrees) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Max Bowsher (maxb) wrote :

I also have this exact model of laptop.

I have installed kernel 5.11 from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.11/

Following a cold boot to Ubuntu, sound can be made to work via the workaround GPIO commands detailed in https://bugzilla.kernel.org/show_bug.cgi?id=210633#c13

The related patch to teach the kernel to do the necessary GPIO itself is https://patchwork<email address hidden>/

Revision history for this message
cody (codysydney) wrote :

Just a note to say another model is impacted - Spectre 360 14-ea1000, which also has ALC245. As with others, booting first into Win10 then Linux fixes audio. Running 5.19.0 kernel. I'm something of a Linux newbie (avoiding Win11) and tried compiling a kernel with the patches here, but it was beyond my abilities unfortunately. Anyway, just a note to say there are further models impacted - this is a 6mo machine.

information type: Public → Public Security
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Public Security → Public
Revision history for this message
Lucas Jackson (lucasajackson) wrote :

I'm having this issue as well with my HP Envy x360 15-ey0013DX. I found this on the Manjaro forums: https://forum.manjaro.org/t/hp-envy-x360-15-ey0013dx-speakers-not-working/125099

It looks like a Kernel patch may have been created to fix this?

Revision history for this message
Lucas Jackson (lucasajackson) wrote :

Bump

Revision history for this message
Ujjwal Biswas (ujjwale460) wrote :

I too having the same issue as well with my HP HP ENVY x360 2-in-1 Laptop 13-bf0xxx. Using Ubuntu 22.04 LTS.

Revision history for this message
cody (codysydney) wrote :

Gave up - came down to a decision between the machine and Linux. New machine ordered, Linux staying :)

Revision history for this message
Dalo Green (rovibloni) wrote (last edit ):

I have an HP Envy x360 15-ew0023dx with the same issue. Internal speaker sound doesn't work on 22.04 or 22.10. Also doesn't work when updating kernel to 6.1.11.

I found someone that says they have a kernel patch for their model of HP Envy x360 15-ey0013dx.
https://unix.stackexchange.com/a/730868

Revision history for this message
Leo (leillo1975) wrote (last edit ):

This bug seems to be the same I described in this other bug report:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2030972

In my case, the laptop affected is a MSI Cyborg 15 A12V ( https://www.msi.com/Laptop/Cyborg-15-A12VX/Specification ) using Ubuntu 23.04 (6.2.0-26-generic)

This is the lshw output:
https://launchpadlibrarian.net/681300543/lshw.txt

and this is the alsa-info (sudo alsa-info --no-upload) :
https://launchpadlibrarian.net/683056775/alsa_info.txt

Revision history for this message
Paul Mosteika (pmos-2022) wrote :

I have this issue on an HP Spectre X360-Convertible 14 with Bang & Olufsen internal speakers, and Ubuntu 22.04.3 LTS.

As others, I can use the audio jack or bluetooth the sound out. It worked well with Windows 11.

Revision history for this message
Leo (leillo1975) wrote :

Today I saw that there was an update in Ubuntu about the sound on Intel Meteor Lake hardware . I don't know if it has anything to do with the problem, but I told my brother to update the laptop and now it works properly.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2029281/comments/16

firmware-sof (2.0-1ubuntu4.4) jammy; urgency=medium

  * Soundwire support for Dell SKU0C87 devices. LP: #2029281
    - Add sof-v2.7 for Intel Meteor Lake hardware.
    - Add more sof-v2.7.1 Intel MTL binaries

firmware-sof (2.0-1ubuntu4.3) jammy; urgency=medium

  * Add RPL topology updates
    - UBUNTU: SAUCE: Add topology updates for Intel RPL Dell 0C11 SKU.
    (LP: #2038263)

 -- Dimitri John Ledkov <email address hidden> Fri, 17 Nov 2023 12:13:11 +0000

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.