Re: [PATCH] ALSA: hda/realtek: Fix speaker dropouts on MSI GE66 Raider 11UE
From: Takashi Iwai
Date: Thu Sep 10 2026 - 12:20:27 EST
On Wed, 09 Sep 2026 21:31:04 +0200,
Andrew Udvare wrote:
>
> The speakers on this laptop are driven by a Realtek ALC1316 smart amplifier
> sitting behind the ALC298 processing-coefficient tunnel. Nothing configures
> it, so it runs on its power-up defaults with silence detection enabled: the
> speaker path is muted after roughly 0.2 s of quiet and takes roughly 0.4 s
> to reopen. Anything arriving in that window is lost, so the beginning of
> every sound that follows a pause is cut off. It is most obvious with speech
> synthesis, where the first syllable of each utterance disappears, but it
> affects music equally. Headphones do not pass through the amplifier and are
> never affected.
>
> Measured on the affected machine with generated tones: isolated 150 ms
> bursts spaced one second apart are inaudible, the same bursts spaced 100 ms
> apart are heard, and a continuous tone loses only its first 0.4 s.
>
> Add a fixup that programs the amplifier's initialisation sequence at codec
> init, which turns silence detection off. Writes go through the tunnel with
> coefficient 0x22 selecting the amplifier, 0x23 carrying the 16-bit
> register, 0x24 and 0x25 the value's high and low halves, and 0x26
> committing.
>
> Link: https://github.com/thesofproject/sof/issues/5842
> Signed-off-by: Andrew Udvare <audvare@xxxxxxxxx>
As it's a non-trivial change, I applied to for-next branch (for 7.4).
thanks,
Takashi