Re: [LAU] Jack conking out, How to debug?

From: Hartmut Noack <zettberlin@email-addr-hidden>
Date: Fri Feb 18 2011 - 00:54:32 EET

Am 17.02.2011 18:56, schrieb S. Massy:
> On Wed, Feb 16, 2011 at 08:38:54PM +0100, Jeremy Jongepier wrote:
>> On 02/16/2011 08:27 PM, S. Massy wrote:
>>> Hello, all,
>>>
>>> So, thanks to the excellent advice received on this list, I recently
>>> purchased a Roland UA25EX and it works just great, and out of the box at
>>> that.
>>>
>>> Also thanks to this list, I now have my RT kernel sorted out, lean and
>>> mean as ever. All great!
>>>
>>> With my (crappy) internal sound interface, I used to be able to leave
>>> jack running for days at "-p128" without any problem, at least with my
>>> new kernel. With my new USB soundcard, however, jack works flawlessly
>>> for a few hours and then abruptly exits saying something to the effect
>>> that jack timed out and the watchdog is doing its painful duty.
>>>
>>> Here is my jack command-line:
>>> $ jackd -P61 -t100 -d alsa -d hw:2,0 -p128 -r 44100
>>>
>>> I tried adding "-v" for good measure and redirecting to a file, here's
>>> what it looks like before the downfall:
>>> -Couple 100K of boredom- [...]
>>> load = 0.2478 max usecs: 4.000, spare = 1447.000
>>> load = 0.2273 max usecs: 3.000, spare = 1448.000
>>> load = 0.2859 max usecs: 5.000, spare = 1446.000
>>> (and then tonnes of)
>>> **** alsa_pcm: xrun of at least 0.029 msecs
>>> **** alsa_pcm: xrun of at least 0.025 msecs
>>> **** alsa_pcm: xrun of at least 0.026 msecs
>>> **** alsa_pcm: xrun of at least 0.024 msecs
>>> ---and so forth until jackd gets killed.
>>>
>>> Does anyone know what the problem could be? Is something wrong with my
>>> jackd command-line? Is there anything further I can do to debug?
>>>
>>> Cheers,
>>> S.M.
>>>
>>
>> Hello, what distro are you using? And did you also check your system
>> logs to see if anything happened around that time? And try using -n
> Debian squeeze/custom RT kernel. And no, logs/dmesg didn't reveal
> anything.
>
>> 3, I think JACK uses 2 by default for the ALSA backend and the man
>> page recommends a setting of 3 for USB cards.

I use to check from time to time, if such tricks are still needed.
Now I see that my USB-interface (MAudio mobilePre) can be used under
Fedora14 with CCRMA-Kernel the same as good with -n2.
Anyway: -n3 will not hurt and when it solves your issue...

best regs
HZN

> Ahh, that's what happens when you don't do your homework. I left jack to
> run all night with "-n3" and "-p64" and so far, nothing, save a few
> xruns of 0.0x ms.
>
> Thanks,
> S.M.
>
>>
>> Best,
>>
>> Jeremy
>> _______________________________________________
>> Linux-audio-user mailing list
>> Linux-audio-user@email-addr-hidden
>> http://lists.linuxaudio.org/listinfo/linux-audio-user
>>
>

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Feb 18 04:15:02 2011

This archive was generated by hypermail 2.1.8 : Fri Feb 18 2011 - 04:15:03 EET