Comment 82 for bug 874535

Revision history for this message
Igor Tverdovskiy (igor-tverdovskiy) wrote :

Hi,

The same on Kubuntu 18.04

Tried kernels:
uname -r
4.20.17-042017-generic

uname -r
5.1.6-050106-generic

Hardware:
Base Board Information
        Manufacturer: Gigabyte Technology Co., Ltd.
        Product Name: AB350M-D3H-CF

Realtek® ALC887 codec

Headphones are connected on the backward.

Log according to https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/874535/comments/33:
tail -f /tmp/pulseaudio.log | grep is.now
( 241.947| 0.019) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged
( 269.853| 27.904) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
( 269.874| 0.019) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged
( 274.694| 4.818) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
( 274.716| 0.018) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged
( 276.145| 1.427) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
( 276.166| 0.019) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged
( 276.251| 0.083) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
( 276.272| 0.019) D: [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now unplugged

In fact I don't have jack in 'Front Headphone Jack', my jack is plugged in 'Line Out Jack':
manual testing by plug/unplug
(1692.464| 35.788) D: [pulseaudio] module-alsa-card.c: Jack 'Line Out Jack' is now unplugged
(1693.627| 1.148) D: [pulseaudio] module-alsa-card.c: Jack 'Line Out Jack' is now plugged in

1) Fix did not help:
> Then edit /etc/modprobe.d/alsa-base.conf and add this line:
> options snd-hda-intel jackpoll_ms=250
However this fix (or maybe together with the second fix) made sound interruptions to appear more rarely (e.g. once in a minute instead of once in several seconds).
Tried jackpoll_ms=250,250 and jackpoll_ms=1000,1000

2) Fix did not help either:
Commenting out the following in the
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf

#[Jack Front Headphone]
#required-any = any

#[Jack Headphone]
#required-any = any

3) Fix did not help:
ALSA level: start alsamixer in a terminal and change "Automute mode" to "disabled"
On my system I basically don't have 'Automute mode' option

4) The only solution helped is to physically disconnect front panel audio connector on the motherboard. Only then those sound cracking and popping disappeared completely.