Ubuntu 14.04 Pulseaudio in HDMI sound crackling

I've recently change my PC OS from MS to Ubuntu.

Ubuntu 14.04 can correctly find my HDMI audio but with terrible echo and crackling sound.

I fix the echo issue by following the guide here: Sound problems in Ubuntu 14.04, and Static and crackling in my HDMI audio?. But the crackling sound still exist. I tried updating the video card driver directly from AMD website, didn't help either.

I also try to change the default sampling frequency in /etc/pulse/daemon.conf to 44100 or 48000, both won't work.

I'm using video card MSI ATI R7 260x. How can I fix it, thanks!


This one helped me: [Static and crackling in my HDMI audio?]: Static and crackling in my HDMI audio?

edit

/etc/pulse/default.pa

look for

load-module module-udev-detect

add tsched=0

load-module module-udev-detect tsched=0

reboot


Found the solution here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1321421

Cause my PC comes with an Intel Z97/H97 chipset, the solution to solve this problem is:

  1. sudo nano /etc/modprobe.d/alsa-base.conf

  2. Add options snd-hda-intel vid=8086 pid=8ca0 snoop=0 at the end of the file.

  3. Restart PC