[Jack-Devel] R: Jack on arm hf

PrevNext  Index
DateTue, 07 May 2013 09:16:57 +0200
From MONTANARO Luciano (MM) <[hidden] at magnetimarelli dot com>
To"[hidden] at freenet dot de" <[hidden] at freenet dot de>, Robin Gareus <[hidden] at gareus dot org>
CcJack mailing list <[hidden] at lists dot jackaudio dot org>
In-Reply-To[hidden] at freenet dot de Re: [Jack-Devel] Jack on arm hf
Follow-UpJeremy Jongepier Re: [Jack-Devel] R: Jack on arm hf




> -----Messaggio originale-----
> Da: [hidden] [mailto:jack-devel-
> [hidden]] Per conto di [hidden]
> Inviato: lunedì 6 maggio 2013 17:25
> A: Robin Gareus
> Cc: Jack mailing list
> Oggetto: Re: [Jack-Devel] Jack on arm hf
>
> Hi Robin and all,
>
> hmm, that last commit is from two months ago. I'm quite sure I'm using
> that patch already. I'm using a self-compiled version of jackd2 1.9.10  on
> a special distribution made for these sticks called Picuntu with no window
> manager.
>
> I just tried again with the built in hdmi interface after unsuccessful
> attempts with a usb interface:
>
> When I try to connect SuperCollider or just the jack_simple_client I get
> similar errors like this:
>
> "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) You
> cannot set callbacks on an active client no physical playback ports
> axel@picuntu:$ Unknown error...
> terminate called after throwing an instance of
> 'Jack::JackTemporaryException'
> what():"
>


I think I can answer this one.
The "cannot lock down..." messages are due to the use of mlock. You need to be root (or have CAP_IPC_LOCK) to do that.
But even if that call fails, the server should work fine. The memory could be swapped out though.


> That's an impressive amount of memory jack wants to allocate ;-)
>

You can start jackd with a smaller maximum number of ports. The default is much higher than needed in most circumstances.

Try starting jackd with --port-max 256 or something closer to the amount of ports you plan on using.
There is also a #define somewhere to limit the number of ports per client, and that lets you limit the amount of locked down ram a bit more.

Cheers,
Luciano

> So, still no luck...
>
> Cheers,
> Axel
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Robin Gareus
> > Gesendet: Mo. 06.05.2013 00:19
> > An: [hidden]
> > Kopie: Jack mailing list
> > Betreff: Re: [Jack-Devel] Jack on arm hf
> >
> > Hi Axel,
> >
> > Recent jack2 from git works on armhf (as well as aarm64 and armel).
> >
> > relevant commits are
> > >
> href="https://github.com/jackaudio/jack2/commit/2f7d512b419cb75cef2e27db87
> 2d641de6e7aa0d"
> > target="_blank">https://github.com/jackaudio/jack2/commit/2f7d512b419c
> > b75cef2e27db872d641de6e7aa0d
> > and
> > >
> href="https://github.com/jackaudio/jack2/commit/d11bb095291d8880508c87adfe
> 625bf2bcab1456"
> > target="_blank">https://github.com/jackaudio/jack2/commit/d11bb095291d
> > 8880508c87adfe625bf2bcab1456
> >
> > Which version of jack are you using and on what distribution?
> >
> > Cheers!
> > robin
>
>
>
>
>
> ---
> Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen!
> http://email.freenet.de/produkte/basic/index.html
>
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

VISITA IL NOSTRO NUOVO SITO WEB! - VISIT OUR NEW WEB SITE!   www.magnetimarelli.com

Confidential Notice: This message - including its attachments - may contain proprietary, confidential and/or legally protected information and is intended solely for the use of the designated addressee(s) above. If you are not the intended recipient be aware that any downloading, copying, disclosure, distribution or use of the contents of the above information is strictly prohibited.
If you have received this communication by mistake, please forward the message back to the sender at the email address above, delete the message from all mailboxes and any other electronic storage medium and destroy all copies.
Disclaimer Notice: Internet communications cannot be guaranteed to be safe or error-free. Therefore we do not assure that this message is complete or accurate and we do not accept liability for any errors or omissions in the contents of this message.
PrevNext  Index

1367911048.29477_0.ltw:2,Sa <67BA5DEFFBE7BF46B4C53F7E5FC5AD4423A19208C5 at MXCL13 dot fgremc dot it>