sdrtrunk Update ...

290 views
Skip to first unread message

sdrtrunk

unread,
Mar 4, 2022, 8:53:20 AM3/4/22
to sdrtrunk
I merged a large changeset into the master branch that allows sdrtrunk to take advantage of SIMD vector capabilities of most modern CPUs.  There's a lot of efficiency enhancements and there's also a new DC (spike) removal for all tuners.  

I changed the Heterdyne channelizer implemetnation from using CIC filters to using Half-Band filters.

The first time you run sdrtrunk with these changes, you'll be promted to run some calibrations.  These will determine what is the best code to use for your computer and it takes about 8-9 minutes to complete.  I attached a screenshot of the calibration tab in the user preferences editor.

These changes will be in the next release, which should be coming out shortly.

cheers,
Denny


sdrtrunk_calibration_editor.png

hans...@gmail.com

unread,
Mar 4, 2022, 10:19:10 AM3/4/22
to sdrtrunk
Denny,
This looks like a lot of good stuff, however I'm unable to build after the latest merge due to a bunch of "package javafx.beans does not exist" errors.  I've tried to work around this but my brain isn't quite awake yet to fully understand!

Thanks,
Hans

sdrtrunk

unread,
Mar 4, 2022, 10:56:40 AM3/4/22
to sdrtrunk
Make sure you using either the Bellsoft Liberica 'Full' JDK or the Azul 'Full' JDK that includes the JavaFX libraries.

hans...@gmail.com

unread,
Mar 4, 2022, 11:37:43 AM3/4/22
to sdrtrunk
ARG!  JAVA_HOME was unset! 

Thanks.

wate...@gmail.com

unread,
Mar 5, 2022, 4:11:00 PM3/5/22
to sdrtrunk
I've got this compiled and running, but while doing the calibrations it is stuck on the "Airspy Unpacked Interleaved Iterator" calibration. At the moment that one calibration has been "running" for almost 20 minutes now. I let it run about 10 minutes before that and restarted SDRTrunk. Any ideas?
sdrtrunk-calibrate.PNG

Ron Webb

unread,
Mar 5, 2022, 5:02:30 PM3/5/22
to sdrtrunk
I am running Ubuntu 21.10 and originally had OpenJDK-17 installed. I saw Denny's message to with another JDK, so I install Bellsoft Liberica 'Full' JDK. I was still having issues. I had set the default Java to the new Bellsoft version but I was still getting errors. It wasn't until I completely uninstalled OpenJDK-17 and it gave me an error that it couldn't find the proper folder that I realized JAVA_HOME was set to a different version; I thought that bit was changed when I changed default Java versions. I guess I needed to type in 'echo $JAVA_HOME' to see how the JAVA_HOME was set. Once I set my JAVA_HOME to the Bellsoft Liberica 17 version, I was able to compile it.

Ron Webb

unread,
Mar 5, 2022, 5:32:42 PM3/5/22
to sdrtrunk
I too am having the same hang-up. Originally, it said there were 18 Calibrations to perform. It stalled out on the same "Airspy Unpacked Interleaved Iterator"/"AIRSPY UNPACKED INTERLEAVED WARMUP - SCALAR". I'm not sure what the number after this refers to but mine is 10425.6. I let it sit for a good 10 minutes before attempting to restart... which again starts over attempting to run the same calibration. 

Ron Webb

unread,
Mar 5, 2022, 7:49:24 PM3/5/22
to sdrtrunk
I'm thinking there is something drastically wrong... I just came back after over two hours and it is still trying that same calibration.

hans...@gmail.com

unread,
Mar 6, 2022, 8:08:15 AM3/6/22
to sdrtrunk
Make sure that you keep the JAVA_HOME variable set when launching the program as well or you'll end up with similar errors as when compiling.

Ron Webb

unread,
Mar 6, 2022, 12:29:30 PM3/6/22
to sdrtrunk
I just checked on my system this morning, about 2 hours ago, it was still stuck on the same calibration. I had to leave for work at the time. I finally logged in (remotely) and low-and-behold, ALL of the calibrations are complete... it only took about 20 hours or so for it to complete. 

wate...@gmail.com

unread,
Mar 13, 2022, 10:20:48 AM3/13/22
to sdrtrunk
Just pulled and compiled from commit 90bc321, everything seems to be working fine so far. Thanks Denny!
Reply all
Reply to author
Forward
0 new messages