Crackling headphone output after waking up from sleep

Bug #1874051 reported by jkelol111 [Nam]
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have performed a fresh install of Ubuntu 18.04.4, Ubuntu 19.10, and Ubuntu 20.04, as well as Fedora 31 and all of them have this issue with this audio codec. On Windows 10, sound plays perfectly when waking from sleep, whereas on Ubuntu there is this strange 'crackling' sound that occurs when some playback is happening. Laptop is the HP Pavilion x360 Convertible 14-ba0xx.

This issue seems very similar but it looks like no one is fixing it: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1648183

(I can confirm Erikas' solution in the above bug thread works, there is no more crackling on resume from suspend)

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 5.3.0-46.38-generic 5.3.18
Uname: Linux 5.3.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jkelol111 1825 F.... pulseaudio
 /dev/snd/pcmC0D0p: jkelol111 1825 F...m pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 21 19:17:10 2020
InstallationDate: Installed on 2020-04-21 (0 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Black Headphone Out, Left
Symptom_PulseAudioLog:
 Apr 21 09:32:13 BrokenHingeLaptop dbus-daemon[1006]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.34' (uid=124 pid=1196 comm="/usr/bin/pulseaudio --daemonize=no " label="unconfined")
 Apr 21 09:32:28 BrokenHingeLaptop systemd[1165]: pulseaudio.service: Succeeded.
 Apr 21 09:32:38 BrokenHingeLaptop systemd[1165]: pulseaudio.socket: Succeeded.
Symptom_Type: Underruns, dropouts, or "crackling" sound
Title: [HP Pavilion x360 Convertible 14-ba0xx, Realtek ALC295, Black Headphone Out, Left] Underruns, dropouts or crackling sound
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/03/2019
dmi.bios.vendor: Insyde
dmi.bios.version: F.53
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 830F
dmi.board.vendor: HP
dmi.board.version: 31.25
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.53:bd05/03/2019:svnHP:pnHPPavilionx360Convertible14-ba0xx:pvrType1ProductConfigId:rvnHP:rn830F:rvr31.25:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Pavilion
dmi.product.name: HP Pavilion x360 Convertible 14-ba0xx
dmi.product.sku: 2GV24PA#UUF
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP

Revision history for this message
jkelol111 [Nam] (jkelol111) wrote :
Revision history for this message
jkelol111 [Nam] (jkelol111) wrote :

Do note that audio is flawless right after boot, this only happens if the laptop is placed into suspend and then resumed.

Revision history for this message
jkelol111 [Nam] (jkelol111) wrote :

I upgraded to Ubuntu 20.04, issue is persisting.

Revision history for this message
jkelol111 [Nam] (jkelol111) wrote :

I have fixed all the issues with this device (HP Pavilion x360 Convertible 14-ba0xx) with the following options:

- /etc/modprobe.d/alsa_base.conf

Add this: `options snd_hda_intel model=alc295-hp-x360` (this fixes the bass speaker not working and the non-functional mute LED on my HP Pavilion X360, even though the fix was meant for the HP Spectre x360)

- Follow this guide: https://wiki.archlinux.org/index.php/ASUS_Zenbook_UX430#Headphones_audio_is_too_low (thanks to Erikas on the older bug)

I think this should be a quirk in the kernel to be automatically applied for the HP Pavilion x360 with the ALC295 codec.

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.