Gqrx on Rpi3B+ with FCDP+ wont start (Errors seen)

152 views
Skip to first unread message

James Savage

unread,
Mar 20, 2018, 7:31:43 AM3/20/18
to Gqrx SDR
Hi All,
I am not sure why but replies to the original post/ thread are showing as deleted so this new post serves as an update to the original.
The issue I am encountering is that that gqrx is failing when it comes to Start DSP.
This is on a Raspi3B+ with a very recent install of Raspbian Stretch and the latest gqrx.
Previously, I did not manage to capture output in the terminal as I was using ssh - apologies - my mistake 
So now I can provide more info from running gqrx in the terminal. My monitor is directly attached using hdmi. Keyboard is wireless.
The only perhaps unusual component is that I have a PiJuice attached.  If necessary I will remove this but I am hopeful that the errors highlighted in the output captured from the terminal (mostly before Start DSP was pressed) will provide some good clues to what is happening: 

cd gqrx-sdr-2.11.1-linux-rpi3/

pi@nodepi:~/gqrx-sdr-2.11.1-linux-rpi3 $ ./gqrx

libEGL warning: DRI2: failed to authenticate


** (gqrx:1336): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

Controlport disabled

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM front

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround21

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround40

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround41

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround50

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround51

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM surround71

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM iec958

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM spdif

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'

ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory

ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory

ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa

Cannot connect to server socket err = No such file or directory

Cannot connect to server request channel

jack server is not running or cannot be started

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

No user supplied config file. Using "default.conf"

gr-osmosdr be597b5d (0.1.5git) gnuradio 3.7.10

built-in source types: file fcd rtl rtl_tcp sdrplay hackrf rfspace airspy airspyhf soapy redpitaya

FM demod gain: 3.05577

Resampling audio 96000 -> 48000

IQ DCR alpha: 1.04166e-05

PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4 (version 1246720)

Number of audio devices: 6

0: bcm2835 ALSA: - (hw:0,0) I:0 O:2

1: bcm2835 ALSA: IEC958/HDMI (hw:0,1) I:0 O:2

2: FUNcube Dongle V2.0: USB Audio (hw:1,0) I:2 O:0

3: sysdefault I:0 O:128

4: default I:0 O:128

5: dmix I:0 O:2

Using default audio device

Using audio backend: auto

BookmarksFile is /home/pi/.config/gqrx/bookmarks.csv

getDeviceList : Available input devices:

1975278260 : "FUNcube Dongle V2.0"

1975278261 : "RFSPACE SDR-IQ Receiver"

1975278262 : "RFSPACE SDR-IP Receiver"

1975278263 : "RFSPACE NetSDR Receiver"

1975278264 : "RFSPACE Cloud-IQ Receiver"

1975278265 : "RTL-SDR Spectrum Server"

1975278266 : "Red Pitaya Transceiver Server"

1975278267 : "Complex Sampled (IQ) File"

Loading configuration from: "default.conf"

Configuration file: "/home/pi/.config/gqrx/default.conf"

gr-osmosdr be597b5d (0.1.5git) gnuradio 3.7.10

built-in source types: file fcd rtl rtl_tcp sdrplay hackrf rfspace airspy airspyhf soapy redpitaya

Using FUNcube Dongle V2.0 (hw:1)

gr::log :INFO: audio source - Audio source arch: alsa

Opened: hw:1


FATAL: FunCube Dongle V2.0 soundcard found but not controlpart.


Trying to fill up 1 missing channel(s) with null source(s).

This is being done to prevent the application from crashing

due to gnuradio bug #528.


********************

********************

No change in output device:

old:

new:


Failed to set RX input rate to 192000

Your device may not be working properly.


IQ DCR samp_rate: 192000

IQ DCR alpha: 5.20831e-06

Changing NB_RX quad rate: 96000 -> 192000

Requested sample rate: 192000

Actual sample rate : "192000.000000"

New FFT rate: 25 Hz

Requested bandwidth: 0 Hz

Actual bandwidth : 0 Hz

setFreqCorr : 0 ppm

New LNB LO: 0 Hz

updateHWFrequencyRange failed fetching new hardware frequency range

New mode index: 2

Filter preset for mode 2 LO: -5000 HI: 5000

Generating taps for new filter LO:-5000 HI:5000 TW:2000 Taps: 115

setFftRate to "25 fps"

New FFT rate: 25 Hz

New FFT rate: 25 Hz

setFftSize to "8192"

New FFT rate: 25 Hz

Generating taps for new filter LO:-5000 HI:5000 TW:2000 Taps: 115

Configure I/O devices.

PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4 (version 1246720)

Number of audio devices: 6

0: bcm2835 ALSA: - (hw:0,0) I:0 O:2

1: bcm2835 ALSA: IEC958/HDMI (hw:0,1) I:0 O:2

2: FUNcube Dongle V2.0: USB Audio (hw:1,0) I:2 O:0

3: sysdefault I:0 O:128

4: default I:0 O:128

5: dmix I:0 O:2

saveConfig

New LNB LO: 0 Hz

saveSettings *** FIXME_ SQL on/off

New FFT rate: 25 Hz

Loading configuration from: "/home/pi/.config/gqrx/default.conf"

Configuration file: "/home/pi/.config/gqrx/default.conf"

No change in input device:

old: fcd=0

new: fcd=0

********************

********************

No change in output device:

old:

new:


Failed to set RX input rate to 192000

Your device may not be working properly.


