Re: [LAD] JACK on Raspberry Pi

From: Parisson <lists@email-addr-hidden>
Date: Fri Sep 14 2012 - 17:51:46 EEST

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:
>>> Hi!
>>>
>>> I'm trying to get JACK working on this great tiny box:
>>>
>>> pi@email-addr-hidden ~ $ 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@email-addr-hidden ~ $ jackd -v -m -P70 -dalsa -dhw:0 -r44100 -p512 -n2 -P
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 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
Bus error

ARG :'(
Y
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Sep 14 20:15:04 2012

This archive was generated by hypermail 2.1.8 : Fri Sep 14 2012 - 20:15:04 EEST