[LAD] JACK on Raspberry Pi
lists at parisson.com
Fri Sep 14 14:51:46 UTC 2012
On 14/09/2012 15:40, Parisson wrote:
> On 14/09/2012 14:42, Gabriel M. Beddingfield wrote:
>> On 09/14/2012 05:39 AM, Parisson wrote:
>>> I'm trying to get JACK working on this great tiny box:
>>> pi at raspberrypi ~ $ jackd -dalsa
>>> jackdmp 1.9.9
>>> Copyright 2001-2005 Paul Davis and others.
>>> Copyright 2004-2012 Grame.
>>> jackdmp comes with ABSOLUTELY NO WARRANTY
>>> This is free software, and you are welcome to redistribute it
>>> under certain conditions; see the file COPYING for details
>>> JACK server starting in realtime mode with priority 10
>>> Cannot lock down 82274202 byte memory area (Cannot allocate memory)
>>> Bus error
>> When you built Jack2... it looks like you enabled performance tracing. When you
>> do this it has to allocate a Really Big ringbuffer in memory.
>> To fix it -- disable this at compile time.
I've to increase the /dev/shm size so that the lock down seems OK.
$ sudo mount -o remount,size=128M /dev/shm
But a bus error makes it still crash:
pi at raspberrypi ~ $ jackd -v -m -P70 -dalsa -dhw:0 -r44100 -p512 -n2 -P
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2012 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in realtime mode with priority 70
Jack: JackPosixThread::StartImp : create non RT thread
Jack: JackPosixThread::ThreadHandler : start
Jack: playback device hw:0
Jack: capture device hw:0
Jack: apparent rate = 44100
Jack: frames per period = 512
Jack: JackDriver::Open capture_driver_name = hw:0
Jack: JackDriver::Open playback_driver_name = hw:0
Jack: Check protocol client = 8 server = 8
Jack: JackEngine::ClientInternalOpen: name = system
Jack: JackEngine::AllocateRefNum ref = 0
Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0
Jack: JackEngine::NotifyAddClient: name = system
More information about the Linux-audio-dev