IQ DCR samp_rate: 192000

IQ DCR alpha: 5.20831e-06

Requested sample rate: 192000

Actual sample rate : "192000.000000"

New FFT rate: 25 Hz

Requested bandwidth: 0 Hz

Actual bandwidth : 0 Hz

setFreqCorr : 0 ppm

New LNB LO: 0 Hz

updateHWFrequencyRange failed fetching new hardware frequency range

New mode index: 2

Filter preset for mode 2 LO: -5000 HI: 5000

Generating taps for new filter LO:-5000 HI:5000 TW:2000 Taps: 115

setFftRate to "25 fps"

New FFT rate: 25 Hz

New FFT rate: 25 Hz

setFftSize to "8192"

New FFT rate: 25 Hz

Generating taps for new filter LO:-5000 HI:5000 TW:2000 Taps: 115

Configure I/O devices.

PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4 (version 1246720)

Number of audio devices: 6

0: bcm2835 ALSA: - (hw:0,0) I:0 O:2

1: bcm2835 ALSA: IEC958/HDMI (hw:0,1) I:0 O:2

2: FUNcube Dongle V2.0: USB Audio (hw:1,0) I:2 O:0

3: sysdefault I:0 O:128

4: default I:0 O:128

5: dmix I:0 O:2

New FFT rate: 25 Hz



START DSP activated about here



No audio FFT data.

portaudio_sink::work(): Error writing to audio device: Output underflowed.........


No audio FFT data.


saveSettings *** FIXME_ SQL on/off

New FFT rate: 25 Hz



============

Does anything particular jump out?

James

Alexandru Csete

unread,
Mar 20, 2018, 12:36:08 PM3/20/18
to gq...@googlegroups.com
On Tue, Mar 20, 2018 at 12:31 PM, James Savage <consu...@gmail.com> wrote:
>
> ...
> Using FUNcube Dongle V2.0 (hw:1)
>
> gr::log :INFO: audio source - Audio source arch: alsa
>
> Opened: hw:1
>
>
> FATAL: FunCube Dongle V2.0 soundcard found but not controlpart.
>

So, this is not good... I suspect the new hardware might suffer this issue:
https://github.com/csete/gqrx/issues/91

Is it possible for you to try with the "old" RPI3 and see if that works?

Alex
Message has been deleted

Alexandru Csete

unread,
Mar 22, 2018, 8:15:50 PM3/22/18
to gq...@googlegroups.com
On Tue, Mar 20, 2018 at 9:42 PM, James Savage <consu...@gmail.com> wrote:
> Alex,
> I would if I could but I don't have an old Pi3. Perhaps there are others
> here who might be able to confirm this. I was hoping this issue would have
> been less likely on the Pi3B+.
>
> I seem to recall that I encountered this on the Pi2 the error msg referring
> to "Not Enough bandwidth" showed up straight away in dmesg.
>
> All I am seeing in dmesg now is usb 1-1.1.3: 1:1: cannot get freq at ep
> 0x81
>
> Is there any other software that I could try with the FCDP+ on the Pi3B+
> that might help bottom this out?

Yes, there should be some small tools around, but they all use the
same interface, so I don't think it will make a difference.

I will take a look at it later when I get a new pi, but I am too busy
now, sorry.

Alex

Robin Gape

unread,
Mar 22, 2018, 8:21:35 PM3/22/18
to gq...@googlegroups.com

James,

what may help is to connect your FCDPP via a powered USB hub, should you have one handy, or have access to some other source (mate, charity/thrift shop &c.)

The root cause of this nonsense, IMHO, is incompetent chip design without regard to use cases, for silicon designed down to a price. [Much longer rant available for the price of a decent glass of something!]

Good luck,

Robin, G8DQX

James Savage

unread,
Mar 24, 2018, 8:10:48 AM3/24/18
to Gqrx SDR
Robin,
Many thanks for the suggestion.  I will give it a go; I am sure I have a hub sitting around somewhere.  I had read that  Pi 3B+ had more bandwidth and improvements in the USB area and was hoping this would make a difference.  In the meantime, since the issue may affect other applications to, do you know if the issue is recorded accurately anywhere - otherwise there is little hope of it ever being fixed.

Kind regards,

James 
G6KME 

Alexandru Csete

unread,
Mar 25, 2018, 4:29:39 PM3/25/18
to gq...@googlegroups.com
Hi James,

I just tried the latest gqrx 2.11.2 on my RPI3 (original) using an FCD
Pro+ and guess what... it's not working! It seems to be a permission
problem because it works fine using sudo. I have no idea why, the udev
rules looks just fine. I will look into it later.

Alex

Rob Robinett

unread,
Mar 28, 2018, 5:16:10 PM3/28/18
to Gqrx SDR
I am unable to run 2.11.1 on a clean install of Stretch on a RP3b+.  
Running as user 'pi' I get no waterfall nor any audio
Running 'sudo ./gqrx'  gets me the waterfall display, but only faint 'burps' of audio out the ALSA default analog audio port and many lines of debug information running at only 240 ksps:

portaudio_sink::work(): Error writing to audio device: Output underflowed
No audio FFT data.
No audio FFT data.
No audio FFT data.
No audio FFT data.
No audio FFT data.
portaudio_sink::work(): Error writing to audio device: Output underflowed
No audio FFT data.
No audio FFT data.
No audio FFT data.
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
portaudio_sink::work(): Error writing to audio device: Output underflowed
Reply all
Reply to author
Forward
0 new messages