New API, new SoapySDRPlay and Ubuntu

General discussions
Post Reply
IW2DHW
Posts: 59
Joined: Wed Sep 23, 2015 7:33 pm

New API, new SoapySDRPlay and Ubuntu

Post by IW2DHW » Sun Aug 14, 2016 8:33 pm

I have done some test with new API and new version of SoapySDRPlay and CubicSDR, using my current Ubuntu 14.04 and my test Ubuntu 16.04.1
All test done on my desktop PC, previously running CubicSDR without any problem.

On Ubuntu 14.04/64 bit.

New API is working but new version of SoapySDRPlay is fault. After downloading and recompiling all software, I get this results:

SoapySDRUtil --find
show Audio and SDRPlay

SoapySDRUtil --probe
show only Audio (first device)

CubicSDR freeze on loading SoapySDR modules

API/ABI version and available factory are all correct.
So now I am without CubicSDR on Ubuntu 14.04

On Ubuntu 16.04.1/64 bit.

Apparently all is working:

SoapySDRUtil --find
show Audio and SDRPlay

SoapySDRUtil --probe
show Audio and SDRPlay

CubicSDR find SDRPlay and run it but audio spectrum is too fast and I get random "silence holes" in audio output
This evening in 30' of VOA Radiogram reception, I get this log on starting window:

Code: Select all

spin@franco:~$ CubicSDR
Loading:: configuration file '/home/spin/.CubicSDR/config.xml'

Audio Device #0 PulseAudio
	Default Output? Yes
	Default Input? Yes
	Input channels: 2
	Output channels: 2
	Duplex channels: 2
	Native formats:
		16-bit signed integer.
		32-bit signed integer.
		32-bit float normalized between plus/minus 1.0.
	Supported sample rates:
		8000hz
		16000hz
		22050hz
		32000hz
		44100hz
		48000hz
		96000hz

Available vertical sync SwapInterval functions: 
	glxSwapIntervalEXT: No
	DRI2SwapInterval: No
	glxSwapIntervalMESA: No
	glxSwapIntervalSGI: No
No vertical sync swap interval functions available.
Loaded font 'Bitstream Vera Sans Mono' from '/usr/local/share/cubicsdr/fonts/vera_sans_mono12_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/usr/local/share/cubicsdr/fonts/vera_sans_mono16_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/usr/local/share/cubicsdr/fonts/vera_sans_mono18_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/usr/local/share/cubicsdr/fonts/vera_sans_mono24_0.png', parsed 255 characters.
Loaded font 'Bitstream Vera Sans Mono' from '/usr/local/share/cubicsdr/fonts/vera_sans_mono27_0.png', parsed 255 characters.
SDR enumerator starting.
SoapySDR init..
	API Version: v0.5.1
	ABI Version: v0.5-2
	Install root: /usr/local
	Loading modules... 
	Available factories...null, rtlsdr, sdrplay
  driver = sdrplay
  label = SDRPlay RSP
Make device 0
  mir_sdr_version=1,950000


Reporting enumeration complete.
SDR enumerator done.
SDR thread starting.
device init()
[INFO] Using format CF32.
Stream MTU: 68292
starting readLoop()

Audio Device #0 PulseAudio
	Default Output? Yes
	Default Input? Yes
	Input channels: 2
	Output channels: 2
	Duplex channels: 2
	Native formats:
		16-bit signed integer.
		32-bit signed integer.
		32-bit float normalized between plus/minus 1.0.
	Supported sample rates:
		8000hz
		16000hz
		22050hz
		32000hz
		44100hz
		48000hz
		96000hz

[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
[CRITICAL] ds_mir_sdr_ReadPacket() error: 1
Terminating SDR thread..
readLoop() ended.
device deinit()
SDR thread done.
Terminating SDR post-processing thread..
Terminating All Demodulators..
Terminating Visual Processor threads..
Each silence time correspond to a "[CRITICAL] ds_mir_sdr_ReadPacket() error: 1"

As example I attach an image received from VOA, with "hole" on audio reception

Can anyone confirm this problem?

Regards
Franco Spinelli
IW2DHW
Attachments
pic_2016-08-14_193856z.png
pic_2016-08-14_193856z.png (86.33 KiB) Viewed 12114 times
Last edited by IW2DHW on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

DK7OB
Posts: 79
Joined: Thu Mar 24, 2016 7:14 am

Re: New API, new SoapySDRPlay and Ubuntu

Post by DK7OB » Mon Aug 15, 2016 6:38 am

Franco,

where did you find the new soapysdrplay? Is it the one with the transfer mode patch or is it already ported to the new API?

Regards,
Wolf, DK7OB
Last edited by DK7OB on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

IW2DHW
Posts: 59
Joined: Wed Sep 23, 2015 7:33 pm

Re: New API, new SoapySDRPlay and Ubuntu

Post by IW2DHW » Mon Aug 15, 2016 10:10 am

DK7OB wrote:Franco,

where did you find the new soapysdrplay? Is it the one with the transfer mode patch or is it already ported to the new API?
I use new version obtained from GIT with "git pull" from SoapySDRPlay repo.
From commit log I get:
Fix for Ubuntu 16.04 hang
According: viewtopic.php?f=5&t=726&e=1&view=unread#p3344
Regards
Franco Spinelli
IW2DHW
Last edited by IW2DHW on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

DK7OB
Posts: 79
Joined: Thu Mar 24, 2016 7:14 am

Re: New API, new SoapySDRPlay and Ubuntu

Post by DK7OB » Mon Aug 15, 2016 7:03 pm

Thanks Franco, that's the version I am running too.

I added support for the ppm correction so I can now match gqrx frequency with my TS590SG.
Last edited by DK7OB on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason

Post Reply