Why are my headphones buzzing whenever I run my game?
8 days ago
- #game development
- #audio interference
- #GPU optimization
- Headphones buzz only when running a custom isometric game, not with other games like Fortnite or Overwatch.
- Game uses a custom engine with Rust and wgpu-rs, featuring a simple graphics pipeline.
- Buzzing occurs during rendering, specifically when transferring a 'picking texture' from GPU to CPU memory.
- Disabling the picking texture download eliminates the buzzing, suggesting it's the root cause.
- Issue likely stems from GPU workload spikes when pausing to transfer the texture, causing power interference.
- Solution: Only download the part of the picking texture under the mouse cursor, reducing GPU-CPU transfers.
- Fixed the buzzing and improved performance by minimizing unnecessary texture transfers.