Gqrx won't launch on linux mint21?

464 views
Skip to first unread message

Edmund Schwab

unread,
Aug 12, 2023, 9:55:35 PM8/12/23
to Gqrx SDR
Gqrx won't launch on linux mint21 what am I missing

Richard Bown

unread,
Aug 13, 2023, 5:39:09 AM8/13/23
to gq...@googlegroups.com
I'm using it on Linux Mint 21.2 without problems , strange 
Richard

On Sat, 2023-08-12 at 18:55 -0700, Edmund Schwab wrote:
Gqrx won't launch on linux mint21 what am I missing

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/gqrx/18a54d58-276d-483d-bddc-e8bcd7a38c12n%40googlegroups.com.

Edmund Schwab

unread,
Aug 13, 2023, 11:06:44 AM8/13/23
to Gqrx SDR

I've tried everything upgrading updating you name it uninstalling reinstalling and nothing I have it working on Linux 19 on my other computer no problem something's obviously missing that will not allow it to Launch that's why I'm on this chat hoping that somebody can answer can't seem to find anything on the interweb that would point me to the problem a buddy ham is also having the same difficulty where it won't launch

Richard Bown

unread,
Aug 13, 2023, 11:30:33 AM8/13/23
to gq...@googlegroups.com
did you install gqrx using git ???
and do a "make install"

if so 
look in the git directory you made  for an icon like a multicoloured fan called   ~/gqrx.git/dk.gqrx.gqrx.desktop
double click on it and see what starts 

HTH
Richard

Charlie Hotel

unread,
Aug 13, 2023, 11:38:23 AM8/13/23
to gq...@googlegroups.com
Hi,
Have you tried:
—> gqrx -r 
(To bypass the config file and select another device)
Or even 
—> sudo gqrx -r
In case there is a permission issue with some file or port…
And look at what thé console tells you if any when you launch gqrx from it

These steps have helped me figure out what’s wrong in the past…
Cheers
Bernard F1EVY 

Le 13 août 2023 à 17:06, Edmund Schwab <edmunds...@gmail.com> a écrit :



Tate Belden

unread,
Aug 13, 2023, 1:07:51 PM8/13/23
to gq...@googlegroups.com
Open a terminal window

Launch GQRX from the terminal

When it fails, what does the error say?



--
Tate Belden

"We do not become enlightened by imagining figures of light, but by making the darkness conscious."

Edmund Schwab

unread,
Aug 14, 2023, 2:53:44 PM8/14/23
to Gqrx SDR


After much round and round I have figured out that it's a problem with the hardware the CPU being an AMD is dumping the program the response I get on the terminal is illegal instruction core dumped so I'm assuming that the CPU cannot handle this app

Edmund Schwab

unread,
Aug 14, 2023, 2:54:30 PM8/14/23
to Gqrx SDR

After much round and round I have figured out that it's a problem with the hardware the CPU being an AMD is dumping the program the response I get on the terminal is illegal instruction core dumped so I'm assuming that the CPU cannot handle this app


Chris Vine

unread,
Aug 14, 2023, 3:08:28 PM8/14/23
to Gqrx SDR
If you a getting an illegal instruction, it is more likely that you have installed packages for the wrong architecture (arm instead of x86 or x86_64, x86 instead of x86_64 (or vice versa), and so on.

Richard Bown

unread,
Aug 14, 2023, 5:13:56 PM8/14/23
to gq...@googlegroups.com



I very much doubt it as it runs well on a Ryzen 5 CPU   that  is an AMD  CPU

Rather than blame the CPU have you tried  my suggestion, 
Upgrade the Linux Mint to 21.2, its a simple upgrade

You can start it from the Update Manager, then double click on the icon in the git directory to start gqrx
it works on all 3 of my computers running linux mint 21.2

Without clear information from you , its very difficult to "guess" what you are doing 

73 Richard
--
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.

Edmund Schwab

unread,
Aug 14, 2023, 7:11:41 PM8/14/23
to Gqrx SDR

I'm trying to load this into a Samsung laptop np275ese I did what you suggested and upgraded to 21.2 with no success it still gives me illegal instruction (core dumped) in the terminal by the way I installed gqrx from the terminal I'm not familiar with Git I'm old school sorry about that I'm not up on some of these terms I do appreciate all the help you guys are trying to give me it's a little out of my wheelhouse but I try I love Linux appreciate the help

righthal...@gmail.com

unread,
Aug 15, 2023, 12:03:52 AM8/15/23
to Gqrx SDR
As was said before - if you show the terminal output when you type "gqrx -r", someone might be able the help you - many things can cause an illegal instruction.

Richard Bown

unread,
Aug 15, 2023, 5:16:11 AM8/15/23
to gq...@googlegroups.com
Try the following,

sudo apt install  mlocate

sudo updatedb

locate gqrx | less

The latter will produce a long list, using "less" will allow you to scroll up and down through the list.
find the executable 
it will be in either /bin or /sbin or /usr/local/bin, maybe even in /usr/bin

when you find it look at the permissions

ie ,  ls -ls    /usr/local/bin/gqrx

on mine it gives
richard@richard-Inspiron-3580:~$ ls -ls /usr/local/bin/gqrx
2464 -rwxr-xr-x 1 root root 2519120 Jul 30 18:12 /usr/local/bin/gqrx

and runing from the terminal  (CLI) gives 
richard@richard-Inspiron-3580:~$ /usr/local/bin/gqrx
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.1.1
built-in source types: file fcd rtl_tcp rfspace soapy redpitaya
file_source :warning: file size is not a multiple of item size
rx_nb_cc :info: set_min_output_buffer on block 12 to 32768
Resampling audio 96000 -> 48000
BandPlanFile is /home/richard/.config/gqrx/bandplan.csv
BookmarksFile is /home/richard/.config/gqrx/bookmarks.csv
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.1.1
built-in source types: file fcd rtl_tcp rfspace soapy redpitaya
[ERROR] no sdrplay device matches
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.1.1
built-in source types: file fcd rtl_tcp rfspace soapy redpitaya
file_source :warning: file size is not a multiple of item size
WARNING: Overriding original sample rate of 96000 with 2e+06

and it fails on mine as no device plugged in to the USB port

It does require the device you are using to be connected at start up to work straight away

I install using git, git can be installed with ,
sudo apt install git

that downloads the souce code from github ab its an easy compile
It has the advantage that if a dependent file is missing it will tell you what is missing , so you install the file , usually a lib, and restart the build
VERY USEFUL learning process.
Here is part of the README file supplied with the source code



Installation from source
------------------------

The source code is hosted on Github: https://github.com/gqrx-sdr/gqrx

To compile gqrx from source you need the following dependencies:
- GNU Radio 3.8, 3.9, or 3.10 with the following components:
- gnuradio-runtime
- gnuradio-analog
- gnuradio-audio
- gnuradio-blocks
- gnuradio-digital
- gnuradio-fft
- gnuradio-filter
- gnuradio-network (GNU Radio 3.10 only)
- gnuradio-pmt
- The gr-iqbalance library (optional)
- Drivers for the hardware you want to have support for:
- Funcube Dongle Pro driver via gr-fcd
- UHD driver via gr-uhd
- Funcube Dongle Pro+ driver from https://github.com/dl1ksv/gr-fcdproplus
- RFSpace driver is built in
- pulseaudio or portaudio (Linux-only and optional)
- Qt 5 or Qt 6 with the following components:
- Core
- GUI
- Network
- Widgets
- Svg (runtime-only)
- cmake version >= 3.2.0

Gqrx can be compiled from within Qt Creator or in a terminal:

For command line builds:
<pre>
$ cd gqrx.git
$ mkdir build
$ cd build
$ cmake ..
$ make
</pre>
On some systems, the default cmake release builds are "over-optimized" and
perform poorly. In that case try forcing -O2 using
<pre>
export CXXFLAGS=-O2
</pre>
before the cmake step.



Hope that help you,   

Edmund Schwab

unread,
Aug 19, 2023, 11:29:38 AM8/19/23
to Gqrx SDR

I have Linux 12.2 on a Samsung with an AMD CPU Gqrx will not run on it tells me I have an illegal instruction dump core however I install 19.3 mint on the same machine and gqrx will run perfectly fine so 12/2 has an issue if I had a guess it does not have the right drivers for this machine or just not set up to run with this particular CPU for what ever reason I've read the CPU still can be an issue depending on the config of the operating system,

Quote” What does Illegal instruction core dumped mean?

This error message indicates that the program encountered an instruction that is not supported by the CPU, leading to a segmentation fault and termination of the program. This error message can be frustrating and difficult to debug, as it can be caused by a

Adrian Musceac

unread,
Aug 19, 2023, 12:25:08 PM8/19/23
to gq...@googlegroups.com
This is a common problem for all Ubuntu derived packages it seems. IIRC  it's an option enabled for libuhd which is not supported on x86_64 arch. Recompiling UHD from scratch should solve it.

See https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/2009635

Richard Bown

unread,
Aug 19, 2023, 5:15:41 PM8/19/23
to gq...@googlegroups.com
This is why I keep saying build from source code so its using the libs supplied with the distribution.
glib has changed since LM19.2 so has a lot of other libs
This is not like windows where the software comes complete with actions to wipe your bum
Richard


On Sat, 2023-08-19 at 16:25 +0000, Adrian Musceac wrote:
This is a common problem for all Ubuntu derived packages it seems. IIRC  it's an option enabled for libuhd which is not supported on x86_64 arch. Recompiling UHD from scratch should solve it.

See https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/2009635


On 19 August 2023 15:29:38 UTC, Edmund Schwab <edmunds...@gmail.com> wrote:

I have Linux12.2 on aSamsung with an AMD CPU Gqrxwill not run on it tells me I have an illegal instruction dump core however I install 19.3 minton the same machine and gqrx will run perfectly fine so 12/2 has an issue if I had a guess itdoes not have the right drivers for this machine or just not set up to run with this particular CPU forwhat ever reasonI've read the CPU still can be an issue depending on the config of the operating system,

--
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