Re: [Jack-Devel] superweird jack error
The stick has 1 gbyte or ram. Top tells me:
KiB Mem: 863396 total, 208044 used, 655352 free, 15204 buffers
KiB Swap: 0 total, 0 used, 0 free, 121640 cached
But why in the world would jackd want to lock down 2048917504 byte (about 2 gbyte) of ram?
Btw., the --no-mlock option doesn't seem to exist in jackd2.
-----Ursprüngliche Nachricht-----
Von: "Florian Paul Schmidt" [[hidden]]
Gesendet: Do. 14.03.2013 20:46
An: [hidden]
Betreff: Re: [Jack-Devel] superweird jack error
Just a shot in the dark: How much memory do you have in that system? Also try to tell jack not to mlock memory.
Flo
On 03/14/2013 08:21 PM, [hidden] wrote:Hi list,
I've gotten a little further in my quest to get SuperCollider to run on a Cortex A9 guiless Ubuntu stick. That means I've only had one system freeze today trying ot start jackd2.
When I start it like this:
$ jackd -S -d alsa -d hw:H2 -r 44100 -n 3 -p 512
and with rtprio 70 and memlock unlimited
jackd seems to start up correctly:
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2013 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
creating alsa driver ... hw:H2|hw:H2|512|3|44100|0|0|nomon|swmeter|-|32bit
configuring for 44100Hz, period = 512 frames (11.6 ms), buffer = 3 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 3 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 3 periods for playback
Now, trying to connect scsynth (from a self compiled SuperCollider 3.6.2) to jackd I get this completely new and weird error:
Cannot lock down 68157440 byte memory area (Cannot allocate memory)
Cannot lock down 2048917504 byte memory area (Cannot allocate memory)
Cannot lock down 25165824 byte memory area (Cannot allocate memory)
JackDriver: client name is ''
You cannot set callbacks on an active client
SC_AudioDriver: sample rate = 2890137600.000000, driver's block size = 33554432
SuperCollider 3 server ready.
ERROR: server failed to start
I get a very similar error (exact same memory numbers) when I try to connect the jack_simple_client.
I've googled the error and the only results that have come up had to do with 32bit vs 64bit and someone trying to run a Windows app via Wine.
Anyone have an idea what's going on?
Thanks,
Axel
---
Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! Rundum glücklich mit freenetMail
Jack-Devel mailing listJack-Devel@lists.jackaudio.orghttp://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
-- Florian Paul Schmidthttp://fps.io-----Ursprüngliche Nachricht Ende-----
---
Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! Rundum glücklich mit freenetMail
1363294250.6696_0.ltw:2,a <ad4bd0849f85f20d2b819e2b5b00f3f0 at email dot freenet dot de>