Pluto is broken for latest code from GitHub

41 views
Skip to first unread message

Philip Johnson

unread,
Jul 17, 2021, 2:13:23 PM7/17/21
to SdrGlut Users

I built from the latest code on GitHub.  My Pluto no longer works, sdrplay is ok.
This is what I see.

Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513612
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513613
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513614
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513615
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513616
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513617
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513618
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513619
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513620
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513621
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513622
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513623
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513624
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513625
Device plutosdr ret=0, flags=0, timeNs=1 b0 0.000000 b1 0.000000 witch 513626


Philip Johnson

unread,
Jul 17, 2021, 2:39:03 PM7/17/21
to SdrGlut Users


Version 1.24 still works great.

Dale Ranta

unread,
Jul 17, 2021, 11:53:11 PM7/17/21
to SdrGlut Users
If this is on windows, I built Version 1.24 using the -

PothosSDR-2021.05.01-vc16-x64.exe

other versions may have a problem.

Dale Ranta

unread,
Jul 17, 2021, 11:59:22 PM7/17/21
to SdrGlut Users
I have been making a lot of changes to SdrGlut the last few days - I just cleaned up a few problems - so you better get the latest version.

Philip Johnson

unread,
Jul 18, 2021, 10:59:24 AM7/18/21
to SdrGlut Users
Just pulled and built the latest version from GitHub.  The hardware is a Raspberry pi4 running Ubuntu. The problem remains, SDRPlay RSPA1 works fine, Pluto barfs.  Version 1.24 built from source works fine.

Dale Ranta

unread,
Jul 18, 2021, 2:57:12 PM7/18/21
to SdrGlut Users
Are you saying that you can run version 1.24 and everything is Ok, but when you try the latest version it generates the error messages. After it fails, does it work of you go back to version 1.24.

When it generates those error message, you can usually clean it up by right clicking and open the "SDR Dialog..." In the SDR Dialog, hit the "Apply" button to reset things - this works 9 out of 10 time.

I have never run Ubuntu on the PI - which versions are you using ?

If that does not, you will have put in some code to get additional information about the error.

Dale Ranta

unread,
Jul 18, 2021, 3:12:53 PM7/18/21
to SdrGlut Users
Another thought came up - right click and try all of the SampleRates in the list - sometimes they do not all work.

Philip Johnson

unread,
Jul 18, 2021, 4:43:56 PM7/18/21
to SdrGlut Users
This might be a clue. the 1.24 version prinst this at start up.
StreamFormats 0 CS8
StreamFormats 1 CS12
StreamFormats 2 CS16
StreamFormats 3 CF32
rx->biasMode ''
playRadio frequency 1e+08 channel 0
Device plutosdr samplerate 1999999 rx->size 200000 Bandwidth 1000000
ProcessSound start

The new code prints this.
StreamFormats 1 CS12
StreamFormats 2 CS16
StreamFormats 3 CF32
rx->biasMode ''
MTU 0
playRadio frequency 1e+08 channel 0
Device plutosdr samplerate 3999999 rx->size 400000 Bandwidth 1000000

So samplerate, x->size and Bandwidth got changed.  Also where did MTU 0 come from.

Philip Johnson

unread,
Jul 18, 2021, 5:15:31 PM7/18/21
to SdrGlut Users
I discoverd that if I change line 1725 in RaceFastsdr.cpp back to

                if(iread > 500000)iread=500000;

Things work again.

Philip Johnson

unread,
Jul 18, 2021, 5:19:26 PM7/18/21
to SdrGlut Users
My sdrplay works fine with this change also.

Philip Johnson

unread,
Jul 18, 2021, 9:23:56 PM7/18/21
to SdrGlut Users
After some poking aroud, This is what I think you need.

if(rx->MTU > 0 && iread > rx->MTU) iread=rx->MTU;

Dale Ranta

unread,
Jul 18, 2021, 10:44:24 PM7/18/21
to SdrGlut Users
The MTU was something for the icr8600. it turned out that it did not work anyway. MTU is something that according to the documentation should never be zero - I knew - it was dumb trust them and I almost put in what you suggested.

Dale Ranta

unread,
Jul 19, 2021, 12:01:40 AM7/19/21
to SdrGlut Users
SoapyRemote uses the MTU a lot which means will not work with the Pluto - unless they just make up a value to use.
Reply all
Reply to author
Forward
0 new messages