Hi Samuel,
just copied your reply below.
I'm not sure the audio is the issue, portaudio always produces a list of warnings as it tries to find every audio device.
A full back trace of the exception from gdb would be interesting
The missing libsdrplay is fine if you don't have an sdrplay radio, if you do is there a different version from /usr/local/lib/libsdrplay_api.so.3.07 installed? I should probably improve the search for the library.
73 Alan M0NNB
Hi Malcom & Alan,
from my understanding, this issue is related to the audio configuration of the Pi5: the Pi5 doesn't provide a speaker / audio port...
I'm facing probably the same issue:
- I tried SparkSDR under windows without problem (with an HL2)
- under Raspbian on a Pi5, I'm able to connect, but the waterfall is not displayed. I have the same issue when running PiHPSDR.
I haver similar starting / initialization issues:
starting
use egl True use gpu True
ALSA lib pcm_asym.c:105:(_snd_pcm_asym_open) capture slave is not defined
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.front.0:CARD=0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.surround51.0:CARD=0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
In debug, I also have the segfault with 2.0.975 when connecting to the HL2:
Thread 1 "SparkSDR" received signal SIGSEGV, Segmentation fault.
0x000055554f3b66e4 in ?? ()
the core log file:
[2024-03-28 15:07:16.712] [sc] [info] AudioProvider::enumerate 6
[2024-03-28 15:07:16.712] [sc] [info] Pa op format not supported 0 vc4-hdmi-0: MAI PCM i2s-hifi-0 (hw:0,0) Sample format not supported
[2024-03-28 15:07:16.721] [sc] [info] Pa op format supported 1 USB Audio Device: - (hw:2,0)
[2024-03-28 15:07:16.729] [sc] [info] Pa ip format supported 1 USB Audio Device: - (hw:2,0)
[2024-03-28 15:07:16.730] [sc] [info] Pa op format supported 2 sysdefault
[2024-03-28 15:07:16.731] [sc] [info] Pa op format supported 3 hdmi
[2024-03-28 15:07:16.749] [sc] [info] Pa op format supported 4 pulse
[2024-03-28 15:07:16.907] [sc] [info] Pa ip format supported 4 pulse
[2024-03-28 15:07:16.929] [sc] [info] Pa op format supported 5 default
[2024-03-28 15:07:16.957] [sc] [info] Pa ip format supported 5 default
[2024-03-28 15:07:16.983] [sc] [info] sdrplay dll not found /usr/local/lib/libsdrplay_api.so.3.07
[2024-03-28 15:07:20.259] [sc] [info] set op stream id 0 0
[2024-03-28 15:07:20.259] [sc] [info] set inp stream id 0 0
[2024-03-28 15:07:20.325] [sc] [info] set op stream id 0 0
[2024-03-28 15:07:20.326] [sc] [info] set op stream id 3 0
[2024-03-28 15:07:20.326] [sc] [info] set inp stream id 3 0
[2024-03-28 15:07:20.326] [sc] [info] pa_start op 3
[2024-03-28 15:07:20.328] [sc] [info] pa_startstream output worked 3
[2024-03-28 15:07:20.328] [sc] [info] pa_start inp 5
I didn't investigate how to solve it till now, due to lack of time :-( -> but it seems that at least the libsdrplay is missing.
73, Samuel