-
Notifications
You must be signed in to change notification settings - Fork 186
Sometimes no audio after receiver switchover in Voter #157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue gets more and more urgent as we continuously increase our number of receivers. Yesterday I noted the problem three times (which is excessive for one day, but the repeater is in use almost the whole day currently due to another new large transmitter with a lot of coverage). To add to Rob's correct description: The problem seems to happen particularly in cases where a weak signal comes in at one or other receiver and switches relatively often. Especially when there either are signal drops (below sq level) causing short interruptions -or- when there are doubles (someone keys by accident shortly during another transmission. Together with the RemoteTrx crashes (but that is another topic), this issue is rather frustrating for users since it happens that the repeater sometimes transmits silence up to three minutes if someone by coincidence makes a long transmission... |
Have you tried changing the voter parameters? It would be interesting to see if any of the voting parameters can be changed to lower the failure rate. I don't suggest it as a solution but it may help in finding the problem and also maybe lower the impact of the problem until it's fixed. |
Fwiw, our current Voter parameters are: [Voter] The frequency of occurrence is a bit low to experiment with parameters and observe immediate effect. What parameter(s) would you suggest experimenting with? |
All parameters that cause more fast switching back and forth would be of interest I guess. The REVOTE_INTERVAL is a candidate, RX_SWITCH_DELAY is another. Increasing HYSTERESIS should stop "ping-ponging" between multiple receivers, if that is what's causing the problem. Also changing parameters to make the problem worse is an interesting test. Using this approach will get faster feed-back but more annoyed users. |
Unfortunately even when it has happened it is difficult to find any evidence in the logs and events. |
Well, some times, with harder problems, one has to throw logic thinking out the window and just resort to "dummy testing", like "this change cannot possibly affect this problem but I'll test it anyway". That line of thinking has helped me a lot of times to solve "impossible" problems. (And yes, the page you linked to is very cool and I guess also very useful to debug some problems.) |
Yes it is impressive what he made, especially considering it is a voluntary effort by an outsider after we made available the event source and a JSON file describing the repeater system (which was then expanded to include items that he needs). |
Hi, 29.09.2015 19:30:01: Voter: The squelch is OPEN (Rx1=64.09) <- this was on radio, beginning of a qso That remotetrx is a raspberry pi with no radio, only a speaker and a mike, ptt is on a gpio pin which was not triggered. Voter attached to SimplexLogic. |
Well, that is not completely the same I think. |
I observed the same behavior here, on remotetrx which is linked to svxlink on same machine. As for the other issue, something came out of log: |
Ok... that is another issue I think. What we face is a problem related to network problems (slow network, disconnect) that occasionally happens because we use WiFi links and VPN over internet connections shared with other users. There is another open issue #96 (keep the soundcard open all the time instead of opening it when transmit starts) which when implemented would maybe work around your problem. |
Ok, I will check that too. |
@gicardous, you should report your problem as a new issue since it's different from the original one. Your sound device problem is probably triggered by USB communication problems. That is obviously not something we can blame SvxLink for but of course it would be good if SvxLink could handle it in a better way. But as I said, please report it as a new issue. |
I guess this problem persist even after the recent RemoteTrx fixes? |
I'm not sure, I have not heard it for a while but I'll keep monitoring. It requires some (not completely known) conditions to occur. |
@sm0svx: Yes, the issue still persists - I've heard it at least three times today. I might have some more direction towards this issue: The voter seems to mute the recieved audio in particular when the repeater transmits internal sounds (such as an ID, Echolink connect or disconnect message or similar) while during that event a voter switch to another RX is initiated as well, or even when the squelch opens right at the point where this sound is starting. It's a bit hard to reproduce since the system is live, maybe it helps to simulate it on the scratchboard. Actually, this looks a bit similar to issue 158 - but maybe it's not related... |
That is a very interesting observation. I'll see if I can reproduce that in the simulator. |
We haven't noticed the issue any longer lately, or to be more precise, since the last version is installed. I guess this one can be closed; no idea what happened that solved the issue. If it shows up again, I can re-open it again... |
That is good news! It would be good though to find out what changed. I'm not sure but I think we have seen this as well on one of our systems (@sm3sgp?). If anyone else still have this problem, please comment here. |
I have not heard this problem for a long time. |
One of our repeaters now has 14 configured receivers, of which 10 are permanently active.
Normally it works well and the Voter selects the best receiver for any incoming station.
But really sometimes (maybe once every couple of days), when the Voter switches over to another receiver the audio is not passed on. The output of the repeater is a blank carrier.
This can go on for a minute or so (while the station keeps transmitting and comes in over the same receiver), but when it switches over to another receiver or stops transmitting, the audio is back.
It appears to be some race condition or other timing glitch, e.g. it could be that it is triggered by someone keying up very shortly, or the squelch signal of a receiver toggling very briefly just at the moment of the switchover.
We cannot reproduce it, and it is by far not happening as often as the earlier problem we had in the Voter. (which was fixed)
The text was updated successfully, but these errors were encountered: