gqrx 2.5 won't start on Ubuntu 14.04.3

1,259 views
Skip to first unread message

Andy Stewart

unread,
Feb 12, 2016, 12:11:06 AM2/12/16
to Gqrx SDR
Hi everybody,

I just installed gqrx version 2.5.3 on Ubuntu Linux 14.04.3 by following these instructions:

I have an RTL2832U device plugged in that worked great under gqrx 2.4.

===
andy@lctux2:~/.config$ gqrx --version
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-release

Controlport disabled 
Gqrx software defined radio receiver 2.5.3andy@lctux2:~/.config$ gqrx --version
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-release

Controlport disabled 
Gqrx software defined radio receiver 2.5.3
...
===

I thought I was very careful to clean out all old libgnuradio and related libraries.

However, with version 2.5.3, the gqrx GUI never appears.  When started from a terminal, this is the text output:

===
andy@lctux2:~/.config$ gqrx -r
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-release

Controlport disabled 
No user supplied config file. Using "default.conf" 
"/home/andy/.config/gqrx/default.conf" deleted 
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya 
Using Volk machine: avx2_64_mmx_orc
FM demod gain: 1.52789
IQ DCR alpha: 1.04166e-05
Using audio backend: auto
New filter offset: 0 Hz 
BookmarksFile is /home/andy/.config/gqrx/bookmarks.csv
Loading configuration from: "default.conf" 
Configuration file: "/home/andy/.config/gqrx/default.conf" 
No change in output device:
  old: 
  new: 
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: 0 
Filter preset for mode 0 LO: 0 HI: 0 
setFftRate to "25 fps" 
New FFT rate: 25 Hz 
New FFT rate: 25 Hz 
setFftSize to "8192" 
New FFT rate: 25 Hz 
Launching I/O device editor 
firstTimeConfig 
CIoConfig : Available input devices: 
    0 : "Realtek RTL2838UHIDIR SN: 00000001" 
    1 : "RFSPACE SDR-IQ Receiver" 
    2 : "RFSPACE SDR-IP Receiver" 
    3 : "RFSPACE NetSDR Receiver" 
    4 : "RFSPACE Cloud-IQ Receiver" 
    5 : "RTL-SDR Spectrum Server" 
    6 : "Red Pitaya Transceiver Server" 
    7 : "Complex Sampled (IQ) File" 
CIoConfig : Available output devices: 
    0 : "Built-in Audio Analog Stereo" 
    1 : "Simultaneous output to Built-in Audio Analog Stereo" 
===

The terminal hangs at that point, and the gqrx GUI never appears.  I can recover the terminal with ctrl-C.  

Any suggestions will be greatly appreciated.

Thanks,

Andy
KB1OIQ


Robin Gape

unread,
Feb 12, 2016, 11:48:38 AM2/12/16
to gq...@googlegroups.com
Andy,

1) my commiserations

1A) presumably your system is kept up-to-date

2) you have no previous default.config from your old installation, and GQRX is trying to ask for some information to know which device to use, its parameters &c.:

Launching I/O device editor 
firstTimeConfig 
CIoConfig : Available input devices: 

3) on this system, as an example with an FCDPP plugged in but default.config renamed, the QGRX start messages on a terminal, up to the point at which a dialog box is thrown up to configure the dongle, are:
robin@whatever:~$ gqrx

linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-release

Controlport disabled
No user supplied config file. Using "default.conf"
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
Using Volk machine: avx2_64_mmx_orc
FM demod gain: 1.52789
IQ DCR alpha: 1.04166e-05
Using audio backend: auto
New filter offset: 0 Hz
BookmarksFile is /home/robin/.config/gqrx/bookmarks.csv
Loading configuration from: "default.conf"
Configuration file: "/home/robin/.config/gqrx/default.conf"
No change in output device:
  old:
  new:
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: 0 hidden

Filter preset for mode 0 LO: 0 HI: 0
setFftRate to "25 fps"
New FFT rate: 25 Hz
New FFT rate: 25 Hz
setFftSize to "8192"
New FFT rate: 25 Hz
Launching I/O device editor
firstTimeConfig
CIoConfig : Available input devices:
    0 : "FUNcube Dongle V2.0"
    1 : "RFSPACE SDR-IQ Receiver"
    2 : "RFSPACE SDR-IP Receiver"
    3 : "RFSPACE NetSDR Receiver"
    4 : "RFSPACE Cloud-IQ Receiver"
    5 : "RTL-SDR Spectrum Server"
    6 : "Red Pitaya Transceiver Server"
    7 : "Complex Sampled (IQ) File" hidden
