Oh FFS it's a GROUND LOOP!
Posted: Sat Oct 03, 2020 5:30 am
For the past couple of weeks I've been intermittently exploring a rabbit hole that I started going down due to an objectionable amount of static I was getting from my (work-issued) MacBook Pro's analog audio output when using external speakers. Since I did not seem to have any static issues with my main desktop when playing through the same speakers, I assumed the issue was the MBP.
Using an external USB audio adapter from my junk box helped, and using the external USB audio adapter through a USB power isolator completely got rid of the static. End of story? No, far from it...
I then noticed that my new 3700X desktop build (which I had not yet switched over to as my daily driver) was also exhibiting minor issues with audio static - not nearly as bad as the MBP had before my external adapter "fix", but it was definitely there. I tried an external USB adapter there as well, and like the MBP it helped some... but didn't completely fix the issue, and I didn't want to hack around with another USB power isolator. I then experimented with using the optical S/PDIF out to an inexpensive DAC, with good results. End of story NOW? No, still not yet...
It was bugging me that the noise issue seemed to be so prevalent; it just didn't seem right. So yesterday after work I decided to do a bit more experimentation using my "smoke test" box. I tried a discrete soundcard; I tried a hack-ish experiment hanging an audio DAC off of a spare HDMI port (using one of these); I tried a couple more external USB DACs (a cheap-ass one and a slightly better but still not great one). Similar results across the board. None of them sucked, but none were great either - the noise floor seemed higher than it should be.
Then FINALLY... I tried one of these. Holy crap, the static was gone! I tried the ground loop isolator on the analog outputs of each system in turn (including the MBP), and in every case it reduced the noise level to pretty darned close to zero.
It was a f*cking ground loop all along!
Other random thoughts and discoveries that resulted from all of this...
You may be wondering how I ended up with a ground loop. Well, I have multiple systems all running through a KVM. So everything is grounded through that, but also grounded through the ground connections of the PSUs. The desktop 2.1 speakers I use also have two inputs, which are normally connected to different systems. So there's likely another path to ground through the speakers. So ground loops galore (one of which runs directly back to the audio interfaces of the PCs). Whee!
Ground loop issues aside, I still intend to add a better audio interface for my 3700X system (either moving over the Xonar DSX from my old daily driver or an external solution), since the on-board ALC1220 on the 3700X system doesn't play nice with the Linux JACK audio stack (random audio stutters and hangs).
Still puzzled why my current daily driver doesn't seem to have static issues at all. Maybe the Xonar DSX card has integrated ground loop isolation on its analog outputs? I kind of doubt it. More experimentation seems to be in order...
As part of my experimentation, I also did some informal tests of mic input noise. Turns out that mic inputs on on-board audio solutions and even some discrete sound cards can be stupidly noisy, with tons of hiss. But the mic input on this cheap-ass USB audio dongle is surprisingly quiet (go figure).
Guess I'll be ordering a pile of extra ground loop isolators...
Using an external USB audio adapter from my junk box helped, and using the external USB audio adapter through a USB power isolator completely got rid of the static. End of story? No, far from it...
I then noticed that my new 3700X desktop build (which I had not yet switched over to as my daily driver) was also exhibiting minor issues with audio static - not nearly as bad as the MBP had before my external adapter "fix", but it was definitely there. I tried an external USB adapter there as well, and like the MBP it helped some... but didn't completely fix the issue, and I didn't want to hack around with another USB power isolator. I then experimented with using the optical S/PDIF out to an inexpensive DAC, with good results. End of story NOW? No, still not yet...
It was bugging me that the noise issue seemed to be so prevalent; it just didn't seem right. So yesterday after work I decided to do a bit more experimentation using my "smoke test" box. I tried a discrete soundcard; I tried a hack-ish experiment hanging an audio DAC off of a spare HDMI port (using one of these); I tried a couple more external USB DACs (a cheap-ass one and a slightly better but still not great one). Similar results across the board. None of them sucked, but none were great either - the noise floor seemed higher than it should be.
Then FINALLY... I tried one of these. Holy crap, the static was gone! I tried the ground loop isolator on the analog outputs of each system in turn (including the MBP), and in every case it reduced the noise level to pretty darned close to zero.
It was a f*cking ground loop all along!
Other random thoughts and discoveries that resulted from all of this...
You may be wondering how I ended up with a ground loop. Well, I have multiple systems all running through a KVM. So everything is grounded through that, but also grounded through the ground connections of the PSUs. The desktop 2.1 speakers I use also have two inputs, which are normally connected to different systems. So there's likely another path to ground through the speakers. So ground loops galore (one of which runs directly back to the audio interfaces of the PCs). Whee!
Ground loop issues aside, I still intend to add a better audio interface for my 3700X system (either moving over the Xonar DSX from my old daily driver or an external solution), since the on-board ALC1220 on the 3700X system doesn't play nice with the Linux JACK audio stack (random audio stutters and hangs).
Still puzzled why my current daily driver doesn't seem to have static issues at all. Maybe the Xonar DSX card has integrated ground loop isolation on its analog outputs? I kind of doubt it. More experimentation seems to be in order...
As part of my experimentation, I also did some informal tests of mic input noise. Turns out that mic inputs on on-board audio solutions and even some discrete sound cards can be stupidly noisy, with tons of hiss. But the mic input on this cheap-ass USB audio dongle is surprisingly quiet (go figure).
Guess I'll be ordering a pile of extra ground loop isolators...