Skip to content

[BUG][BYT][CHT] Linux 5.11 Cherrytrail/rt5640 emits persistent beeping sound after a short while #3868

@fxthomas

Description

@fxthomas

I had this issue while trying to debug https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/530 on an HP Detachable x2 ultrabook, where we're trying to see if the SOF driver is somehow more stable than SST.

This issue happens with raw ALSA (neither Pipewire/Pulseaudio running) as well as with both PW/PA.

The following sequence reproduces the issue 100% of the time:

  • Enable SOF with options snd-intel-dspcfg dsp_driver=3 on a 5.11 kernel
  • Check that the SOF driver is actually used with dmesg | grep sof
  • Play a relatively long sound file for a few minutes (aplay -D <device name> file.wav for example)
  • After sometimes (usually 2-3 minutes, though not always), speakers/headphones stop playing anything and emit a loud persistent "beeeep" that doesn't stop

As far as I can tell the beep only goes away when starting (if running raw ALSA) or restarting (if already running) the Pipewire/Pulseaudio server, which restores proper playback until the next beep.

The default SST driver is stable for basic audio output in S16LE, despite issues in other areas.

Environment

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
  2. Name of the topology file
    • Topology: ? (I don't know how to get that)
  3. Name of the platform(s) on which the bug is observed.
    • Platform: Atom x5-Z8530 (Cherrytrail) / rt5640

Logs:

  • There are no logs in dmesg at all
  • Regarding sof-logger, is there a way for me to compile it without bringing up the whole toolchain?

I'm not familiar at all with SOF, so if this is the wrong place for a report do let me know!

Metadata

Metadata

Assignees

Labels

BYTApplies to Baytrail platformCHTApplies to Cherry Trail platformP2Critical bugs or normal featuresbugSomething isn't working as expectedwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions