Problems with current configuration when gqrx starts

916 views
Skip to first unread message

macdr...@gmail.com

unread,
May 1, 2019, 9:53:05 AM5/1/19
to Gqrx SDR
Hi,
Using gqrx 2.9. on Ubuntu 18.04.

If I start gqrx with my rtl8232 plugged in it starts and allows me to select the rtl.

If I then restart gqrx it just starts and proceeds as normal.

Then shutdown gqrx, unplg the rtl and plug in hackrf one.

Start gqrx, starts as normal, but then select the hackrf one, works fine.

Then shutdown gqrx

Restart. Nothing happens, no error dialogs etc.

Restart again and it pops a dialog stating gqrx has detected problems with the current configuration. ... Do you want to edit the settings?

Select yes, select ok. Restart detects problems again.

Only way to get back to working is to plug the rtl in and go through the steps above.

Anybody know whats going on? Is there a way to fix this?

Thanks,
Mac

Robin Gape

unread,
May 1, 2019, 2:52:33 PM5/1/19
to gq...@googlegroups.com

Mac,

you may find it easier to set up two separate configurations for GQRX, depending on the SDR peripheral you wish to use it with. You can save a configuration with FileSave settings Ctrl+S.

Loading a configuration in to GQRX, once it has successfully started, is from Load settings Ctrl+L. It is much more reliable to do that from the command line:

gqrx -c configname

That command line may also be put in to a custom menu entry, using your preferred menu editor.

Other useful command line incantations are:

gqrx -r
which asks GQRX to start with the configuration menu, effectively a reset.

gqrx -h
which provides a list of all of GQRX's command line options.

The behaviour which you have observed is not unexpected. GQRX was designed, and tested, for a use case where the SDR hardware is generally unchanging. It sulks when the source hardware which it has been configured to use is removed, and it usually needs two re-launches to recover fully.

HTH, good luck,

Robin, G8DQX

PS: There is a later version of GQRX in a PPA. Concise instructions at http://gqrx.dk/download/install-ubuntu. Be aware that this version may cause problems if you are using anything supported by OsmoSDR. The RTL-SDR and HackRF have their own support libraries and are not affected.

PPS: There is a lot of out-of-date information on the internet about RTL-SDR support under Ubuntu. As of Ubuntu 16.04, and later, there is no need to hack any configuration files. The current librtlsdr loads and unloads modules as required, and also provides the necessary udev rules.

--
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/a8ef15e2-e2a9-4716-ad28-d4603bf76443%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

macdr...@gmail.com

unread,
May 1, 2019, 4:06:21 PM5/1/19
to Gqrx SDR
I went ahead and installed the new version via the PPA. Previously I had just done an apt install to get the other version. I saw there was a new 2.11.5, but, hadn't seen the PPA.

Using the -c option works. I now have two config files and use them when I switch.

Sometimes the config for the HackRF stilL has to be started twice, but, only sometimes.

The config for the RTL starts first time every time...so far. ;)

Thanks!

Bradshaw Lupton

unread,
May 31, 2023, 1:23:09 PM5/31/23
to Gqrx SDR
i am loading gqrx -c GOODconfiguration.conf & an running an auto start.

I built Gqrx SDR 2.16 from source and it runs super.

On start up of GQRX, I often get:  a message:

     Gqrx has detected problems with the current configuration. 
     Loading the configuration again could cause the application to crash.

     Do you want to edit the settings?

Is there a cool way to get over this speed bump?  I am starting GQRX -C GOODconfiguration.conf & wiht this:

#!/bin/bash
# Open Gqrx.
gqrx &
sleep 5
# Start SDR.
echo "U DSP 1" | nc localhost 7356
sleep 5

       And I get hung up in a user ineration on a headless pi400.  "users are such an inconvenience!"

THanks.Bradshaw K1TE BUzzards Bay MA.



Jeff Long

unread,
May 31, 2023, 1:57:48 PM5/31/23
to gq...@googlegroups.com
See if this works: "QT_QPA_PLATFORM=offscreen gqrx"

--
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.
Reply all
Reply to author
Forward
0 new messages