<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 29/08/2014 09:44, David Henningsson
a écrit :<br>
</div>
<blockquote cite="mid:54002F64.3000800@canonical.com" type="cite">On
2014-08-29 09:24, DIEHCO R&D wrote:
<br>
<blockquote type="cite">Le 29/08/2014 08:51, David Henningsson a
écrit :
<br>
<blockquote type="cite">On 2014-08-27 15:18, DIEHCO R&D
wrote:
<br>
<blockquote type="cite">Yes, pulseaudio is not running after
that. See attached complete log.
<br>
E: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
<br>
</blockquote>
<br>
This is a libc / system call failing. "Cannot allocate memory"
sounds
<br>
a little vague, but it almost sounds like you don't have
enough free
<br>
memory. I wouldn't expect mmap to actually *commit* the memory
at that
<br>
point, but maybe I'm wrong.
<br>
<br>
Could reducing the mempool size be an option here? How much
(free)
<br>
memory does your device have?
<br>
</blockquote>
Top command give me : Mem: 16304K used, 43792K free, 0K shrd, 0K
buff,
<br>
5268K cached
<br>
</blockquote>
<br>
So just 64 MB in total? Maybe trying to allocate a 64 MB mempool
is not such a great idea then. Try modifying shm-size-bytes in
deamon.conf.
<br>
</blockquote>
Yes, 64 MB in total. I tried the value 32768 and PA reachs "Daemon
startup complete." However pacmd list-cards give me "No PulseAudio
daemon running, or not running as session daemon." whereas
pulseaudio --system -vvvv is still running. Here is some logs (with
original default.pa file).<br>
<br>
(...)<br>
<b>I: [pulseaudio] module-udev-detect.c: Found 0 cards.</b><br>
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #0;
argument: "").<br>
D: [pulseaudio] module.c: Checking for existence of
'/usr/lib/pulse-5.0/modules/module-esound-protocol-unix.so': failure<br>
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix"
(index: #1; argument: "").<br>
I: [pulseaudio] module-stream-restore.c: Successfully opened
database file
'/var/lib/pulse/b58e603397a605bce66ca0af53f618c8-stream-volumes'.<br>
D: [pulseaudio] protocol-dbus.c: Interface
org.PulseAudio.Ext.StreamRestore1 added for object
/org/pulseaudio/stream_restore1<br>
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #2;
argument: "").<br>
I: [pulseaudio] module-device-restore.c: Successfully opened
database file
'/var/lib/pulse/b58e603397a605bce66ca0af53f618c8-device-volumes'.<br>
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #3;
argument: "").<br>
I: [pulseaudio] module-default-device-restore.c: Saved default sink
'auto_null' not existent, not restoring default sink setting.<br>
I: [pulseaudio] module-default-device-restore.c: Saved default
source 'auto_null.monitor' not existent, not restoring default
source setting.<br>
I: [pulseaudio] module.c: Loaded "module-default-device-restore"
(index: #4; argument: "").<br>
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #5;
argument: "").<br>
D: [pulseaudio] module-always-sink.c: Autoloading null-sink as no
other sinks detected.<br>
I: [pulseaudio] sink.c: Created sink 0 "auto_null" with sample spec
s16le 2ch 44100Hz and channel map front-left,front-right<br>
I: [pulseaudio] sink.c: device.description = "Dummy Output"<br>
I: [pulseaudio] sink.c: device.class = "abstract"<br>
I: [pulseaudio] sink.c: device.icon_name = "audio-card"<br>
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to
change event.<br>
I: [pulseaudio] source.c: Created source 0 "auto_null.monitor" with
sample spec s16le 2ch 44100Hz and channel map front-left,front-right<br>
I: [pulseaudio] source.c: device.description = "Monitor of Dummy
Output"<br>
I: [pulseaudio] source.c: device.class = "monitor"<br>
I: [pulseaudio] source.c: device.icon_name =
"audio-input-microphone"<br>
D: [null-sink] module-null-sink.c: Thread starting up<br>
D: [pulseaudio] module-device-restore.c: Could not set format on
sink auto_null<br>
I: [pulseaudio] module.c: Loaded "module-null-sink" (index: #7;
argument: "sink_name=auto_null
sink_properties='device.description="Dummy Output"'").<br>
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #6;
argument: "").<br>
D: [pulseaudio] module-suspend-on-idle.c: Sink auto_null becomes
idle, timeout in 5 seconds.<br>
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index:
#8; argument: "").<br>
I: [pulseaudio] module.c: Loaded "module-position-event-sounds"
(index: #9; argument: "").<br>
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus system
bus 6b3f2c934abcba95189661d05400266b as :1.16<br>
D: [pulseaudio] main.c: Got org.pulseaudio.Server!<br>
<b>I: [pulseaudio] main.c: Daemon startup complete.</b><br>
I: [pulseaudio] module-suspend-on-idle.c: Sink auto_null idle for
too long, suspending ...<br>
D: [pulseaudio] sink.c: Suspend cause of sink auto_null is 0x0004,
suspending<br>
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.<br>
</body>
</html>