Public bug reported:

Bug Report

Title: Audio freezes/loops (UBSAN DAPM errors) on Acer Chromebook 14
(Edgar) / Atom x5-E8000 / RT5650 (SOF) with Kernel 6.8 / 6.11

Hardware:

System: Acer Chromebook 14 (CB3-431)
Board Name: GOOGLE Edgar (Confirmed via dmidecode)
CPU: Intel(R) Atom(TM) x5-E8000 CPU @ 1.04GHz (Braswell)
Audio Controller: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx 
Series High Definition Audio Controller [8086:2284] (rev 35) - Driver 
snd_hda_intel (Handles HDMI - Card 0)
Audio Codec: Realtek RT5650 (Detected by ALSA as sof-bytcht rt5650 - Card 1, 
uses rt5645 SOF topology sof-cht-rt5645.tplg)
Software:

Distribution: Linux Mint 22.1 "Xia" (Based on Ubuntu 24.04 "Noble Numbat")
Kernel Versions Tested (All Show Issue):
6.8.0-51-generic
6.8.0-57-generic (Currently Active: Linux mintbook 6.8.0-57-generic #59-Ubuntu 
SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux)
6.11.0-21-generic
Audio Server: PipeWire 1.0.5 (with WirePlumber session manager)
Problem Description:

Audio output through the internal speakers/headphone jack works
correctly for a short, variable period after booting (ranging from ~1
minute to ~10 minutes). While playing audio (e.g., YouTube in Firefox,
native games like Chocolate Doom), the sound suddenly cuts out and is
often replaced by a continuous, loud looping beep/tone.

Sometimes, closing the application that was playing audio causes the
looping sound to stop after several seconds, and system audio may
function again temporarily before freezing again shortly after. The
issue occurs reliably across all tested kernels available in the Linux
Mint 22.1 repositories (6.8 series, 6.11 series).

Key Evidence (Kernel Log Errors):

During boot, the kernel logs consistently show errors related to the
Realtek codec detection and, critically, UBSAN (Undefined Behavior
Sanitizer) errors within the ALSA core's DAPM (Dynamic Audio Power
Management) code during the initialization of the SOF sound card. These
errors strongly suggest a kernel bug is the root cause of the
instability.

[Paste the relevant dmesg / journalctl -b -p err log lines showing the
rt5640 detection failure AND the multiple "UBSAN: shift-out-of-bounds in
.../sound/soc/soc-dapm.c" errors here. You can copy these from the
output you provided earlier.]

Example Snippets to Include:
[    9.746650] rt5640 i2c-10EC5650:00: Device with ID register 0x6419 is not 
rt5640/39
...
[   12.735442] UBSAN: shift-out-of-bounds in 
/build/linux-AUvUe4/linux-6.8.0/sound/soc/soc-dapm.c:814:15
[   12.735535]  snd_soc_dapm_add_path.cold+0x1b/0x5c [snd_soc_core]
... (include the other UBSAN blocks related to soc-dapm.c) ...
Troubleshooting Steps Attempted:

Tested multiple kernels available via Linux Mint Update Manager (6.8.0-51, 
6.8.0-57, 6.11.0-21) - Problem persists on all.
Attempted disabling power saving for snd_hda_intel via modprobe.d - Ineffective 
(targets wrong driver). Power save parameter for snd_sof module not found.
Attempted forcing legacy audio driver via kernel parameter 
snd_intel_dspcfg.dsp_driver=1 - Problem persists.
Checked ALSA / PipeWire / WirePlumber configurations - Appear standard (no 
custom user configs found).
Problem occurs with different applications (Firefox/YouTube, Chocolate Doom).
Expected Result: Audio playback should be stable without freezes or looping 
sounds.

Actual Result: Audio freezes and often loops after short periods of use,
associated with kernel DAPM errors during initialization.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2106352

Title:
  Audio freezes/loops (UBSAN DAPM errors) on Acer Chromebook 14 (Edgar)
  / Atom x5-E8000 / RT5650

Status in linux package in Ubuntu:
  New

