LX3JL / xlxd

HAM radio multiprotocol dstar reflector server
GNU General Public License v3.0
175 stars 111 forks source link

Multiple Ambed streams fail! #141

Open ghost opened 4 years ago

ghost commented 4 years ago

Hello,

I have ambed running with xlxd. During one stream it works fine. If another stream starts both fail and i have to stop ambed for a bit and restart it. I have 4 dongle that all show up fine. I compiled both ambed and xlxd from src. Any ideas why I cant run parallel streams??

Running on Debian with 4 CPU and 16Gb Ram.

Thanks!

ghost commented 4 years ago

All same server. 

-------- Original message --------
From: Adrian Fewster notifications@github.com
Date: 12/16/19 10:05 PM (GMT-05:00)
To: LX3JL/xlxd xlxd@noreply.github.com
Cc: Jay jay@cidcomm.com, Author author@noreply.github.com
Subject: Re: [LX3JL/xlxd] Multiple Ambed streams fail! (#141)
Are you running ambe hardware on server, or remote   ?

On 17/12/19 12:24 pm, Jay wrote:

Hello,

I have ambed running with xlxd. During one stream it works fine. If another stream starts both fail and i have to stop ambed for a bit and restart it. I have 4 dongle that all show up fine. I compiled both ambed and xlxd from src. Any ideas why I cant run parallel streams??

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LX3JL/xlxd/issues/141?email_source=notifications&email_token=ACCUMYBYU4672AYNHWQOPVLQZAZ5HA5CNFSM4J3UXOH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IA5K2IA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCUMYDSAPP4IWUNM7W4OQDQZAZ5HANCNFSM4J3UXOHQ.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/LX3JL/xlxd/issues/141#issuecomment-566359282

LX1IQ commented 4 years ago

... I compiled both ambed and xlxd from src. Any ideas why I cant run parallel streams??

It should be no problem to run parallel streams. On the XLX270 I have 12Ch transcoding. 6 parallel streams can run without trouble.

Did you run the ambedtest program ? Is your server supporting the load. What hardware are you using for transcoding ?

73, Luc

ghost commented 4 years ago

No, single xlxd server with ambed running locally on it with 4 dongles attached.

-------- Original message --------
From: LX1IQ notifications@github.com
Date: 12/17/19 12:49 AM (GMT-05:00)
To: LX3JL/xlxd xlxd@noreply.github.com
Cc: Jay jay@cidcomm.com, Author author@noreply.github.com
Subject: Re: [LX3JL/xlxd] Multiple Ambed streams fail! (#141)
... I compiled both ambed and xlxd from src. Any ideas why I cant run parallel streams?? Are you using two ambed servers with one XLX? Your 4 dongles needs to be on one ambed server.

73, Luc

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/LX3JL/xlxd/issues/141#issuecomment-566392138

ghost commented 4 years ago

I was running on VMWare/Debian. I just moved everything over to a bare bones server with 16 CPUs and 256GB of ram today. Was thinking maybe it was something to do with VMWare passing the USB to the vm and messing it up. We will see how she does on that ;) Hopefully it works better. I'm running 4 of the NWDigital Thumb DV's on ambed with Debian 7 bare bones. Only need to do 2 streams currently. 4 DV's handle two simultaneous DSTAR to DMR streams right?

Dec 17 13:57:37 XLX891 xlxd: DMRmmdvm configuration packet from N2CID B at 174.141.222.67 Dec 17 13:57:37 XLX891 xlxd: DMRmmdvm client N2CID B linking on module C Dec 17 13:57:38 XLX891 xlxd: DExtra connect packet for module D from W4END B at 108.93.65.137 rev 0 Dec 17 13:57:38 XLX891 xlxd: New client W4END B at 108.93.65.137 added with protocol DExtra on module D Dec 17 13:57:38 XLX891 xlxd: DExtra connect packet for module D from W4END B at 108.93.65.137 rev 0 Dec 17 13:57:43 XLX891 xlxd: DExtra connect packet for module C from N2CID B at 174.224.137.163 rev 0 Dec 17 13:57:43 XLX891 xlxd: New client N2CID B at 174.224.137.163 added with protocol DExtra on module C Dec 17 13:57:43 XLX891 xlxd: DExtra connect packet for module C from N2CID B at 174.224.137.163 rev 0 Dec 17 13:57:48 XLX891 xlxd: ambed openstream ok Dec 17 13:57:48 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 53808 Dec 17 13:57:53 XLX891 xlxd: Closing stream of module D Dec 17 13:57:53 XLX891 xlxd: ambed stats (ms) : 0.1/35.7/62.3 Dec 17 14:05:37 XLX891 xlxd: ambed openstream ok Dec 17 14:05:37 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 18143 Dec 17 14:05:41 XLX891 xlxd: Closing stream of module D Dec 17 14:05:41 XLX891 xlxd: ambed stats (ms) : 0.0/33.7/68.6 Dec 17 14:05:43 XLX891 xlxd: ambed openstream ok Dec 17 14:05:43 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 36541 Dec 17 14:05:47 XLX891 xlxd: Closing stream of module D Dec 17 14:05:47 XLX891 xlxd: ambed stats (ms) : 0.1/34.0/67.6 Dec 17 14:08:39 XLX891 xlxd: ambed openstream ok Dec 17 14:08:39 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 19442 Dec 17 14:08:43 XLX891 xlxd: Closing stream of module D Dec 17 14:08:43 XLX891 xlxd: ambed stats (ms) : 0.0/32.8/68.5 Dec 17 14:08:51 XLX891 xlxd: ambed openstream ok Dec 17 14:08:51 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 26553 Dec 17 14:09:01 XLX891 xlxd: Closing stream of module D Dec 17 14:09:01 XLX891 xlxd: ambed stats (ms) : 0.0/32.7/69.5 Dec 17 14:09:26 XLX891 xlxd: ambed openstream ok Dec 17 14:09:26 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 33391 Dec 17 14:09:30 XLX891 xlxd: Closing stream of module D Dec 17 14:09:30 XLX891 xlxd: ambed stats (ms) : 0.1/35.9/62.4 Dec 17 14:10:45 XLX891 xlxd: ambed openstream ok Dec 17 14:10:45 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 41672 Dec 17 14:10:49 XLX891 xlxd: Closing stream of module D Dec 17 14:10:49 XLX891 xlxd: ambed stats (ms) : 0.1/32.3/69.6

ghost commented 4 years ago

Here's ambedtest also on new system.

Connecting to ambed server Transcoder connected at 127.0.0.1 Press enter to start test

Stream Open from XLX000 Vocodec channel DVstick-30:0 -> DVstick-30:0 open Opened stream 1 ambed openstream(1) ok Stream Open from XLX000 Vocodec channel DVstick-30:0 -> DVstick-30:0 open Opened stream 2 ambed openstream(2) ok Stream Open from XLX000 Vocodec channel DVstick-30:0 -> DVstick-30:0 open Opened stream 3 ambed openstream(3) ok Stream Open from XLX000 Vocodec channel DVstick-30:0 -> DVstick-30:0 open Opened stream 4 ambed openstream(4) ok Stream 1 (2->1) : 99 / 98 / 0 : 49.0 fps Stream 2 (2->1) : 99 / 97 / 0 : 48.5 fps Stream 3 (1->2) : 99 / 98 / 0 : 49.0 fps Stream 4 (1->2) : 99 / 97 / 0 : 48.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 101 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 101 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 101 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 101 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 98 / 0 : 49.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 102 / 0 : 51.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 102 / 0 : 51.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 98 / 0 : 49.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 102 / 0 : 51.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 101 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 101 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 101 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 101 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 98 / 0 : 49.0 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 102 / 0 : 51.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 102 / 0 : 51.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 1 (2->1) : 100 / 98 / 0 : 49.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 102 / 0 : 51.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 3 (1->2) : 100 / 99 / 0 : 49.5 fps Stream 4 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 3 (1->2) : 100 / 101 / 0 : 50.5 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 99 / 0 : 49.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 101 / 0 : 50.5 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 1 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 2 (2->1) : 100 / 100 / 0 : 50.0 fps Stream 3 (1->2) : 100 / 100 / 0 : 50.0 fps Stream 4 (1->2) : 100 / 100 / 0 : 50.0 fps

Vocodec channel DVstick-30:0 -> DVstick-30:0 closed 0 of 5862 packets lost Stream 2 activity timeout Vocodec channel DVstick-30:0 -> DVstick-30:0 closed 0 of 5847 packets lost Stream 3 activity timeout Vocodec channel DVstick-30:0 -> DVstick-30:0 closed 0 of 5832 packets lost Stream 4 activity timeout Vocodec channel DVstick-30:0 -> DVstick-30:0 closed 0 of 5817 packets lost

ghost commented 4 years ago

And more Ambed startup info..

Initializing vocodecs: Detected 4 USB-FTDI devices

Description : DVstick-30 Serial : DM42SHZ8 Description : DVstick-30 Serial : DM4C1PHC Description : DVstick-30 Serial : DM4A713L Description : DVstick-30 Serial : DM4A714P Opening DVstick-30:DM42SHZ8 device ReadDeviceVersion : 0AMBE3000R1V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

Opening DVstick-30:DM4C1PHC device ReadDeviceVersion : 0AMBE3000R1V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

Opening DVstick-30:DM4A713L device ReadDeviceVersion : 0AMBE3000R1V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

Opening DVstick-30:DM4A714P device ReadDeviceVersion : 0AMBE3000R1V120.E100.XXXX.C106.G514.R009.B0010411.C0020208

Codec interfaces initialized successfully : 4 channels available

Initializing controller

AMBEd started and listening on 127.0.0.1

ghost commented 4 years ago

Yea so its still doing it on the new system. Audio will drop out randomly on one stream or the other :(

To fix it I disable one peer and restart ambed with only one stream and all is good. no drops or losses, also ambed wont recover after that. I have to restart ambed to get rid of the timeouts.

Dec 17 20:25:01 XLX891 xlxd: Opening stream on module D for client BM3103 with sid 28848 Dec 17 20:25:07 XLX891 xlxd: Closing stream of module C Dec 17 20:25:07 XLX891 xlxd: ambed stats (ms) : 0.0/33.7/198.5 Dec 17 20:25:07 XLX891 xlxd: ambed 28 of 1200 packets timed out Dec 17 20:25:19 XLX891 xlxd: Closing stream of module D Dec 17 20:25:19 XLX891 xlxd: ambed stats (ms) : 0.0/32.0/146.3 Dec 17 20:25:19 XLX891 xlxd: ambed 6 of 906 packets timed out

ghost commented 4 years ago

Hey all,

So i applied the fix's from here - https://github.com/LX3JL/xlxd/issues/115 which seem to have resolved most of it from what I can tell. Not getting any errors or drops and we had both streams running seemingly perfect last night minus a few hickups..

The dongles I am using are these - https://www.gigaparts.com/dvmega-dvstick-30.html

I did not clean the USB connections as its a brand new server and new DV-Sticks. Also the ports are USB3 but don't know off hand if debian has the drivers for USB3. Also the server is in a Tier4 Data Center which would make any frequent USB port cleaning problematic ;)

Can anyone post what settings they are using in reference to the above linked issue? Maybe I can tweak mine a little better... ;)

ghost commented 4 years ago

Many times new USB products have a coating on the metal not conductive, which relies on the rubbing of the insert to break through for best conduction. On Odroid devices the cleaning of USB ports is recommended by the manufacturer for the same reason. USB2.0 ports will give you a better result on dvstick or thumbdv's. On 19/12/19 12:12 am, Jay wrote: Hey all, So i applied the fix's from here - #115 <#115> which seem to have resolved most of it from what I can tell. Not getting any errors or drops and we had both streams running seemingly perfect last night minus a few hickups.. The dongles I am using are these - https://www.gigaparts.com/dvmega-dvstick-30.html I did not clean the USB connections as its a brand new server and new DV-Sticks. Also the ports are USB3 but don't know off hand if debian has the drivers for USB3. Also the server is in a Tier4 Data Center which would make any frequent USB port cleaning problematic ;) Can anyone post what settings they are using in reference to the above linked issue? Maybe I can tweak mine a little better... ;) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#141?email_source=notifications&email_token=ACCUMYATQO6TVDXF6JIX3OTQZIVWPA5CNFSM4J3UXOH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHGHQ4A#issuecomment-567048304>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCUMYGEEOAYE3A3JSY7EJTQZIVWPANCNFSM4J3UXOHQ.

From an electrical standpoint this makes no sense as the outer metal portion is for support only. Its non-electrical. Only the 4 copper pins inside are actually used for Gnd/TX/Rx etc. But hey, whatever works ;)

