Audio popping sound when playback is started or stopped

Whenever I start to play or pause video/music I hear popping sound. This only happens with the headphone jack (not the speakers). Disabling power control for sound fixes it. But it is a workaround. Any method to fix it without workaround ?

HW : Dell G15 5515 Ryzen, Codec : Realtek ACL295

To make the power parameter permanent, could you make a file using this guide under root directory /etc/modprobe.d, save/exit and reboot?

Refer to this Linux sub-system docs to know about reasons for pops and clicks for playback.

I have made it permanent. But how can I fix this issue so workaround is not required anymore ? I have read the docs but I have no idea how to implement it in code.

Three of my Fedora devices without any configuration work with built-in and external
soundcard and headphone (three different kinds). No additional step was required for me.

Do you expect no configuration to be a fix?

Your case appears to be limited to an event when headphone is inserted. Can you test Pipewire/PulseAudio with this guide?

Sorry, but with limited information you shared, it is hard to track what causes pops.

It is the power control that is causing popping and it is a common bug on many systems.

The link you mentioned above (kernel docs) is the reason. Disabling the power control and keeping the audio card always on solves the issue.

echo "options snd_hda_intel power_save=0" | sudo tee /etc/modprobe.d/disable_audio_powersave.conf

But it is a workaround. The driver should be able to power down if properly configured. Is there a guide or a way to do this ?

The audio issue is specific to Realtek ALC295. A kernel patch didn’t eliminate the issue.

The Kernel bug report and working/non-working cases are summarized in this report.

It does not mention popping sound during poweroff and on, only about playback.

Say I want to dump codec verbs from windows, what would be the best way to do it ?

You would need to wait for jam-team to advise.

If you are sure this is a unique issue and a bug, please file a bug report

Did you not use audio codec that comes with the Fedora Linux?

I was thinking about trying codec verbs from windows. I did not make any change to fedora install.

I will wait for jam-team’s advice

Hi,

Sorry to hear you are having audio problems. I have the opposite problem, no clicks with headphones, but clicks on a TV monitor. The problem was also power control, but the fix was a drop-in lua file for WirePlumber.