Fixing pulseaudio issues on Ubuntu 12.10

After a long hassle with varying sound libraries over the years, I’ve been relatively happy with how pulseaudio turned out for a while now. It still has its quirks, but it’s been mostly working fine for the last few versions of Ubuntu, and some of the configuration features are really useful. I’m using my onboard sound card for system sounds and an SB Live! for music and video, and pavucontrol makes it easy to permanently redirect different applications to specific cards.

Or at least, I’d been relatively happy until I updated to Ubuntu 12.10 a few weeks ago. Suddenly, sounds played through KDE’s Phonon would sound garbled for at least several seconds. mplayer and other tools that don’t go through Phonon sounded fine, but KDE system sounds and Amarok’s music output would be horribly distorted. Jumping around in the audio stream a few times would fix Amarok’s output (until playback stopped and I hit the play button again), but that didn’t really make me happy.

This bug report provided the solution (reply #23 to be exact).

Turns out the current version of pulseaudio seems to have scheduling issues with some broken Alsa drivers, and those drivers apparently include those for the SB Live!. A pulseaudio module parameter fixes the issue.

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.

This entry was posted in Linux and tagged , , . Bookmark the permalink.

5 Responses to Fixing pulseaudio issues on Ubuntu 12.10

  1. Michael says:

    Thanks! Very useful solution.

  2. Juan says:

    however on my situation this one already exists
    load-module module-udev-detect use_ucm=0

    i wonder if it will work if i append tsched after use_ucm? currently i just remove use_ucm and tsched see if there will be issues on removing use_ucm

  3. GonzoDark says:

    Exchanging
    load-module module-udev-detect use_ucm=0

    with

    load-module module-udev-detect tsched=0

    Does fix the problem. (Just to confirm)

  4. Quality articles or reviews is the crucial
    to invite the users to go to see the site, that’s what this site is providing.

    Feel free to surf to my homepage – phoehix landscape design

  5. Reed says:

    It’s enormous that you are getting ideas from this post as well as from our discussion made here.

    Here is my web page: company of heroes 2 serial code cracked :: Reed ::

Leave a Reply to Juan Cancel reply

Your email address will not be published. Required fields are marked *