Repository navigation
Microphone recording produces startup click and distorted fade-in – Realtek ALC897 #482
Replies: 1 comment 14 replies
|
Thanks for the detailed report, especially for testing direct ALSA recording. Since the same transient occurs with HDA power-state transitions are one possible cause, but this is not confirmed. Could you share the output of: uname -r
wireplumber --version
cat /sys/module/snd_hda_intel/parameters/power_save
cat /sys/module/snd_hda_intel/parameters/power_save_controllerIf echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_saveRepeat your original ALSA recording test, both immediately and after leaving audio idle. If the problem remains and echo N | sudo tee /sys/module/snd_hda_intel/parameters/power_save_controllerThese changes are temporary; rebooting restores the boot configuration. Please report which step, if any, changes the result. If neither helps, we can investigate codec initialization and kernel-version differences next. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Microphone recording produces startup click and distorted fade-in – Realtek ALC897
System information
snd_hda_intel/snd_hda_codec_alc662Problem description
When recording audio through the rear microphone input, there is an audible click followed by a brief burst of distorted audio and a gradual fade-in before the microphone signal returns to normal.
The problem occurs consistently when starting a recording.
The resulting waveform initially reaches digital full scale (-1.0), then gradually returns toward the centre line as the normal microphone signal becomes audible.
Changing the capture volume affects the waveform's clipping characteristics but does not eliminate the startup event.
Troubleshooting already performed
Confirmed that the microphone and rear microphone jack work correctly under Windows on the same computer.
Confirmed that Linux detects the Realtek ALC897 codec and identifies the rear microphone input correctly.
Confirmed that the rear microphone input is selected and enabled in ALSA.
Checked the ALSA mixer settings. The rear microphone boost was set to +10 dB, and capture volume was initially 63/63.
Tested recording directly through ALSA using:
arecord -D plughw:0,0 -f cd -d 5 /tmp/alsa-mic-test.wavAudacity and EasyEffects were closed during the direct ALSA test.
The resulting recording exhibited the same startup click and distorted fade-in.
This indicates that the problem is not exclusive to Audacity, EasyEffects, or the PipeWire recording path.
Relevant hardware detection
ALSA identifies the capture device as:
card 0: PCH [HDA Intel PCH], device 0: ALC897 AnalogThe codec information identifies:
Codec: Realtek ALC897The rear microphone jack is detected as:
Rear Mic=0x18The microphone pin is configured as an input with VREF_80.
Expected behaviour
Recording should begin with a clean microphone signal, without an audible click, distorted audio, or a gradual fade-in.
Actual behaviour
Every recording begins with an audible click and a brief distorted transient, followed by a gradual fade-in to normal microphone audio.
The behaviour is also present in a direct ALSA recording, with the higher-level audio applications closed.
Assistance requested
Could the AnduinOS developers investigate whether this could be related to the Linux HDA/ALSA driver, Realtek ALC897 codec initialization, microphone input handling, or audio power-management behaviour?
I would appreciate guidance on whether this is a known issue or whether additional diagnostic information is needed.
I have not yet tested this with another installed kernel version.

Please Note:

This also similarly occurs on a Lenovo B40-80 i3 laptop:
All reactions