Blank waterfall problem with RPI4 / RTL-SDRv3

Hi,

I am newbie to Satnogs Community and setup (Raspberry Pi + RTL-SDRv3) my first station: https://network.satnogs.org/stations/1485/

But I am experiencing blank waterfall issue. I checked the logs and see:

pi@raspberrypisatnogs:~ $ journalctl -f -u satnogs-client.service

May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: rot_init called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: dummy: _init called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: rot_register (1)
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: rot_register (2)
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: dummy_rot_init called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: rot_open called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: dummy_rot_open called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: rot_get_position called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: dummy_rot_get_position called
May 16 14:57:22 raspberrypisatnogs satnogs-client[341]: rot_set_position called
May 16 14:57:26 raspberrypisatnogs satnogs-client[341]: Found Rafael Micro R820T tuner
May 16 14:57:26 raspberrypisatnogs satnogs-client[341]: Found Rafael Micro R820T tuner
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: [R82XX] PLL not locked!
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: [INFO] Using format CF32.
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: Could not find port: freq in:
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: freq
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: system
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: 4
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: Traceback (most recent call last):
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/bin/satnogs_fsk_ax25.py”, line 491, in
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: main()
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/bin/satnogs_fsk_ax25.py”, line 476, in main
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: tb = top_block_cls(antenna=options.antenna, baudrate=options.baudrate, bb_freq=options.bb_freq, bw=options.bw, dc_removal=options.dc_removal, decoded_data_file_path=options.decoded_data_file_path, dev_args=options.dev_args, doppler_correction_per_sec=options.doppler_correction_per_sec, enable_iq_dump=options.enable_iq_dump, file_path=options.file_path, gain=options.gain, gain_mode=options.gain_mode, iq_file_path=options.iq_file_path, lo_offset=options.lo_offset, other_settings=options.other_settings, ppm=options.ppm, rigctl_port=options.rigctl_port, rx_freq=options.rx_freq, samp_rate_rx=options.samp_rate_rx, soapy_rx_device=options.soapy_rx_device, stream_args=options.stream_args, tune_args=options.tune_args, udp_IP=options.udp_IP, udp_port=options.udp_port, waterfall_file_path=options.waterfall_file_path)
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/bin/satnogs_fsk_ax25.py”, line 132, in init
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: self.satnogs_doppler_compensation_0 = satnogs.doppler_compensation(samp_rate_rx, rx_freq, lo_offset, baudrate*decimation, 1, 0)
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/lib/python3/dist-packages/satnogs/doppler_compensation.py”, line 147, in init
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: self.doppler, “freq”)
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/lib/python3/dist-packages/gnuradio/gr/hier_block2.py”, line 60, in wrapped
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: func(self, src.to_basic_block(), srcport, dst.to_basic_block(), dstport)
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/lib/python3/dist-packages/gnuradio/gr/hier_block2.py”, line 132, in msg_connect
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: self.primitive_msg_connect(*args)
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: File “/usr/lib/python3/dist-packages/gnuradio/gr/runtime_swig.py”, line 3665, in primitive_msg_connect
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: return _runtime_swig.hier_block2_sptr_primitive_msg_connect(self, *args)
May 16 14:57:27 raspberrypisatnogs satnogs-client[341]: RuntimeError: invalid msg port in connect() or disconnect()
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: apscheduler.executors.default - ERROR - Job “spawn_observer (trigger: date[2020-05-16 14:57:22 UTC], next run at: 2020-05-16 14:57:22 UTC)” raised an exception
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: Traceback (most recent call last):
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: File “/usr/lib/python3/dist-packages/apscheduler/executors/base.py”, line 125, in run_job
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: retval = job.func(*job.args, **job.kwargs)
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/scheduler/tasks.py”, line 82, in spawn_observer
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: observer.observe()
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/observer/observer.py”, line 160, in observe
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: self.plot_waterfall()
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/observer/observer.py”, line 258, in plot_waterfall
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: waterfall_png=self.observation_waterfall_png)
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: File “/var/lib/satnogs/lib/python3.7/site-packages/satnogsclient/observer/waterfall.py”, line 20, in plot_waterfall
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: _ = np.fromfile(wf_file, dtype="|S32", count=1)[0]
May 16 14:57:31 raspberrypisatnogs satnogs-client[341]: IndexError: index 0 is out of bounds for axis 0 with size 0


Also for every USB ports on RPI4 I see packets lost:

pi@raspberrypisatnogs : ~ $ rtl_test

Found 1 device(s):

0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM

Found Rafael Micro R820T tuner

Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6

[R82XX] PLL not locked!

Sampling at 2048000 S/s.

Info: This tool will continuously read from the device, and report if

samples get lost. If you observe no further output, everything is fine.

Reading samples in async mode…

Allocating 15 zero-copy buffers

lost at least 2384 bytes

