1

I realize this is a repeated question, I just was not able to rectify the issue myself.

Anyways, I have a laptop running Ubuntu 13.04. It does not have a 5.1 sound card installed, but I have 5.1 speakers. So I purchased a USB sound card (Sound Blaster X Fi).

It works 'out of the box' with pulseaudio, only issue is any output other than stereo will cause static crackling. I've attempted to remove pulseaudio and use ALSA with gnome-alsamixer and even xfe4-mixer, neither correctly installed and would revert to my laptops speakers.

Currently just running Pulseaudio in stereo output, but it's a waste. If I can't fix this, probably going to go back to Windows 7.

1 Answer 1

2

In /etc/pulse/default.pa, change this line:

load-module module-udev-detect

to:

load-module module-udev-detect tsched=0

This switches pulseaudio to the older scheduling mode and gets rid of the glitches.

Hope it helps!

8
  • 1
    Alas it does not
    – Eric
    Aug 6, 2013 at 16:32
  • It does work for me, however. Thanks for the tip.
    – twall
    Apr 16, 2014 at 22:39
  • 1
    I just found out that I can solve the problem in another way: changing the resample method on /etc/pulse/daemon.conf to resample-method = speex-float-1 does the job as well, but works better for different programs.
    – twall
    Apr 16, 2014 at 22:43
  • Thanks, I have been gettin a TON of audio crackles on Arch here. It became very noticeable when trying to use Bitwig Studio and a midi controller, just unbearable when creating music. So I just tried this tsched-0 and it didn't have an effect immediately, but I restarted and appears to have had a big difference. I have heard 1 crackle so far in about 10 minutes, not enough for LIVE usage but good for tinkering for now. Hoping this sticks and doesn't get worse with uptime increasing. Mar 6, 2020 at 17:01
  • K, static crackle came back big time, 38 minutes of uptime now. I'll try the resample method next. Mar 6, 2020 at 17:19

You must log in to answer this question.

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