gqrx 2.4 crash when demodulating

193 views
Skip to first unread message

loic.v...@gmail.com

unread,
Dec 31, 2015, 5:48:42 PM12/31/15
to Gqrx SDR
hello everybody.
i have installed gqrx this afternoon, and i want to made a try. i started it with the dongle (in console mode), i started the analysis and obtained a nice spectrum and waterfall. But as soon as i wanted to demodulate the signal, it crash without any warning, and the console with it. Did anyone have an idea how to fix the problem? thanks . loic vannier HB9EID
informations:
raspberry pi model2 version B with raspbian.
console informations when started:

linux; GNU C++ version 4.9.1; Boost_105500; UHD_003.007.003-0-unknown

gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy 
Using Volk machine: neon_hardfp_orc
 *** alpha: 0.242535
gr::log :INFO: audio source - Audio sink arch: alsa
BookmarksFile is /home/pi/.config/gqrx/bookmarks.csv
gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy 
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner

loic.v...@gmail.com

unread,
Jan 1, 2016, 4:21:06 AM1/1/16
to Gqrx SDR
I was going further in order to try to debug my problem: hereafter is the complete crash code. it seems to be caused by a variable from the sound management ALSA. I use the default sound output from my raspberry (bcm2835 ALSA (Alsa mixer). thanks in advance for any help.

gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy 
gr::log :INFO: audio source - Audio sink arch: alsa
gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy 
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
gr::log :ERROR: audio_alsa_sink0 - [default]: snd_pcm_sw_params: Invalid argument
terminate called after throwing an instance of 'std::runtime_error'
  what():  audio_alsa_sink
Aborted

Alexandru Csete

unread,
Jan 1, 2016, 6:19:28 AM1/1/16
to gq...@googlegroups.com
On Fri, Jan 1, 2016 at 10:21 AM, <loic.v...@gmail.com> wrote:
> I was going further in order to try to debug my problem: hereafter is the
> complete crash code. it seems to be caused by a variable from the sound
> management ALSA. I use the default sound output from my raspberry (bcm2835
> ALSA (Alsa mixer). thanks in advance for any help.

Hi,

Gqrx uses pulseaudio for audio output, so I suppose you have done
something to use the alternate gr-audio output? If yes what?

Also, which version of gqrx are you using? You should try the latest
snapshot from the git repository since there has been a patch that
helps building gqrx with gr-audio support.

Your gnuradio is also quite old. Since gr-audio is a gnuradio block it
may help upgrading to 3.7.8.

Finally, it is somehow unlikely that running gqrx on a raspberry pi
will ever be a pleasant experience, even if you get it working.

Alex

Alexandru Csete

unread,
Jan 1, 2016, 6:22:09 AM1/1/16
to gq...@googlegroups.com
On Fri, Jan 1, 2016 at 10:21 AM, <loic.v...@gmail.com> wrote:
> gr::log :ERROR: audio_alsa_sink0 - [default]: snd_pcm_sw_params: Invalid
> argument
> terminate called after throwing an instance of 'std::runtime_error'
> what(): audio_alsa_sink
> Aborted

By the way, this could mean that the output device name is wrong or
non existing.

Alex

loic.v...@gmail.com

unread,
Jan 1, 2016, 11:16:06 AM1/1/16
to Gqrx SDR
ok
it work when installing pulseaudio and all the stuff:

sudo apt get install pulseaudio

sudo apt get install pavucontrol (probably not necessary)

sudo apt get install libpulse-dev

and, finally, gqrx work on raspberry (after 1 minute of awfull sound, with a cpu consumption up to 90%).
after that, it work good on wide fm with a cpu consumption of 60%.

thanks for your help, and happy new year.

jmly...@gmail.com

unread,
Jan 3, 2016, 1:13:56 PM1/3/16
to Gqrx SDR
Pulseaudio Volume Control is needed to feed audio to other packages like Fldigi.

James
Reply all
Reply to author
Forward
0 new messages