I have Ubuntu Mate 18.04 on 2 different computers (one is a jukebox), the other is my main PC. Both machines give an audible "crack" when audio starts. It's like an analogue switch being thrown to turn the audio amps on. Not ideal for the juke box. Any help would be appreciated.
I won't take credit for this. This was offered by Google's search AI response:
Power management settings on your sound card can sometimes cause popping or buzzing noises on startup.
Edit the
/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
file: Changewifi.powersave = 3
towifi.powersave = 2
.Edit
/etc/modprobe.d/alsa-base.conf
: Add the lineoptions snd-hda-intel power_save=0
.Edit
/etc/pulse/default.pa
: You can also try addingload-module module-suspend-on-idle
and thenset-default-sink your_sink_name
.Another possibility is the need to update the BIOS, which sometimes could resolve the issue.
Another approach is to try a different Desktop Manager (either Ubuntu GNOME or Linux Mint MATE).
For this last one, my suggestion is that if the issue persists, that points to a need for firmware updates, driver incompatibility, or unsupported hardware.
Using Ubuntu MATE 18.04 on two systems? I hope they're offline, or you have taken steps to keep your systems safe if those machines are used online.
That release was posted back in April 2021 as reaching End of Life - Ubuntu MATE 18.04 LTS reaches end of life
If you're stuck on that release, as you're using 32-bit x86 (i386), then I'll suggest moving to Debian GNU/Linux which still supported 32-bit x86; as Ubuntu now only provides specific packages in i386, and full support for 32-bit ARM (armhf); but ESM/Pro options exist for neither 32-bit architectures.
If you're using ESM, I hope you noted the actual terms of that support, as many packages are now only patched when they were converted from deb to snap package, as per 18.04 ESM docs (published prior to 18.04 reaching EOSS).
Hi, @Leovp and welcome to the Ubuntu MATE Community!
Thanks. I'll give those suggestions a try.