All right, let me start from the beginning.

Since the upgrade to Natty, I've been experiencing various sound-related
problems:

  * sometimes a youtube video suddenly plays without sound, but a simple
manual seek makes the problem go away

  * sometimes volume keys stop working -- although sound plays fine
(apparently pulseaudio dies and the applications fall back to alsa when
they can't connect to pulse)

  * sometimes sound stops playing working, although pulseaudio is
running and volume keys work fine

I intended to focus on that last problem with this bug.

When that happens, restarting pulseaudio fixes the issue.

At first when I manually tried killall pulseaudio && pulseaudio in an
xterm, I saw the error messages about "cannot find a working alsa
profile" I mentioned about, and I *incorrectly* assumed that meant PA
wasn't working any more -- I didn't even try playing a sound.  I was
wrong.  PA always outputs that error on startup, and then sound works
fine.  So let's ignore that error and try to figure out why PA stops
working after a long(ish) time.

Today PA stopped outputting sound again, e.g.

    $ mplayer -ao pulse samplefile.mp3
    AO: [pulse] Init failed: Too large
    Failed to initialize audio driver 'pulse'
    Could not open/initialize audio device -> no sound.

I look in /var/log/syslog and see

    Jun  7 20:21:51 platonas pulseaudio[19162]: sink-input.c: Failed to create 
sink input: too many inputs per sink.
    Jun  7 20:22:56 platonas pulseaudio[19162]: last message repeated 7 times
    Jun  7 20:23:56 platonas pulseaudio[19162]: last message repeated 24 times
    Jun  7 20:24:45 platonas pulseaudio[19162]: last message repeated 12 times
...
    Jun  7 20:56:49 platonas pulseaudio[19162]: sink-input.c: Failed to create 
sink input: too many inputs per sink.
    Jun  7 20:57:50 platonas pulseaudio[19162]: last message repeated 162 times
    Jun  7 20:58:58 platonas pulseaudio[19162]: last message repeated 2256 times

'killall pulseaudio' makes the daemon restart and the problem go away.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/773443

Title:
  [natty] pulseaudio stopped working on ThinkPad T61

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to