Any one running any SDR solutions
The CPU intensive part of a GUI SDR program is the GUI itself, all the redrawing that the CPU is doing.  Find a way to turn that off, since you don't need it once you get a signal tuned in, or use the GPU to do that, or use rtl_fm.  I've been fiddling with trying to write one for a couple years, using librtlsdr to deal with the USB and dongle.  I've done the graphics at least 3 different ways and it's always the bottleneck.

Debian Buster (and later) has Cubic SDR in the debs, just click on it in Synaptic and it installs and works.  Both that and GQRX have tons of dependencies and neither is as efficient as it could be.

This is from 2014 by a Peter Onion  It's an SDR program of his running on a Raspberry Pi.  The graphics are done in OpenGL ES where the waterfall is actually a rotating texture.  It's not a full-fledged SDR program because it's just a panadapter that's showing the IF (Intermediate Frequency) output of some other radio.  I don't know what ever happened to it.   Notice there aren't widgets like text, frequencies, pointers.  I think you'd need to put the spectrum and waterfall into a window and put widgets around it.  The OpenGL ES would be rendering directly to the framebuffer and using the full screen, something like GLFW would make it more manageable.

Using OpenGL ES for this is kind of backwards and not very efficient but it sort of works.  It would probably be better to do it in Vulkan.  2 - 30 times per second you get a bufferfull of data which you need to scale and plot as the spectrum at the top.  Then with that same data you convert peak heights to colors and draw one line.  The waterfall is just copying that line down 1 pixel for each batch of data.  The GPU has at least dozens of processors that could be handling that.

Messages In This Thread
Any one running any SDR solutions - by oxoocoffee - 02-15-2020, 09:10 AM
RE: Any one running any SDR solutions - by ab1jx - 02-16-2020, 09:30 AM
RE: Any one running any SDR solutions - by ab1jx - 02-26-2020, 06:07 PM
RE: Any one running any SDR solutions - by ab1jx - 03-04-2020, 12:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro freezes when running on battery petaramesh 5 215 09-22-2022, 12:43 AM
Last Post: petaramesh
  Linus Torvalds using M2 Macbook Air running Linux orbital 17 888 09-09-2022, 03:57 PM
Last Post: orbital
  Running Libgdx sdk on pinebookpro Nick_dnepr 2 2,185 10-02-2020, 07:56 AM
Last Post: Nick_dnepr
  PBP running shipping Manjaro won't wake from suspend fornio 2 3,135 07-21-2020, 07:04 AM
Last Post: vancheese
  Pinebook Pro seems to "seize up" after running any OS... rick1959 5 4,970 06-14-2020, 07:33 PM
Last Post: rick1959
  Screen burn in after running for a few min Flapjack 2 3,061 06-13-2020, 06:39 AM
Last Post: matosys
  PBR running hot brzegorz 10 7,821 01-22-2020, 02:55 PM
Last Post: wrzomar

Forum Jump:

Users browsing this thread: 1 Guest(s)