AUDIO POPPING After New Kernel install: 5.15.0-88.98

Bug #2042039 reported by Mic Healey
40
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

10.30.23 20:18

RE: Linux Kernel 5.15.0-88.98

ISSUE. BUG REPORT: New Kernel Makes Audio "POP".

After upgrading to the New Kernel, whenever the audio is accessed, there is an annoying
"popping sound", as if the channel is being turned on. This happens before any audio plays,
sometimes after if the channel is shutting down. Audio output I am reporting is coming out
of the 3.5mm TRRS speaker/mic jack to my headphones, etc.

VERY ANNOYING, I rolled back to the previous kernel.

I do have Pulse Audio installed, not sure if it might be an issue. Will report back if removal or reinstall fixes it.

- Mic

System:
  Kernel: 5.15.0-87-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Acer product: Aspire E5-576G v: V1.47 serial: <superuser required>
  Mobo: KBL model: Ironman_SK v: V1.47 serial: <superuser required> UEFI-[Legacy]: Insyde
    v: 1.47 date: 09/06/2018
Battery:
  ID-1: BAT1 charge: 26.5 Wh (100.0%) condition: 26.5/62.2 Wh (42.7%) volts: 12.7 min: 11.1
    model: PANASONIC AS16B5J serial: <filter> status: Full
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 serial: <filter>
    charge: 55% (should be ignored) status: Discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse M187 serial: <filter>
    charge: 50% (should be ignored) status: N/A
