On 2014-08-29 09:24, DIEHCO R&D wrote:
Le 29/08/2014 08:51, David Henningsson a écrit :
On 2014-08-27 15:18, DIEHCO R&D wrote:
Yes, pulseaudio is not running after that. See attached complete log.
E: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory

This is a libc / system call failing. "Cannot allocate memory" sounds
a little vague, but it almost sounds like you don't have enough free
memory. I wouldn't expect mmap to actually *commit* the memory at that
point, but maybe I'm wrong.

Could reducing the mempool size be an option here? How much (free)
memory does your device have?
Top command give me : Mem: 16304K used, 43792K free, 0K shrd, 0K buff,
5268K cached

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.

Launching pulseaudio --start (without --system) give me better
behaviour.

...because that allocates a shm temp file, whereas --system instead calls mmap. Probably.

Paplay seems working but there is no sound. I just try adding
load-module module-alsa-sink device=hw:0,0 and set-default-sink 0 in
etc/pulse/default.pa Also pacmd list-cards give me 0 card(s)
available.After a few moment pulseaudio is stopped without intervention.

--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to