CIoConfig : Available output devices:
    0 : "V-DAC II Analogue Stereo"
    1 : "Built-in Audio Analogue Stereo"
    2 : "Built-in Audio Digital Stereo (HDMI)"
    3 : "Built-in Audio Digital Stereo (IEC958) on robin@martin"
    4 : "Simultaneous output to Built-in Audio Digital Stereo (IEC958) on robin@martin"


4) the UI that appears (should appear) at this point is a dialog box. It sounds as if it's being hidden on your system, perhaps covered by another window. It should look similar to:
 UI screenshot
5) after selecting OK, the main GUI should then appear, waiting for you to click the power button button!

6) if a hidden dialog box is not the problem, then, not knowing the gory specifics of your current system and what may or may not have been compiled locally, via script or otherwise. For instance, there might be stray Qt libraries, since little of GNURadio has been invoked at your failure point. The guaranteed answer is to perform a clean install of Ubuntu. And then add gqrx and all your other favourites. (For myself, I use a set of scripts to install various PPAs, other repositories, and packages on various machines.) YMMV, of course!

HTH,

Robin, G8DQX


On 12/02/16 05:11, Andy Stewart wrote:
Hi everybody,

I just installed gqrx version 2.5.3 on Ubuntu Linux 14.04.3 by following these instructions:

<<stuff deleted>>

...
===

I thought I was very careful to clean out all old libgnuradio and related libraries.

However, with version 2.5.3, the gqrx GUI never appears.  When started from a terminal, this is the text output:

===
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.002-release

Controlport disabled 
No user supplied config file. Using "default.conf" 
<<more stuff deleted>>

Alexandru Csete

unread,
Feb 13, 2016, 10:24:35 AM2/13/16
to gq...@googlegroups.com
On Fri, Feb 12, 2016 at 6:11 AM, Andy Stewart <andys...@comcast.net> wrote:
>
> ...
> The terminal hangs at that point, and the gqrx GUI never appears. I can
> recover the terminal with ctrl-C.

Hi Andy,

This is quite strange because I see no error messages in your output.
The only time I have seen something similar was when someone tried to
run gqrx remotely using remote X-server. But it doesn't sounds like
you are using any unusual setup wrt. to graphics, so I have no idea.

Alex

Andy Stewart

unread,
Feb 13, 2016, 1:18:35 PM2/13/16
to Gqrx SDR

HI Alex,

Thanks for the reply.  Are there any debug switches that I can pass on the command line that might give us more information?

Failing that, I could try compiling the 2.5.x source code.  If I encounter the same result, I could imagine adding debug messages to the source to isolate the issue.

Andy

Andy Stewart

unread,
Feb 13, 2016, 2:22:05 PM2/13/16
to Gqrx SDR

UPDATE:  compiling directly from source has worked flawlessly for me!  I'm still puzzled by the earlier issue, but happy that the software is now working.  I use it alot and find it very enjoyable.  Thanks for all of the hard work to make this possible!

Andy
KB1OIQ


Alexandru Csete

unread,
Feb 13, 2016, 2:47:41 PM2/13/16
to gq...@googlegroups.com
Hmmm, a bit strange but OK...

Did you build against the same Qt version as the one used by my binary?

Alex
> --
> You received this message because you are subscribed to the Google Groups
> "Gqrx SDR" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gqrx+uns...@googlegroups.com.
> To post to this group, send email to gq...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gqrx/8a739fce-d881-407c-9a1d-1fd1492482e2%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

Andy Stewart

unread,
Feb 13, 2016, 3:13:01 PM2/13/16
to Gqrx SDR
On Saturday, February 13, 2016 at 2:47:41 PM UTC-5, Alexandru Csete wrote:
Hmmm, a bit strange but OK...

Did you build against the same Qt version as the one used by my binary?

Alex


HI Alex,

The Qt version against which I built gqrx is libqt4, specifically some long ubuntu-ish version:
4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
(that's for libqt4-core)

I used qmake to build the software.

My computer is running "Andy's Ham Radio Linux" which is largely based on Ubuntu 14.04.3.  Yes, I'm that "Andy".  :-)

Andy
KB1OIQ

Reply all
Reply to author
Forward
0 new messages