CPU:
  Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
    L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 1471 high: 3156 min/max: 400/3400 cores: 1: 2498 2: 1973 3: 1000 4: 794
    5: 796 6: 3156 7: 799 8: 758 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915 v: kernel ports:
    active: DP-1 off: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5917
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI driver: nvidia
    v: 535.113.01 pcie: speed: 2.5 GT/s lanes: 4 bus-ID: 01:00.0 chip-ID: 10de:1d10
  Device-3: Quanta HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:6 chip-ID: 0408:a030
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: DP-1 model: ViewSonic VX2757 res: 1920x1080 dpi: 82 diag: 686mm (27")
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1
    direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
  Sound Server-1: ALSA v: k5.15.0-87-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:24fb
  IF: wlp3s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 04:00.1
    chip-ID: 10ec:8168
  IF: enp4s0f1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.36 TiB used: 143.29 GiB (10.3%)
  ID-1: /dev/sda model: SD Ultra 3D 1TB size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: Crucial model: CT500MX500SSD4 size: 465.76 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 143.28 GiB (15.7%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 48.0 C pch: 37.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 3240 apt: 3217 flatpak: 23
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/audio-recorder-ppa-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/audio-recorder-ppa-jammy.gpg] https: //ppa.launchpadcontent.net/audio-recorder/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com victoria main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 272 Uptime: 1h 25m Memory: 15.49 GiB used: 2.69 GiB (17.4%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13

----------------------------------------------------------------------------------------------------------------------------------------------------

Revision history for this message
Mic Healey (cmdrmic) wrote :

My Guess is, the above was broke when...

From Change Log:

* Fix unstable audio at low levels on Thinkpad P1G4 (LP: #2037077)
    - ALSA: hda/realtek - ALC287 I2S speaker platform support

OR:

 - soundwire: bus: pm_runtime_request_resume on peripheral attachment
    - soundwire: fix enumeration completion
    - PM / wakeirq: support enabling wake-up irq after runtime_suspend called
    - PM: sleep: wakeirq: fix wake irq arming

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
JS (js-uo) wrote (last edit ):

Same issue here with 3.5 mm audio output - no issue via HDMI.

For sake of completeness: The workaround to add in /etc/modprobe.d/alsa-base.conf a new last line "options snd-hda-intel power_save=0 power_save_controller=N" is not resolving but avoiding only the issue - still presenting twice popping during shutdown.

---

My affected system:

System:
  Kernel: 5.15.0-88-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
    Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: Intel Client Systems product: NUC8i5BEH v: J72747-302
    serial: <superuser required> Chassis: Intel Corporation type: 3 v: 2.0
    serial: <superuser required>
  Mobo: Intel model: NUC8BEB v: J72692-303 serial: <superuser required>
    UEFI: Intel v: BECFL357.86A.0094.2023.0612.1527 date: 06/12/2023
CPU:
  Info: quad core model: Intel Core i5-8259U bits: 64 type: MT MCP
    smt: enabled arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 600 min/max: 400/3800 cores: 1: 600 2: 600 3: 600
    4: 600 5: 600 6: 600 7: 600 8: 600 bogomips: 36799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
[...]
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9dc8 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.0-88-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
[...]

Revision history for this message
JS (js-uo) wrote :

Looking to https://forums.linuxmint.com/viewtopic.php?t=406953, this issue might not be limited to 5.15.0-88 but could affect also 6.2.0-36.

Revision history for this message
Arouet (arouetmartel) wrote :

I can confirm aswell that on Linux Mint 21.2 Mate my kernel 5.15.0-88 is causing audio popping and my solution was also to rollback to my previous kernel! I can also confirm that as of 11-21-2023 that it is also happening with kernel 5.15.0-89. I am using an Aspire 3 with an i3-11.

Revision history for this message
D R S (yesdrs13) wrote :
Download full text (3.7 KiB)

Hi. I have an Acer E5-576G and tried to update to 5.15-89 today and I still get the same audio popping issue as the 5.15-88 through the 3.5 mm headphone jack. Rolled back once again to 5.15-87 and no problems.

I've noticed after looking at the bug reports that the issue seems to happen to quite a few Acer computers.

Here's my configuration data:

System:
  Kernel: 5.15.0-87-generic x86_64 bits: 64 compiler: gcc v: 11.4.0
    Desktop: Cinnamon 5.8.4 Distro: Linux Mint 21.2 Victoria
    base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Acer product: Aspire E5-576G v: V1.49
    serial: <superuser required>
  Mobo: KBL model: Ironman_SK v: V1.49 serial: <superuser required>
    UEFI: Insyde v: 1.49 date: 12/11/2018
Battery:
  ID-1: BAT1 charge: 41.8 Wh (100.0%) condition: 41.8/62.2 Wh (67.2%)
    volts: 12.7 min: 11.1 model: PANASONIC AS16B5J status: Full
CPU:
  Info: quad core model: Intel Core i5-8250U bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 1041 high: 1507 min/max: 400/3400 cores: 1: 800 2: 800
    3: 800 4: 800 5: 1133 6: 1507 7: 1159 8: 1335 bogomips: 28800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Acer Incorporated ALI driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GP108M [GeForce MX150] vendor: Acer Incorporated ALI
    driver: nvidia v: 535.129.03 bus-ID: 01:00.0
  Device-3: Chicony HD WebCam type: USB driver: uvcvideo bus-ID: 1-7:6
  Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.15.0-87-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000
    bus-ID: 04:00.1
  IF: enp4s0f1 state: down mac: <filter>
  IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-5:4
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2
Drives:
  Local Storage: total: 24.79 TiB used: 8.27 TiB (33.4%)
  ID-1: /dev/sda vendor: SK Hynix model: HFS256G39TND-N210A
    size: 238.47 GiB
  ID-2: /dev/sdb type: USB vendor: Western Digital model: WD Elements 25A3
    size: 9.1 TiB
  ID-3: /dev/sdc type: USB vendor: Western Digital model: WD easystore 264D
    size: 14.55 TiB
  ID-4: /dev/sdd type: USB vendor: Samsung model: HD103UI size: 931.51 GiB
Pa...

Read more...

Revision history for this message
Thomas Lindner (t-lindner) wrote (last edit ):

I can confirm this audio popping on two Asus PN50. One with Kernel 5.15.0-88 the other with 6.2.0-36.
Rolling back to older kernel solved it on both machines.

System:
  Kernel: 6.2.0-35-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Mini-pc System: ASUSTeK product: MINIPC PN50 v: 0416 serial: <superuser required>
  Mobo: ASUSTeK model: PN50 serial: <superuser required> UEFI: ASUSTeK v: 0416 date: 08/27/2020
CPU:
  Info: 6-core model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64 type: MCP arch: Zen 2 rev: 1
    cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
  Speed (MHz): avg: 1397 high: 1400 min/max: 1400/2375 boost: enabled cores: 1: 1397 2: 1400
    3: 1397 4: 1397 5: 1397 6: 1397 bogomips: 28446
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 05:00.0 chip-ID: 1002:1636
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1680x1050 s-dpi: 96
  Monitor-1: HDMI-A-0 mapped: HDMI-A-1 model: NEC P221W res: 1680x1050 dpi: 90 diag: 559mm (22")
  OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.49 6.2.0-35-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:1637
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3
  Sound Server-1: ALSA v: k6.2.0-35-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f400 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: enp2s0f0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 337.34 GiB (36.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 39.9 C
Partition:
  ID-1: / size: 91.11 GiB used: 28.93 GiB (31.8%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 92.5 MiB used: 6 MiB (6.5%) fs: vfat dev: /dev/nvme0n1p1
  ID-3: /home size: 824.06 GiB used: 308.4 GiB (37.4%) fs: ext4 dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (RPM): N/A

Revision history for this message
JS (js-uo) wrote :

Seems like it confirms that the issue is related to "snd_hda_intel" driver or settings related to it in ALSA. All reports (here & Linux Mint Forum) mention this - independent of computer brand - except one (separate) post probably unrelated on Linux Mint Forum (https://forums.linuxmint.com/viewtopic.php?t=407183).

Revision history for this message
Guy (swirl2285) wrote (last edit ):

I had this issue a lot on Kernel 6.2.0-36, reverted to 6.2.0-35, now upgraded to 6.2.0-37 and the popping is back. This is on Linux Mint 21.2

The thread linked in the previous comment is my issue.

Revision history for this message
JS (js-uo) wrote :

One independent report (https://forums.linuxmint.com/viewtopic.php?p=2404622#p2404622) and my own observation (incl. reverting above mentioned workaround) indicate that the issue might be resolved in 5.15.0-91.

Revision history for this message
Thomas Lindner (t-lindner) wrote :

For me this is solved with
5.15.0-91 and 6.2.0-39

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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