ghost commented 4 years ago

Looks like we are running at USB2 speeds also so... I also changed the buffer in ambed from 1, then 20, then back 0 which seems to work best.

Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0403 Future Technology Devices International, Ltd idProduct 0x6015 Bridge(I2C/SPI/UART/FIFO) bcdDevice 10.00 iManufacturer 1 FTDI iProduct 2 DVstick-30 iSerial 3 DM4C1PHC bNumConfigurations 1

ghost commented 4 years ago

What do these stats fields mean. Cant find any info on it. ping times? ambed stats (ms) : 0.0/32.1/60.5

ghost commented 4 years ago

is the 160.7 normal or? Don't really know what these stats mean...

dmr xlxd: ambed stats (ms) : 0.0/29.2/160.7

ghost commented 4 years ago

Hello All.

Still having issues running multiple streams together. Transcoding DMR with D-STAR using xlxd and ambed. One works fine. When running two occasionally i get these stats "Dec 24 21:31:44 dmr xlxd: ambed stats (ms) : 0.0/29.6/301.1" and ambed has to be restarted to clean it all up. Ive tried everything,

Different OS,s Different Hardware, Cleaning USB Ports Upping CPU and RAM. Barebones and VM Based. Adjusted sync and timers etc Used different versions of both and different repos

Same results on everything... Thoughts???

ghost commented 4 years ago

... I compiled both ambed and xlxd from src. Any ideas why I cant run parallel streams??

It should be no problem to run parallel streams. On the XLX270 I have 12Ch transcoding. 6 parallel streams can run without trouble.

Did you run the ambedtest program ? Is your server supporting the load. What hardware are you using for transcoding ?

73, Luc

Hi Luc,

Are you using multiple streams to BM via direct peer?