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.

2
  • 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, 2014 at 0: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. Jan 14, 2014 at 0:55

6 Answers 6

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

16
  • I did this, and after a reboot, the static was gone and the crackling was reduced a lot. Now using HDMI is actually enjoyable. Thanks a lot. I do hope this will work with 14.04 when I upgrade(It should work, logically. And I'm going to wait for drivers specifically for 14.04 before upgrading, so we could at least be sure that drivers are not at fault(?)). Apr 8, 2014 at 16:51
  • 1
    This fixed it for me, too! Can you tell us what this has changed? I'm curious if this may affect something that will give me trouble later on.
    – Gilgamesh
    Apr 17, 2014 at 21:04
  • 5
    It turns off time based audio scheduling. Apparently some people have glitches with it turned on and for others it works better when turned off :/ Apr 21, 2014 at 21:46
  • This resolve the noisy and crackle hdmi sound with a radeon x290, thank you. Mar 1, 2015 at 13:56
  • 1
    Worked in Pop_OS! 20.04. Nov 30, 2020 at 15:21
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

3
  • Now the sound is perfect, thanks. My video card is also a R7 260x
    – Thomio
    Apr 16, 2015 at 21:30
  • This fixed the static issue for my onboard Intel audio device in Ubuntu 14.04. Thanks!
    – randlet
    May 12, 2015 at 14:41
  • Thank you so much. Based on the accepted answer I did up to step 3 with no help. For me, 4-6 made all the difference.
    – pylua
    2 days ago
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).

1
  • 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. Jan 14, 2014 at 3:26
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.

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .