Virtual 48 ch card using 2xDigi9652 & jackd

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Virtual 48 ch card using 2xDigi9652 & jackd

Christian Neubauer
Dear all,

a few questions:
- is anybody out there using 3 RME DIGI9652 simultaneously with 3 named
jack servers. I do that and have severe stability problems , i.e. after
a few hours one of the jack servers does not deliver anymore samples to
my app. It seems to be an alsa driver problem since aplay also cannot
contact the "crashed" soundcard. However I suspect that jackd is somehow
causing that behaviour ??? Anybody having this problems too ?

- I try to build a virtual 48 ch card out of my 2 RMEs using the
asound.conf below. What happens is that jackd -v -d alsa -d ttable
reports 52 I/O channels (not 48 as i would expect from ttable
definition). So far so good. But when my app (requesting for 48 ports)
connects to jackd, jackd registers only 24 connections and my app
crashes. Any ideas ?

Regards
Christian

load = 3.6564 max usecs: 758.000, spare = 20575.000
load = 3.7290 max usecs: 811.000, spare = 20522.000
load = 3.6434 max usecs: 759.000, spare = 20574.000
load = 3.5843 max usecs: 752.000, spare = 20581.000
load = 3.5617 max usecs: 755.000, spare = 20578.000
new client: mtxtr+0, id = 2 type 2 @ 0x40b45000 fd = 12
++ jack_rechain_graph():
client mtxtr+0: start_fd=5, execution_order=0.
client mtxtr+0: wait_fd=7, execution_order=1 (last client).
-- jack_rechain_graph()
registered port mtxtr+0:input_1, offset = 0
registered port mtxtr+0:input_2, offset = 0
registered port mtxtr+0:input_3, offset = 0
registered port mtxtr+0:input_4, offset = 0
registered port mtxtr+0:input_5, offset = 0
registered port mtxtr+0:input_6, offset = 0
registered port mtxtr+0:input_7, offset = 0
registered port mtxtr+0:input_8, offset = 0
registered port mtxtr+0:input_9, offset = 0
registered port mtxtr+0:input_10, offset = 0
registered port mtxtr+0:input_11, offset = 0
registered port mtxtr+0:input_12, offset = 0
registered port mtxtr+0:input_13, offset = 0
registered port mtxtr+0:input_14, offset = 0
registered port mtxtr+0:input_15, offset = 0
registered port mtxtr+0:input_16, offset = 0
registered port mtxtr+0:input_17, offset = 0
registered port mtxtr+0:input_18, offset = 0
registered port mtxtr+0:input_19, offset = 0
registered port mtxtr+0:input_20, offset = 0
registered port mtxtr+0:input_21, offset = 0
registered port mtxtr+0:input_22, offset = 0
registered port mtxtr+0:input_23, offset = 0
registered port mtxtr+0:input_24, offset = 0
no ports available!
subgraph starting at mtxtr+0 timed out (subgraph_wait_fd=7, status = 0,
state = Running)
at 2613509448 waiting on 7 for 500850 usecs, status = 1 sig = 2613008590
awa = 2613008603 fin = 0 dur=0
client mtxtr+0 has died/exited
client mtxtr+0 error: awake_at = 2613008603 state = 2 timed_out = 2
client failure: client mtxtr+0 state = Running errors = 2
removing client "mtxtr+0" from the processing chain
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()


**** alsa_pcm: xrun of at least 464.435 msecs

removing disconnected client mtxtr+0 state = Running errors = 0
removing client "mtxtr+0"
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.

-------------------------------------- asound.conf ---------------

pcm.rme_1 {
                 type hw;
                 card 1;
}
ctl.rme_1 {
                 type hw;
                 card 1;
}
pcm.rme_0 {
                 type hw;
                 card 0;
}
ctl.rme_0 {
                 type hw;
                 card 0;
}
ctl.rme_48 {
                 type hw;
                 card 0;
}

pcm.rme_48 {
         type multi;
         slaves.a.pcm rme_0;
         slaves.a.channels 26;
         slaves.b.pcm rme_1;
         slaves.b.channels 26;
         bindings.0.slave a;
         bindings.0.channel 0;
         bindings.1.slave a;
         bindings.1.channel 1;
         bindings.2.slave a;
         bindings.2.channel 2;
         bindings.3.slave a;
         bindings.3.channel 3;
...
         bindings.21.slave a;
         bindings.21.channel 21;
         bindings.22.slave a;
         bindings.22.channel 22;
         bindings.23.slave a;
         bindings.23.channel 23;

         bindings.24.slave b;
         bindings.24.channel 0;
         bindings.25.slave b;
         bindings.25.channel 1;
         bindings.26.slave b;
         bindings.26.channel 2;
         bindings.27.slave b;
         bindings.27.channel 3;
...
         bindings.44.slave b;
         bindings.44.channel 20;
         bindings.45.slave b;
         bindings.45.channel 21;
         bindings.46.slave b;
         bindings.46.channel 22;
         bindings.47.slave b;
         bindings.47.channel 23;

         bindings.48.slave a;
         bindings.48.channel 24;
         bindings.49.slave a;
         bindings.49.channel 25;
         bindings.50.slave b;
         bindings.50.channel 24;
         bindings.51.slave b;
         bindings.51.channel 25;
}

pcm.ttable {
         type route;
         slave {
                 pcm "rme_48"
         }
         ttable.0.0 1;
         ttable.1.1 1;
         ttable.2.2 1;
         ttable.3.3 1;
         ttable.4.4 1;
               ttable.5.5 1;
               ttable.6.6 1;
                ttable.7.7 1;
                ttable.8.8 1;
                ttable.9.9 1;
...
                 ttable.45.45 1;
                 ttable.46.46 1;
                 ttable.47.47 1;
}
# see above.
ctl.ttable {
         type hw;
         card 0;
}

--------------------- other info --------------------------------
ah011:~ # cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.8.
Compiled on Aug  5 2005 for kernel 2.6.11.4-21.8-smp (SMP).

ah011:~ # /usr/local/bin/jackd -v -d alsa -d ttable
getting driver descriptor from /usr/local/lib/jack/jack_dummy.so
getting driver descriptor from /usr/local/lib/jack/jack_oss.so
getting driver descriptor from /usr/local/lib/jack/jack_alsa.so
jackd 0.99.54
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
server `default' registered
loading driver ..
registered builtin port type 32 bit float mono audio
creating alsa driver ...
ttable|ttable|1024|2|48000|0|0|nomon|swmeter|-|32bit
new client: alsa_pcm, id = 1 type 1 @ 0x8057870 fd = -1
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
new buffer size 1024
registered port alsa_pcm:capture_1, offset = 4096

ah011:~ # cat /proc/version
Linux version 2.6.11.4-21.8-smp (geeko@buildhost) (gcc version 3.3.5
20050117 (prerelease) (SUSE Linux)) #1 SMP Tue Jul 19 12:42:37 UTC 2005




--
Dr. Christian Neubauer                          Phone: +49 911 3774877
Georg-Eberleinstr. 11                           Fax:   +49 911 3774877
D-90408 N├╝rnberg                                Mobil: +49 179 5906913


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Virtual 48 ch card using 2xDigi9652 & jackd

Ed Wildgoose-2

> - I try to build a virtual 48 ch card out of my 2 RMEs using the
> asound.conf below. What happens is that jackd -v -d alsa -d ttable
> reports 52 I/O channels (not 48 as i would expect from ttable
> definition). So far so good. But when my app (requesting for 48 ports)
> connects to jackd, jackd registers only 24 connections and my app
> crashes. Any ideas ?


They have to be synced via an spdif cable or they will drift (or
internal word clock).

I think it's probably worth calling this an Alsa problem and going over
to the alsa list for more help.  Once it works fine as a normal 48
channel soundcard *then* try and make it work with Jack

Ed W


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel