jack.play playback error

View: New views
4 Messages — Rating Filter:   Alert me  

jack.play playback error

by James-319 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This may seem like a ridiculously simple question but I'm trying to run jack.play from the command line and I get this error.
jack error: cannot lock down memory for RT thread (Cannot allocate memory)

There are no error messages in the qjack listener. I have sc_server running at the same time and it works fine.

I'm not sure how to troubleshoot this problem as there are no error messages. Can someone please help me or point me to the right direction. I'm running Ubuntu Studio 8.04.

Thanks,
James

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: jack.play playback error

by Paulo Benedict Ang :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try unchecking the "Realtime" option in qjackctl.

~Paulo

On Thu, Aug 27, 2009 at 3:21 PM, James<ja.lira0@...> wrote:

> This may seem like a ridiculously simple question but I'm trying to run
> jack.play from the command line and I get this error.
> jack error: cannot lock down memory for RT thread (Cannot allocate memory)
>
> There are no error messages in the qjack listener. I have sc_server running
> at the same time and it works fine.
>
> I'm not sure how to troubleshoot this problem as there are no error
> messages. Can someone please help me or point me to the right direction. I'm
> running Ubuntu Studio 8.04.
>
> Thanks,
> James
>
> _______________________________________________
> Jack-Devel mailing list
> Jack-Devel@...
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: jack.play playback error

by James-319 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks Paulo, this solves part of my problem.

Now it's telling me that there's a sample rate mismatch. If I play a 44.1 kHz file I get a mismatch and if I resample the file as 48 kHz I get no audio. The thing is that in my jack settings the default sample rate is 44.1 but the transport says 48.. I'm not sure how to change the value.

James
- Show quoted text -


On Thu, Aug 27, 2009 at 6:34 PM, Paulo Benedict Ang <pbba13@...> wrote:
Try unchecking the "Realtime" option in qjackctl.

~Paulo

On Thu, Aug 27, 2009 at 3:21 PM, James<ja.lira0@...> wrote:
> This may seem like a ridiculously simple question but I'm trying to run
> jack.play from the command line and I get this error.
> jack error: cannot lock down memory for RT thread (Cannot allocate memory)
>
> There are no error messages in the qjack listener. I have sc_server running
> at the same time and it works fine.
>
> I'm not sure how to troubleshoot this problem as there are no error
> messages. Can someone please help me or point me to the right direction. I'm
> running Ubuntu Studio 8.04.
>
> Thanks,
> James
>
> _______________________________________________
> Jack-Devel mailing list
> Jack-Devel@...
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>
>


_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Re: jack.play playback error

by Paul Davis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Aug 28, 2009 at 1:37 PM, James<ja.lira0@...> wrote:
>
> Thanks Paulo, this solves part of my problem.
>
> Now it's telling me that there's a sample rate mismatch. If I play a 44.1
> kHz file I get a mismatch and if I resample the file as 48 kHz I get no
> audio. The thing is that in my jack settings the default sample rate is 44.1
> but the transport says 48..

Many consumer audio interfaces support only 1 sample rate (48kHz).
When JACK used to fail to start if the user asked for 44.1kHz and the
device did not support it, users howled. So we changed it so that it
picks the closest available rate. Qjackctl displays the rate that was
obtained.

> I'm not sure how to change the value.

The sample rate is set when JACK is started (either the default, or
via an argument passed to the backend). You cannot change it once JACK
is running. If you resampled the file to 48kHz and got no audio,
you're doing something else wrong.
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org