Bug description:
  Bug Report

  Title: Audio freezes/loops (UBSAN DAPM errors) on Acer Chromebook 14
  (Edgar) / Atom x5-E8000 / RT5650 (SOF) with Kernel 6.8 / 6.11

  Hardware:

  System: Acer Chromebook 14 (CB3-431)
  Board Name: GOOGLE Edgar (Confirmed via dmidecode)
  CPU: Intel(R) Atom(TM) x5-E8000 CPU @ 1.04GHz (Braswell)
  Audio Controller: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx 
Series High Definition Audio Controller [8086:2284] (rev 35) - Driver 
snd_hda_intel (Handles HDMI - Card 0)
  Audio Codec: Realtek RT5650 (Detected by ALSA as sof-bytcht rt5650 - Card 1, 
uses rt5645 SOF topology sof-cht-rt5645.tplg)
  Software:

  Distribution: Linux Mint 22.1 "Xia" (Based on Ubuntu 24.04 "Noble Numbat")
  Kernel Versions Tested (All Show Issue):
  6.8.0-51-generic
  6.8.0-57-generic (Currently Active: Linux mintbook 6.8.0-57-generic 
#59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64 x86_64 
x86_64 GNU/Linux)
  6.11.0-21-generic
  Audio Server: PipeWire 1.0.5 (with WirePlumber session manager)
  Problem Description:

  Audio output through the internal speakers/headphone jack works
  correctly for a short, variable period after booting (ranging from ~1
  minute to ~10 minutes). While playing audio (e.g., YouTube in Firefox,
  native games like Chocolate Doom), the sound suddenly cuts out and is
  often replaced by a continuous, loud looping beep/tone.

  Sometimes, closing the application that was playing audio causes the
  looping sound to stop after several seconds, and system audio may
  function again temporarily before freezing again shortly after. The
  issue occurs reliably across all tested kernels available in the Linux
  Mint 22.1 repositories (6.8 series, 6.11 series).

  Key Evidence (Kernel Log Errors):

  During boot, the kernel logs consistently show errors related to the
  Realtek codec detection and, critically, UBSAN (Undefined Behavior
  Sanitizer) errors within the ALSA core's DAPM (Dynamic Audio Power
  Management) code during the initialization of the SOF sound card.
  These errors strongly suggest a kernel bug is the root cause of the
  instability.

  [Paste the relevant dmesg / journalctl -b -p err log lines showing the
  rt5640 detection failure AND the multiple "UBSAN: shift-out-of-bounds
  in .../sound/soc/soc-dapm.c" errors here. You can copy these from the
  output you provided earlier.]

  Example Snippets to Include:
  [    9.746650] rt5640 i2c-10EC5650:00: Device with ID register 0x6419 is not 
rt5640/39
  ...
  [   12.735442] UBSAN: shift-out-of-bounds in 
/build/linux-AUvUe4/linux-6.8.0/sound/soc/soc-dapm.c:814:15
  [   12.735535]  snd_soc_dapm_add_path.cold+0x1b/0x5c [snd_soc_core]
  ... (include the other UBSAN blocks related to soc-dapm.c) ...
  Troubleshooting Steps Attempted:

  Tested multiple kernels available via Linux Mint Update Manager (6.8.0-51, 
6.8.0-57, 6.11.0-21) - Problem persists on all.
  Attempted disabling power saving for snd_hda_intel via modprobe.d - 
Ineffective (targets wrong driver). Power save parameter for snd_sof module not 
found.
  Attempted forcing legacy audio driver via kernel parameter 
snd_intel_dspcfg.dsp_driver=1 - Problem persists.
  Checked ALSA / PipeWire / WirePlumber configurations - Appear standard (no 
custom user configs found).
  Problem occurs with different applications (Firefox/YouTube, Chocolate Doom).
  Expected Result: Audio playback should be stable without freezes or looping 
sounds.

  Actual Result: Audio freezes and often loops after short periods of
  use, associated with kernel DAPM errors during initialization.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2106352/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to