Popping noise on my headphones followed by static

So i was plugging in my headphones and there was static noise that occurs everytime i play some noise or after, there is also a popping noise before the static noise.

Hi and welcome. To follow the first bit of this guide, type in Terminal in the menu search bar, once launched, enter:

alsamixer

then follow this guide:

Popping and Static Noise on Ubuntu 22.04

To address popping and static noise when plugging in headphones on Ubuntu 22.04, you can try adjusting the settings in alsamixer . Specifically, disable the "Headphone Mic Boost" and "Internal Mic Boost" settings to reduce the noise. Additionally, you can disable the "Auto-Mute mode" in alsamixer to see if it resolves the issue.

Another workaround involves modifying the PulseAudio configuration file. Backup the existing PulseAudio configuration file and then edit it to hash out the entry load-module module-suspend-on-idle . This can prevent the popping noise caused by the sound card's power saving feature.

If these steps do not resolve the issue, consider checking if the problem persists with different headphones or audio devices to rule out hardware issues.

For users on Pop!_OS with Ubuntu 22.04 or higher, where the audio software is now PipeWire, you can disable the suspend feature similarly to how it's done for PulseAudio.

AI-generated answer. Please verify critical facts."

Welcome to the Forum!

Maybe this helps:

It didn't work ): i do know that it is a zorin os problem because the headphones work normal with windows and linux mint

Is that Linux Mint 22? If so, that is because it uses Pipewire. I detest Pulse Audio. That is why my favourite OS is PCLOS Debian KDE (Plasma).

What Graphics Card do you have? Asking because I remember some made by AMD were causing audio problems when a specific package was present

yes linux mint 22

i have an Nvidia 980m (i wish i could use amd)

Zorin uses Wayland compositor by default sadly. Next time you get to login screen, select your user and a cog appears Click on it and change it to Zorin on xorg. And as I have already stated, LinuxMint 22 uses Pipewire. Personally I use ALSA instead of Pulse Audio.

i tried and it didn't work, im thinking about replacing pulse with pipewire

Ok it must be a driver issue, try finding the headphones driver and get it to run on linux.

or it could be the headphone jack it uses.

In reddit I found this solution. It turns off the power save functions of intel (if you use one):

echo "options snd-hda-intel power_save=0" | sudo tee /etc/modprobe.d/snd-hda-intel.conf

On Archwiki is another solution:

PulseAudio can suspend sinks after a period of inactivity. This can make an audible noise (like a crack/pop/scratch). Sometimes even when move the slider volume, or open and close windows. This behavior is enabled in default configuration files.

Add this to disable PulseAudio's suspend-on-idle to avoid cracks and pops to the file

~/.config/pulse/default.pa

".include /etc/pulse/default.pa
.nofail
unload-module module-suspend-on-idle
.fail"