Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Pulseaudio shuts off
Date: Sun, 11 Dec 2011 02:39:30
Message-Id: 20111211023655.GA2906@solfire
In Reply to: Re: [gentoo-user] Pulseaudio shuts off by Francisco Ares
1 Francisco Ares <frares@×××××.com> [11-12-11 03:30]:
2 HI,
3
4 Nice story of success, Francisco...but it does not answer
5 my question.
6
7 Sigh.
8
9 Others, who want to report, that they do not have problems?
10
11 Sigh...
12
13 Best regards,
14 mcc
15
16
17 > Hi
18 >
19 > I could not check the pulseaudio dependency for gws, as libsndfile does not
20 > have it.
21 >
22 > I have had pulseaudio for a year or so, and it was fine. I used it mainly
23 > because VirtualBox depended on it to emulate a sound car on its virtual
24 > machines. Then something broke, and I could not get any sound out of the
25 > speakers, just the first app get the device, and no other after that.
26 >
27 > Then, after Dale asked me why did I need pulseaudio, I saw that VirtualBox
28 > now is able to handle plain and simple ALSA, then I removed all pulseaudio
29 > related things that I could find, rebuilt the kernel with alsa built-in and
30 > everything I need is back making noises ;-)
31 >
32 > Francisco
33 >
34 >
35 > On Sat, Dec 10, 2011 at 2:25 PM, <meino.cramer@×××.de> wrote:
36 >
37 > >
38 > > Hi,
39 > >
40 > > sorry for the nebelous subject...
41 > >
42 > > The following happened to me.
43 > > I have installed/configured pulseaudio according to this
44 > > for a one-person desktop gentoo-system:
45 > > http://en.gentoo-wiki.com/wiki/PulseAudio
46 > >
47 > > When starting gwc (which is not in portage) and playing
48 > > sounds, it works...once...
49 > >
50 > > After a while I here the same clicking sound, which happens
51 > > while booting the system and alsa takes over...and thats it.
52 > > I have to kill gwc.
53 > >
54 > > On the console gwc prints:
55 > >
56 > > Current stack limit: 8388608 bytes
57 > > libsndfile Version: libsndfile-1.0.25 1 0 25
58 > > socket(): Address family not supported by protocol
59 > > Closing the Pulse audio device
60 > >
61 > > The last line appears when I press "stop audio playback", the clicking
62 > > happes a few seconds later.
63 > >
64 > > After that...no go.
65 > >
66 > > I have appended /etc/pulse/default.pa at the end of this posting.
67 > >
68 > > Interestingly it is possible to successfully restart gwc.
69 > >
70 > > What can I do to fix this?
71 > >
72 > > Best regards,
73 > > mcc
74 > >
75 > >
76 > >
77 > >
78 > > #!/usr/bin/pulseaudio -nF
79 > > #
80 > > # This file is part of PulseAudio.
81 > > #
82 > > # PulseAudio is free software; you can redistribute it and/or modify it
83 > > # under the terms of the GNU Lesser General Public License as published by
84 > > # the Free Software Foundation; either version 2 of the License, or
85 > > # (at your option) any later version.
86 > > #
87 > > # PulseAudio is distributed in the hope that it will be useful, but
88 > > # WITHOUT ANY WARRANTY; without even the implied warranty of
89 > > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
90 > > # General Public License for more details.
91 > > #
92 > > # You should have received a copy of the GNU Lesser General Public License
93 > > # along with PulseAudio; if not, write to the Free Software Foundation,
94 > > # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
95 > >
96 > > # This startup script is used only if PulseAudio is started per-user
97 > > # (i.e. not in system mode)
98 > >
99 > > .nofail
100 > >
101 > > ### Load something into the sample cache
102 > > #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
103 > > #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
104 > > #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
105 > > #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
106 > >
107 > > .fail
108 > >
109 > > ### Automatically restore the volume of streams and devices
110 > > load-module module-device-restore
111 > > load-module module-stream-restore
112 > > load-module module-card-restore
113 > >
114 > > ### Automatically augment property information from .desktop files
115 > > ### stored in /usr/share/application
116 > > load-module module-augment-properties
117 > >
118 > > ### Load audio drivers statically (it's probably better to not load
119 > > ### these drivers manually, but instead use module-hal-detect --
120 > > ### see below -- for doing this automatically)
121 > > load-module module-alsa-sink
122 > > #load-module module-alsa-source device=hw:1,0
123 > > #load-module module-oss device="/dev/dsp" sink_name=output
124 > > source_name=input
125 > > #load-module module-oss-mmap device="/dev/dsp" sink_name=output
126 > > source_name=input
127 > > #load-module module-null-sink
128 > > #load-module module-pipe-sink
129 > >
130 > > ### Automatically load driver modules depending on the hardware available
131 > > .ifexists module-udev-detect.so
132 > > load-module module-udev-detect
133 > > .else
134 > > ### Alternatively use the static hardware detection module (for systems
135 > > that
136 > > ### lack udev support)
137 > > load-module module-detect
138 > > .endif
139 > >
140 > > ### Automatically load driver modules for Bluetooth hardware
141 > > .ifexists module-bluetooth-discover.so
142 > > load-module module-bluetooth-discover
143 > > .endif
144 > >
145 > > ### Load several protocols
146 > > .ifexists module-esound-protocol-unix.so
147 > > load-module module-esound-protocol-unix
148 > > .endif
149 > > load-module module-native-protocol-unix
150 > >
151 > > ### Network access (may be configured with paprefs, so leave this commented
152 > > ### here if you plan to use paprefs)
153 > > #load-module module-esound-protocol-tcp
154 > > #load-module module-native-protocol-tcp
155 > > #load-module module-zeroconf-publish
156 > >
157 > > ### Load the RTP reciever module (also configured via paprefs, see above)
158 > > #load-module module-rtp-recv
159 > >
160 > > ### Load the RTP sender module (also configured via paprefs, see above)
161 > > #load-module module-null-sink sink_name=rtp format=s16be channels=2
162 > > rate=44100 description="RTP Multicast Sink"
163 > > #load-module module-rtp-send source=rtp.monitor
164 > >
165 > > ### Load additional modules from GConf settings. This can be configured
166 > > with the paprefs tool.
167 > > ### Please keep in mind that the modules configured by paprefs might
168 > > conflict with manually
169 > > ### loaded modules.
170 > > .ifexists module-gconf.so
171 > > .nofail
172 > > load-module module-gconf
173 > > .fail
174 > > .endif
175 > >
176 > > ### Automatically restore the default sink/source when changed by the user
177 > > during runtime
178 > > load-module module-default-device-restore
179 > >
180 > > ### Automatically move streams to the default sink if the sink they are
181 > > ### connected to dies, similar for sources
182 > > load-module module-rescue-streams
183 > >
184 > > ### Make sure we always have a sink around, even if it is a null sink.
185 > > load-module module-always-sink
186 > >
187 > > ### Honour intended role device property
188 > > load-module module-intended-roles
189 > >
190 > > ### Automatically suspend sinks/sources that become idle for too long
191 > > load-module module-suspend-on-idle
192 > >
193 > > ### If autoexit on idle is enabled we want to make sure we only quit
194 > > ### when no local session needs us anymore.
195 > > load-module module-console-kit
196 > >
197 > > ### Enable positioned event sounds
198 > > load-module module-position-event-sounds
199 > >
200 > > ### Cork music streams when a phone stream is active
201 > > load-module module-cork-music-on-phone
202 > >
203 > > # X11 modules should not be started from default.pa so that one daemon
204 > > # can be shared by multiple sessions.
205 > >
206 > > ### Load X11 bell module
207 > > #load-module module-x11-bell sample=bell-windowing-system
208 > >
209 > > ### Register ourselves in the X11 session manager
210 > > #load-module module-x11-xsmp
211 > >
212 > > ### Publish connection data in the X11 root window
213 > > #.ifexists module-x11-publish.so
214 > > #.nofail
215 > > #load-module module-x11-publish
216 > > #.fail
217 > > #.endif
218 > >
219 > > ### Make some devices default
220 > > #set-default-sink output
221 > > #set-default-source input
222 > >
223 > >

Replies

Subject Author
Re: [gentoo-user] Pulseaudio shuts off Francisco Ares <frares@×××××.com>