logoalt Hacker News

Why are my headphones buzzing whenever I run my game?

27 pointsby pacificat0rtoday at 3:30 PM17 commentsview on HN

Comments

diathtoday at 4:00 PM

> A picking texture is a very simple idea. As the name says, it’s used to handle picking in the game, when you click somewhere on the screen (e.g. to select an unit), I use this texture to know what you clicked on. Instead of colors, every object instance writes their EntityID to this texture. Then, when you click the mouse, you check what id is in the pixel under the mouse position.

Unrelated, but why? Querying a point in a basic quad tree takes microseconds, is there any benefit to overengineering a solved problem this way? What do you gain from this?

show 2 replies
asimovDevtoday at 4:01 PM

I have a similar issue with Genshin on PS5 when using the headphone jack in the controller with IEMs (didn't happen with a headset). It starts buzzing in my left ear when I open the game menu or open the map. On the map it only buzzes when I move the cursor, interestingly enough. I later noticed that the PSU coil whine coincided with the same events. Still no idea why it's like that

Thankfully doesn't happen with an external DAC.

show 2 replies
kevindammtoday at 3:53 PM

The source is electrical noise, but the solution of isolating the audio chain from the computer's USB means that in the future you might not notice when you've introduced another GPU memory bandwidth hog into your rendering loop.

Good story, though.

show 2 replies
vardumptoday at 3:56 PM

These effects used to be much worse in the nineties, often even if you had a fancy sound card. Electrical noise is significantly reduced now.

vanschelventoday at 3:46 PM

There's a certain cinematic quality to this story... perhaps so much so that if it were to be included in an actual movie it would be seen as "too over the top" (i.e. CSI-like)

LM358today at 3:55 PM

Not at all surprised to see that it's a Schiit DAC causing this problem

show 5 replies
Popeyestoday at 3:47 PM

I was going to say get a DAC, but they already had one in their setup.

show 1 reply
Garvitoday at 3:59 PM

That's a common problem. It's electrical noise in your signal. The only way I know how to completely eliminate it is using external DA/AD converters and connecting them to the PC using optical wires. We used MADI cards back in the studio back in the day.

show 1 reply
andrewmcwatterstoday at 3:50 PM

[dead]