Re: [LAD] JACK and computer sleeping

From: Hans Fugal <hans@email-addr-hidden>
Date: Fri Mar 06 2009 - 16:56:10 EET

MarcO'Chapeau wrote:
> On Thu, 5 Mar 2009 09:07:10 -0500, Paul Davis <paul@email-addr-hidden>
> wrote:
>> On Thu, Mar 5, 2009 at 9:02 AM, nescivi <nescivi@email-addr-hidden> wrote:
>>
>>> Hiho,
>>>
>>> It seems that JACK (just tested with v0.116) does not survive when the
>>> computer is put to sleep, and woken up again.
>>>
>>> Is there any reason why this is so?
>>
>> JACK will see this as a major system malfunction. If you are using JACK,
> do
>> not let your computer sleep, or suspend, or engage in CPU frequency
>> scaling.
>> These all appear to JACK as indistinguishable from your audio interface
>> ceasing to function in a way that leads it to quit or die. Remember that
>> JACK is watching the passing of absolute time.
>
> While cpu freq scaling *might* confuse JACK, it seems is not the case here.
> Sleep is a whole different story...

It's interesting that I haven't had major issues with sleep on my laptop
(running OSX). I didn't expect JACK to survive the first time and was
surprised to see it come back to life with just an xrun or two. More
often than not that's what happens, though it has crashed a few times on
resume. (disclaimer: I don't have JACK going all the time, so the sample
size isn't great. Also, I might have had it in soft mode.)

-- 
Hans Fugal ; http://hans.fugal.net
There's nothing remarkable about it. All one has to do is hit the
right keys at the right time and the instrument plays itself.
    -- Johann Sebastian Bach
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Mar 6 20:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Mar 06 2009 - 20:15:02 EET