[pulseaudio-discuss] Sound works, then doesn't until I log out and back in

Dan Stromberg dstromberglists at gmail.com
Sun Aug 26 11:11:26 PDT 2007


A few weeks ago, something (probably a software install via synaptic)
switched me from alsa (with OSS emulation) to pulse (for which I set up ALSA
emulation).

I'm OK with that, but it's brought a problem with it.  Sound keeps stopping
working.  If I log out and back in, it'll usually work for hours or days,
and then stop again.

mplayer gives the following sort of error during the problem:



$ mplayer -vo sdl -ao alsa ~/movie/happyfeet/1/happy_feet.mkv
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          4300  @ 1.80GHz (Family: 6, Model: 15,
Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing /home/dstromberg/movie/happyfeet/1/happy_feet.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_VOBSUB), -sid 0, -slang eng
[mkv] Will play video track 1
Matroska file format detected.
VIDEO:  [DX50]  720x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
[VO_SDL] Using driver: x11.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
*** PULSEAUDIO: Unable to connect: Connection terminated
alsa-init: playback open error: Connection refused
Could not open/initialize audio device -> no sound.
Audio: no sound
Starting playback...


And gssmp (a simple sound player) gives:
$ gssmp

(gssmp:23260): Gtk-WARNING **: Error loading icon from file
'/tmp/gssmp/gssmp-1.1-bin/share/pixmaps/gssmp.png':
        Failed to open file '/tmp/gssmp/gssmp-1.1-bin/share/pixmaps/gssmp.png':
No such file or directory
Playing file /home/dstromberg/Sound/Music/Dan Brown/The Da Vinci Code (disc
3)/24 - Chapter 22b.flac
*** PULSEAUDIO: Unable to connect: Connection terminated
*** PULSEAUDIO: Unable to connect: Connection terminated
*** PULSEAUDIO: Unable to connect: Connection terminated
*** PULSEAUDIO: Unable to connect: Connection terminated
gstreamer error: Failed to connect: Connection terminated


What do I need to get my sound reasonably reliable again?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20070826/1311425d/attachment.htm>


More information about the pulseaudio-discuss mailing list