Re: [Jack-Devel] Jack netone problem on AM335x-evmsk board

PrevNext  Index
DateThu, 22 May 2014 12:44:30 +0400
From TimKa <[hidden] at yandex dot ru>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToTimKa [Jack-Devel] Jack netone problem on AM335x-evmsk board
Yesterday, I tried to use jackd2 and Nettwo and it's working pretty well 
on EVMSK boards, and I didn't find any difficults. Unfortunately for my 
purpose I can't use multicast so Nettwo is not suitable for me. I tried 
to use Netone with jackd2 but also not successful.
On slave I'm running:
jackd -d netone -r 16000
alsa_in -c 2 -d hw:0 -r16000
alsa_out -c 2 -d hw:0 -r16000

On master I'm running:
jackd -d alsa -r16000
  jack_netsource -H <slave_IP>

As a result on master console I start getting following:
...
netjack: at frame 000015 -> total netxruns 1  (6%) queue time= 256000
netjack: at frame 000483 -> total netxruns 14  (2%) queue time= 255848
netjack: at frame 000499 -> total netxruns 30  (6%) queue time= 255848
netjack: at frame 000515 -> total netxruns 46  (8%) queue time= 255848
netjack: at frame 000530 -> total netxruns 61  (11%) queue time= 255848
...
On slave console I start getting following:
(for alsa_in utility)
...
delay = 16027
delay = 18888
delay = 18957
delay = 19023
delay = 17909
delay = 21026
...
(for jackd -d netone)
JackEngine::XRun: client = alsa_in was not finished, state = Triggered
JackEngine::XRun: client = alsa_out was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
JackEngine::XRun: client = alsa_in was not finished, state = Triggered
JackEngine::XRun: client = alsa_out was not finished, state = Triggered
JackAudioDriver::ProcessGraphAsyncMaster: Process error
...
and CPU became highly loaded

21.05.2014 18:13, TimKa пишет:
> Hello, everybody!
> I met the problem with jack_netsource and jackd1 on TI AM335x-evmsk 
> board.I have been  cross-comiled jack1 0.124.1 from source and patch 
> time.c, because i don't have bogomips in /proc/cpuinfo. I run jackd 
> master and slave both on two AM335x-EVMSK boards. When I try to run 
> jackd_netsource -H <master_IP> on master I get a lot of "nextrun 
> amount 21ms" and less 106 or 61ms. Unfortunately I can not find any 
> information on Web by this issue so trying to find right way by mail 
> list.
> Additional info:
> 1. I have tried 0.121.2 and 0.124.2 from git, not successful.
> 2. If I place slave role to Ubuntu x86 laptop with jackd 0.121.2 it's 
> working pretty well, with out any xruns
> 3. If I place master role to Ubuntu x86 laptop and slave to 
> AM335х-EVMSK it's working the same as two AM335х-EVMSK boards
> 4. Standalone jackd on board working well (jackd -d alsa) and I can 
> connect input to output and listen music from line-in on line-out 
> without xruns
>
> P.S. I also fix some minor mistyping in freebob_driver.c in the 
> includes part, but I believe it's not the ground of problem
>
> 
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
PrevNext  Index

1400748299.15101_0.ltw:2,a <537DB8EE.3060804 at yandex dot ru>