lost at least 852 bytes

lost at least 234 bytes

lost at least 724 bytes

lost at least 362 bytes

lost at least 362 bytes

lost at least 490 bytes

lost at least 362 bytes

lost at least 6856 bytes

lost at least 2896 bytes

lost at least 18974 bytes

lost at least 11659 bytes

lost at least 1629 bytes

lost at least 490 bytes

lost at least 596 bytes

lost at least 362 bytes

lost at least 362 bytes

lost at least 4322 bytes

^CSignal caught, exiting!

lost at least 1448 bytes

User cancel, exiting…

Samples per million lost (minimum): 521


pi@raspberrypisatnogs:~ $ SoapySDRUtil --probe
######################################################

Soapy SDR – the SDR abstraction library

######################################################

Probe device
[INFO] [UHD] linux; GNU C++ version 8.3.0; Boost_106700; UHD_3.15.0.0-2

RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (default), No such file or directory.

Found Rafael Micro R820T tuner
Found Rafael Micro R820T tuner


– Device identification

driver=RTLSDR
hardware=R820T
origin=https://github.com/pothosware/SoapyRTLSDR
rtl=0


– Peripheral summary

Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Direct Sampling - RTL-SDR Direct Sampling Mode
[key=direct_samp, default=0, type=string, options=(0, 1, 2)]
* Offset Tune - RTL-SDR Offset Tuning Mode
[key=offset_tune, default=false, type=bool]
* I/Q Swap - RTL-SDR I/Q Swap Mode
[key=iq_swap, default=false, type=bool]
* Digital AGC - RTL-SDR digital AGC Mode
[key=digital_agc, default=false, type=bool]


– RX Channel 0

Full-duplex: YES
Supports AGC: YES
Stream formats: CS8, CS16, CF32
Native format: CS8 [full-scale=128]
Stream args:
* Buffer Size - Number of bytes per buffer, multiples of 512 only.
[key=bufflen, units=bytes, default=262144, type=int]
* Ring buffers - Number of buffers in the ring.
[key=buffers, units=buffers, default=15, type=int]
* Async buffers - Number of async usb buffers (advanced).
[key=asyncBuffs, units=buffers, default=0, type=int]
Antennas: RX
Full gain range: [0, 49.6] dB
TUNER gain range: [0, 49.6] dB
Full freq range: [23.999, 1764] MHz
RF freq range: [24, 1764] MHz
CORR freq range: [-0.001, 0.001] MHz
Sample rates: 0.25, 1.024, 1.536, 1.792, 1.92, 2.048, 2.16, 2.56, 2.88, 3.2 MSps


Btw client is up to date. I appreciate if you can help me.

Thanks.

I forgot to attach support report. Btw I don’t see any packets lost when I connect SDR dongle to my Mac. Only on RPI4.

------------[ copy here ]------------
{
“versions”: {
“satnogs-client”: “1.3.1”,
“satnogs-client-ansible”: “202004031132”,
“satnogs-flowgraphs”: “1.1.1-1”,
“gr-satnogs”: “2.1.2-1”,
“gr-soapy”: “2.1.2-1”,
“gnuradio”: “3.8.0.0-6”,
“satnogs-config”: “0.10.1”
},
“state”: {
“is-applied”: true,
“pending-tags”: null
},
“system”: {
“distribution”: {
“DESCRIPTION”: “Raspbian GNU/Linux 10 (buster)”,
“RELEASE”: “10”,
“CODENAME”: “buster”,
“ID”: “Raspbian”
},
“pending-updates”: true,
“platform”: {
“system”: “Linux”,
“node”: “raspberrypisatnogs”,
“release”: “4.19.97-v7l+”,
“version”: “#1294 SMP Thu Jan 30 13:21:14 GMT 2020”,
“machine”: “armv7l”,
“processor”: “”
},
“memory”: {
“total”: 2033659904,
“available”: 1808789504,
“percent”: 11.1,
“used”: 128741376,
“free”: 1510342656,
“active”: 176631808,
“inactive”: 258588672,
“buffers”: 27242496,
“cached”: 367333376,
“shared”: 8830976,
“slab”: 55009280
},
“disk”: {
“total”: 60972175360,
“used”: 3241553920,
“free”: 55206383616,
“percent”: 5.5
}
},
“configuration”: {
“satnogs_antenna”: “RX”,
“satnogs_api_token”: “[redacted]”,
“satnogs_rx_samp_rate”: “2.048e6”,
“satnogs_soapy_rx_device”: “driver=rtlsdr”,
“satnogs_station_elev”: “120”,
“satnogs_station_id”: “1485”,
“satnogs_station_lat”: “40.939”,
“satnogs_station_lon”: “29.375”
}
}
------------[ copy end ]-------------

Issue fixed after upgrade. It’s my bad. I didn’t notice I had to upgrade.

3 Likes