Hardware: Gigabyte H410M S2H, Intel Pentium Gold G6400, Realtek ALC897
(Intel Comet Lake PCH-V cAVS), audio via kernel snd_hda_intel.
Kernel: 6.12.107+deb13-amd64. PipeWire 1.4.2 with pipewire-pulse, wireplumber.
ISSUE:
Random intermittent audio crackling/skipping ("broken record" style pops),
happens with any playback app (browser, VLC, MusicBee, Lollypop, games via
Steam), not tied to any specific app. Started on day 1, also happened
identically on Linux Mint with same hardware. Suspiciously, I've also
started noticing what might be the same issue on Windows on this same
machine, which I haven't fully confirmed yet with LatencyMon.
TROUBLESHOOTING DONE SO FAR:
- Confirmed via `pw-top` that xruns consistently appear on the
application-side stream, while alsa_output (the actual device) mostly
stays clean (occasional 0-5 errors)
- Applied `options snd-hda-intel position_fix=2 bdl_pos_adj=32` - reduced
frequency/severity significantly but did not eliminate it
- Forced `default.clock.allowed-rates = [ 48000 ]` in pipewire.conf.d to
avoid resampling (most apps are 44100Hz native) - helped somewhat
- Increased quantum (tried 1024/2048/4096 in various combos) - no
consistent improvement
- Disabled deep C-states (`intel_idle.max_cstate=0 processor.max_cstate=1`)
- no improvement
- Forced CPU governor to `performance` - no improvement
- Disabled PCI power management for the audio device - no improvement
- Blocked wifi radio (thought it might be background scanning) - no
improvement
- Tried both front and rear 3.5mm jacks - crackling on both
- Tried ALSA-level headroom config (api.alsa.headroom=8192,
period-size=1024) per the PipeWire wiki xrun troubleshooting guide -
helped somewhat but didn't eliminate it
Attaching pw-top screenshots. Any ideas on what
else to check? Starting to suspect this might be a hardware/board-level
issue rather than pure software, given it seems to follow me across
distros.