DSheirer / sdrtrunk

A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR). Website:
GNU General Public License v3.0
1.58k stars 255 forks source link

0.5.0-beta3 sync loss 3-4 min after start up consistently #1268

Open gVkWY8NJAa opened 2 years ago

gVkWY8NJAa commented 2 years ago

I am not sure how to describe the actual issue other than I will have a flood of sync loss messages with what appears to be random codes appended to the message ie no discernible pattern to the numbers. During this flood audio appears to no longer be able to be decoded.

Restarting the application will result in normal operation again for the first 3-4 min until the next flood of sync loss messages and no audio.

I thought maybe the freq was drifting as the sdr heats up, however reverting back to 0.5.0-beta2 seems to resolve this issue.

OS: Win10 sdrtrunk: 0.5.0-beta3 sdr: rtl-sdr v3 JMBE Audio Conversion Library v1.0.9

Please let me know if any log info would be desirable (which logs and how to grab them).

C:\Users\na\Downloads\sdr-trunk-windows-x86_64-v0.5.0-beta3\bin>sdr-trunk.bat
WARNING: Using incubator modules: jdk.incubator.vector
17:40:04.096 INFO  i.g.d.icon.IconModel - loading icons file [C:\Users\na\SDRTrunk\settings\icons.xml]  [11MB/508MB 2%]
17:40:04.100 INFO  i.g.d.icon.IconModel - Icons file not found at [C:\Users\na\SDRTrunk\settings\icons.xml]  [11MB/508MB 2%]
17:40:04.268 INFO  i.g.d.log.ApplicationLog - Application Log File: C:\Users\na\SDRTrunk\logs\sdrtrunk_app.log  [18MB/508MB 3%]
17:40:04.294 INFO  i.g.d.log.ApplicationLog - SDRTrunk Version  : 0.5.0-beta3  [20MB/508MB 4%]
17:40:04.295 INFO  i.g.d.log.ApplicationLog - Gradle Version    : Gradle 7.4.2  [20MB/508MB 4%]
17:40:04.295 INFO  i.g.d.log.ApplicationLog - Build Timestamp   : 2022-05-04T14:55:06.134-0400  [20MB/508MB 4%]
17:40:04.295 INFO  i.g.d.log.ApplicationLog - Build-JDK         : 18.0.1 (BellSoft 18.0.1+12  [20MB/508MB 4%]
17:40:04.295 INFO  i.g.d.log.ApplicationLog - Build OS          : Linux (amd64 5.13.0-40-generic  [20MB/508MB 4%]
17:40:04.296 INFO  i.g.d.log.ApplicationLog -   [20MB/508MB 4%]
17:40:04.296 INFO  i.g.d.log.ApplicationLog - *******************************************************************  [20MB/508MB 4%]
17:40:04.296 INFO  i.g.d.log.ApplicationLog - **** sdrtrunk: a trunked radio and digital decoding application ***  [20MB/508MB 4%]
17:40:04.296 INFO  i.g.d.log.ApplicationLog - ****  website: https://github.com/dsheirer/sdrtrunk             ***  [20MB/508MB 4%]
17:40:04.297 INFO  i.g.d.log.ApplicationLog - *******************************************************************  [20MB/508MB 4%]
17:40:04.297 INFO  i.g.d.log.ApplicationLog - Memory Logging Format: [Used/Allocated PercentUsed%]  [20MB/508MB 4%]
17:40:04.297 INFO  i.g.d.log.ApplicationLog - Host OS Name:          Windows 10  [20MB/508MB 4%]
17:40:04.297 INFO  i.g.d.log.ApplicationLog - Host OS Arch:          amd64  [20MB/508MB 4%]
17:40:04.298 INFO  i.g.d.log.ApplicationLog - Host OS Version:       10.0  [20MB/508MB 4%]
17:40:04.298 INFO  i.g.d.log.ApplicationLog - Host CPU Cores:        8  [20MB/508MB 4%]
17:40:04.298 INFO  i.g.d.log.ApplicationLog - Host Max Java Memory:  7 GB  [20MB/508MB 4%]
17:40:04.298 INFO  i.g.d.log.ApplicationLog - Storage Directories:  [20MB/508MB 4%]
17:40:04.299 INFO  i.g.d.log.ApplicationLog -  Application Root: C:\Users\na\SDRTrunk  [20MB/508MB 4%]
17:40:04.299 INFO  i.g.d.log.ApplicationLog -  Application Log:  C:\Users\na\SDRTrunk\logs  [20MB/508MB 4%]
17:40:04.299 INFO  i.g.d.log.ApplicationLog -  Event Log:        C:\Users\na\SDRTrunk\event_logs  [20MB/508MB 4%]
17:40:04.300 INFO  i.g.d.log.ApplicationLog -  Playlist:         C:\Users\na\SDRTrunk\playlist  [20MB/508MB 4%]
17:40:04.300 INFO  i.g.d.log.ApplicationLog -  Recordings:       C:\Users\na\SDRTrunk\recordings  [20MB/508MB 4%]
17:40:04.301 INFO  i.g.d.util.ThreadPool - Application thread pool created SCHEDULED and CACHED executors threads  [21MB/508MB 4%]
17:40:04.301 INFO  i.g.dsheirer.gui.SDRTrunk - Home path: C:\Users\na\SDRTrunk  [21MB/508MB 4%]
17:40:04.306 INFO  i.g.d.p.SystemProperties - SystemProperties - loaded [C:\Users\na\SDRTrunk\SDRTrunk.properties]  [21MB/508MB 4%]
17:40:04.306 INFO  i.g.d.p.SystemProperties - SystemProperties - application properties loaded [C:\Users\na\SDRTrunk\SDRTrunk.properties]  [21MB/508MB 4%]
17:40:04.483 INFO  i.g.d.s.t.m.TunerManager - Discovering tuners ...  [5MB/56MB 10%]
17:40:04.572 INFO  i.g.d.s.t.m.TunerManager - LibUsb API Version: 1.0.262  [7MB/56MB 12%]
17:40:04.573 INFO  i.g.d.s.t.m.TunerManager - LibUsb Version: 1.0.22.11312  [7MB/56MB 12%]
17:40:04.601 INFO  i.g.d.s.t.m.TunerManager - LibUsb - discovered [13] potential usb devices  [7MB/56MB 12%]
17:40:04.606 INFO  i.g.d.s.t.m.TunerManager - Discovered tuner at USB Bus [1] Port [1.3.3] Tuner Class [RTL-2832]  [7MB/56MB 12%]
17:40:04.607 INFO  i.g.d.s.t.m.TunerManager - Tuner: USB Tuner - RTL-2832 USB Bus:1 Port:1.3.3 - Added / Starting ...  [7MB/56MB 13%]
17:40:05.917 INFO  i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Sample Rate [2400000.0] providing [96] channels at [25000.0] Hz each  [9MB/56MB 17%]
17:40:05.921 INFO  i.g.d.s.t.m.TunerManager - Tuner: USB Tuner - RTL-2832 USB Bus:1 Port:1.3.3 - Applying Tuner Configuration  [10MB/56MB 18%]
17:40:06.166 INFO  i.g.d.s.t.m.TunerManager - LibUsb Hotplug event notification Is Not Supported on this platform.  [10MB/56MB 19%]
17:40:06.170 INFO  i.g.d.s.SettingsManager - SettingsManager - loading settings file [C:\Users\na\SDRTrunk\settings\settings.xml]  [10MB/56MB 19%]
17:40:06.411 WARN  i.g.d.v.VectorUtilities - CPU supports maximum SIMD instructions of Species[float, 8, S_256_BIT]  [25MB/56MB 45%]
17:40:06.869 INFO  i.g.d.p.PlaylistManager - Loading playlist [C:\Users\na\SDRTrunk\playlist\default.xml]  [16MB/56MB 30%]
17:40:07.013 INFO  i.g.dsheirer.gui.SDRTrunk - starting main application gui  [25MB/56MB 45%]
17:40:18.423 INFO  i.g.d.a.c.m.JmbeAudioModule - Loading JMBE library from [C:\Users\na\SDRTrunk\jmbe\jmbe-1.0.9.jar]  [147MB/288MB 51%]
17:40:18.432 INFO  i.g.d.a.c.m.JmbeAudioModule - JMBE audio conversion library loaded: JMBE Audio Conversion Library v1.0.9  [147MB/288MB 51%]
17:40:18.432 INFO  i.g.d.a.c.m.ImbeAudioModule - JMBE audio conversion library IMBE CODEC successfully loaded - P25-1 audio will be available  [147MB/288MB 51%]
17:40:18.445 INFO  i.g.d.d.f.c.ComplexPolyphaseChannelizerM2 - Sample Rate [2400000.0] providing [96] channels at [25000.0] Hz each  [149MB/288MB 51%]
17:44:34.582 INFO  i.g.d.m.d.p.P25TrafficChannelManager - Stopping traffic channel: Organization of Affiliated Secure Interoperable RF Subsystems (OASIS)_Milwaukee_TRAFFIC_1  [245MB/376MB 65%]
17:44:34.582 INFO  i.g.d.m.d.p.P25TrafficChannelManager - Stopping traffic channel: Organization of Affiliated Secure Interoperable RF Subsystems (OASIS)_Milwaukee_TRAFFIC_2  [245MB/376MB 65%]
17:44:34.583 INFO  i.g.d.m.d.p.P25TrafficChannelManager - Stopping traffic channel: Organization of Affiliated Secure Interoperable RF Subsystems (OASIS)_Milwaukee_TRAFFIC_3  [245MB/376MB 65%]
Terminate batch job (Y/N)? y
DSheirer commented 2 years ago

There was a change between beta2 and beta3 where the tuner's PPM setting was reset to default. Can you check the PPM setting of your tuners to ensure the signal is aligned to the frequency?

w8jfj commented 2 years ago

gVkWY8NJAa

I followed Denny's suggestion and assured my PPM was setup properly.

Also, look at the Channel tab in the Now Playing section. Assure you have a strong enough signal. I set mine on the Tuner's tab as mode linearity and had to set the Master at 20. This set my signal level at about -29db. However I was still getting Sync Loss messages and losing voice shortly after startup while running in Polyphase mode on Tuner Channel. Over the weekend I ran successfully for over 48 hours running in Hetrodyne mode. You might try that and see what happens.

This afternoon I tried Polyphase again and it started failing within in a half hour after startup.

There is also discussion about this at https://groups.google.com/g/sdrtrunk/c/uJaxqcux52A.

Good Luck, John.