34

So, I managed to dual boot Windows 8.1 and Ubuntu 13.04. In Ubuntu 13.04, I installed the drivers for my graphics card(AMD HD Radeon 7700 Series, I'm pretty sure it's a 7790 one and Intel HD Graphics 4600 for Motherboard, but this shouldn't be necessary, considering that it's not the motherboard where I have connected the HDMI) for HDMI. I went to System Settings, and then to Sound, selected the HDMI sound option. Now, whenever I play anything that has sound, the audio has static and crackling. It does not play correctly. I tried searching, but all I find is questions in which the HDMI audio is simply not recognized and not playing.

TehSephirothSpirit
  • 443
  • 1
  • 4
  • 6
  • Do you have HDMI audio set for Windows as well? Is the HDMI cable you're using connected to your GPU or motherboard? There is a good chance you are picking up on interference from your motherboard, which causes the crackling. I have a similar problem myself, and have to route my audio through my keyboard to prevent it. – Dillmo Jan 14 '14 at 00:53
  • I do have HDMI audio for Windows as well, and there are no such problems. And the HDMI cable is connected to the GPU. – TehSephirothSpirit Jan 14 '14 at 00:55

6 Answers6

64

SOLUTION:

I finally found a solution to my problem randomly.

sudo pico /etc/pulse/default.pa

look for

load-module module-udev-detect

and add tsched=0

load-module module-udev-detect tsched=0

This simple modification fixed all the sound crackling and static on my PC, in Google Chrome, chromium, HTML5 videos, etc etc

Gav
  • 656
  • 6
  • 3
7

I have a ATI R7 260x, the HDMI audio problem was solved when I've had trying two different workarounds together. It's working as designed now. (on Ubuntu 14.10 64-bit)

Follow the steps below:

  1. Open the terminal with Ctrl+Alt+t.

  2. sudo nano /etc/pulse/default.pa

  3. Replace the line

    load-module module-udev-detect
    

    with

    load-module module-udev-detect tsched=0
    

    and save file.

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

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

  6. Reboot the PC

MadMike
  • 4,244
  • 8
  • 28
  • 50
3

I've had crackling and static as well and I solved it by first muting microphone input, and secondly changing my sound to 7.1 surround (even though I only have 2 speakers).

MikeJerome
  • 381
  • 1
  • 3
  • 15
  • Well, I don't have any microphone, and I don't have an option to change HDMI to 7.1 surround. I can do that with the other ones, though. But then I won't have sound at all. – TehSephirothSpirit Jan 14 '14 at 03:26
0

I had this problem in Ubuntu 20.04; the above solution didn't help. It was due to the bug in PulseAudio, as described in https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1585084
The solution that worked for me was:
Install alsa-tools-gui
Run hdajackretask
Override "Green Headphone, Front side" to "Not connected"
Override "Pink Mic, Front side" to "Headphone"
Click "Apply now"
Click "Install boot override" to make this permanent
From now on, just plug your headphones in the front microphone jack instead of the front headphone jack...

0

I had bad and cheap headset cable splitter. It split headset cable into mic and audio, but it also caused static noise when i moved mouse. Also i changed my headphones. Before i had hyperx cloud X but now i have Sennheiser GSP 300 No problem with the OS.

jaanus
  • 111
0

In case others run into this issue, I've had this come up when installing pipelight on Ubuntu 14.04 with the AMD Catalyst 14.6 drivers using an A10-7800 APU.

My only solution was to remove pipelight, but I had not run into the solution above. It's quite possible pipelight messes something up that this solution fixes.

Jens Erat
  • 5,051
  • 7
  • 31
  • 37