discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Radio on Raspberry Pi 4?


From: Albin Stigö
Subject: Re: GNU Radio on Raspberry Pi 4?
Date: Thu, 17 Dec 2020 17:13:40 +0100

There's no special configuration. Just install dependencies and build from source. Put root on SSD or it will be very slow. Ubuntu 65bit is fine. In general GNURadio is hell to build and get dependencies right, but in the end it works well.

--Albin

On Thu, Dec 17, 2020, 16:37 Kristoff <kristoff@skypro.be> wrote:
Albin,


Can you share your configuration for this? Do you need to set up
something special?
Can you do this on standard ubuntu 64 bit (20.04LTS or 20.10) on a pi4b
or do you need another distro for this?


I read somewhere opengl on the pi4 has not been released yes as it has
the pi4 has a more recent GPU.
Or am I completely wrong?


73
kristoff - ON1ARF


On 17/12/2020 1:22 p.m., Albin Stigö wrote:
> I suspect a lot of the graphics could run perfectly fine if they took
> advantage of the gpu better. A lot of the current rendering in
> GNURadio (and GQRX) is very cpu bound.
>
> I had a spectrum and waterfall running easily at 60fps on a pi3 by
> using opengl properly. Using vulkan on pi4 the sky is the limit.
>
> --Albin
>
> On Thu, Dec 17, 2020, 13:18 Marcus Müller <mueller@kit.edu
> <mailto:mueller@kit.edu>> wrote:
>
>     Can't stress this enough. Running a 32 bit Linux on a RPi 4 would be
>     like running Windows 98 on a modern PC and expecting top performance
>     from the CPU. You're not making use of the CPU you have, you're only
>     making use of a legacy mode that it still supports.
>
>     Best regards,
>     Marcus
>
>     On 17.12.20 10:53, Albin Stigö wrote:
>     > 64bit mode is most likely better because in addition to being
>     64bit it
>     > enables additional cpu features (certain new instructions and
>     more SIMD
>     > NEON registers)
>     >
>     > On Thu, Dec 17, 2020, 10:36 jean-michel.friedt@femto-st.fr
>     <mailto:jean-michel.friedt@femto-st.fr>
>     > <mailto:jean-michel.friedt@femto-st.fr
>     <mailto:jean-michel.friedt@femto-st.fr>>
>     <jean-michel.friedt@femto-st.fr
>     <mailto:jean-michel.friedt@femto-st.fr>
>     > <mailto:jean-michel.friedt@femto-st.fr
>     <mailto:jean-michel.friedt@femto-st.fr>>> wrote:
>     >
>     >     The benchmark on volk/64 bit kernel v.s 32 bit Raspbian is at
>     > https://pubs.gnuradio.org/index.php/grcon/article/view/73/55
>     >     <https://pubs.gnuradio.org/index.php/grcon/article/view/73/55>
>     >     last page. I get 3 to 7-fold improvement by volk_config on a
>     dedicated
>     >     toolchain for 64-bit CPU.
>     >
>     >     JM
>     >
>     >     --
>     >     JM Friedt, FEMTO-ST Time & Frequency, 26 rue de l'Epitaphe,
>     25000
>     >     Besancon, France
>     >
>     >     December 17, 2020 10:28 AM, "Kristoff" <kristoff@skypro.be
>     <mailto:kristoff@skypro.be>
>     >     <mailto:kristoff@skypro.be <mailto:kristoff@skypro.be>>> wrote:
>     >
>     >     > HI all,
>     >     >
>     >     > I also have a RPi4 (*).
>     >     > Some follow-up question.
>     >     >
>     >     > What OS would be the best for this?
>     >     > Would running 64 bit make a difference?
>     >     >
>     >     > I don't know to what degree this is related, but I did a
>     test running
>     >     > WebGL (**) on that pi, and I got about 1/3 of the frames per
>     >     second on
>     >     > my RPi4 compared to my laptop (which only has a UHD
>     Graphics 630
>     >     Mobile,
>     >     > so not the  best or latest neither)
>     >     > Is the GPU in the Pi4 good enough to run many GUI elements
>     in GNU
>     >     Radio
>     >     > at the same time?
>     >     >
>     >     > Kr.
>     >     >
>     >     > (*) RPi4B 8 GB, 120 SSD
>     >     >
>     >     > (*) https://webglsamples.org <https://webglsamples.org>
>     >     >
>     >     > On 16/12/2020 11:10 p.m., Dan Romanchik KB6NU wrote:
>     >     >
>     >     >> Has anyone successfully run GNU Radio on a Pi 4? I
>     recently purchased
>     >     >> an RTL-SDR dongle and thought it would be fun to
>     experiment a little
>     >     >> with GNU Radio and learn something about SDR.
>     >     >>
>     >     >> A couple of days ago, I fired up GNU Radio, and after
>     having some
>     >     >> trouble figuring out how to get the audio sink to talk to
>     the Pi, I
>     >     >> downloaded VE6EY's FM receiver flow graph. The flow graph
>     runs, but
>     >     >> the Pi 4 just doesn't seem to have enough horsepower to
>     run it in
>     >     real
>     >     >> time. The audio is slow and distorted.
>     >     >>
>     >     >> Thinking that it might be the WX widgets slowing down the
>     program, I
>     >     >> first deleted the FFT display widgets, then converted the
>     WX slider
>     >     >> controls to QT range controls. Neither had any effect on
>     how well the
>     >     >> flow graph ran.
>     >     >>
>     >     >> GQRX and CubicSDDR seem to work just fine. At least with
>     both of
>     >     them,
>     >     >> I'm able to receive FM broadcast and NOAA weather
>     station. But, maybe
>     >     >> the PI4 just doesn't have enough horsepower to run GNU
>     Radio? If so,
>     >     >> that's kind of disappointing.
>     >     >>
>     >     >> 73! <—ham radio lingo for “best regards"
>     >     >>
>     >     >> *Dan KB6NU*
>     >     >> CW Geek, Ham Radio Instructor
>     >     >> Author of the "No Nonsense" amateur radio license study
>     guides
>     >     >> Read my ham radio blog at http://www.kb6nu.com
>     <http://www.kb6nu.com>
>     >
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]