Re: GNU Radio on Raspberry Pi 4?

2020-12-18 Thread Franco VENTURI
Gisle,
I just ran these commands here (I am on Fedora Linux version 33), and I didn't 
receive any error or warning:

git clone https://github.com/fventuri/gr-sdrplay.git
cd gr-sdrplay/
git checkout API3+RSPduo

This said, I don't think this thread called "GNU Radio on Raspberry Pi 4?" is 
the right place to further discuss build problems with the gr-sdrplay OOT 
module (besides the words 'MSVC building' make me think you are probably not 
using a Raspberry Pi), so I suggest creating a new issue about those here: 
https://github.com/fventuri/gr-sdrplay/issues

Franco


> On 12/18/2020 4:34 AM Gisle Vanem  wrote:
> 
>  
> Franco VENTURI wrote:
> 
> > if you are interested in using SDRplay API version 3.X (I think the latest 
> > version of their API is 3.07), and you are on GNU Radio 3.7, you may want 
> > to take a look at the gr-sdrplay GNU Radio OOT module I modified to work 
> > with SDRplay API version 3.X: 
> > https://github.com/fventuri/gr-sdrplay/tree/API3+RSPduo (notice the 
> > non-default branch name: 'API3+RSPduo').
> 
> I tried your 'master' branch. No problem building that.
> But I have problems with the 'API3+RSPduo' branch:
> 
> git checkout API3+RSPduo
> error: pathspec 'API3+RSPduo' did not match any file(s) known to git.
> 
> What??
> 
> Besides there are *many* warning '4250' in MSVC building
> this module:
>rsp1a_impl.h(33): warning C4250: 'gr::sdrplay3::rsp1a_impl':
>inherits 'gr::sdrplay3::rsp_impl::gr::sdrplay3::rsp_impl::start'
>via dominance
> 
> etc.



Re: GNU Radio on Raspberry Pi 4?

2020-12-18 Thread Gisle Vanem

Franco VENTURI wrote:


if you are interested in using SDRplay API version 3.X (I think the latest 
version of their API is 3.07), and you are on GNU Radio 3.7, you may want to 
take a look at the gr-sdrplay GNU Radio OOT module I modified to work with 
SDRplay API version 3.X: 
https://github.com/fventuri/gr-sdrplay/tree/API3+RSPduo (notice the non-default 
branch name: 'API3+RSPduo').


I tried your 'master' branch. No problem building that.
But I have problems with the 'API3+RSPduo' branch:

git checkout API3+RSPduo
error: pathspec 'API3+RSPduo' did not match any file(s) known to git.

What??

Besides there are *many* warning '4250' in MSVC building
this module:
  rsp1a_impl.h(33): warning C4250: 'gr::sdrplay3::rsp1a_impl':
  inherits 'gr::sdrplay3::rsp_impl::gr::sdrplay3::rsp_impl::start'
  via dominance

etc.



Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Glen Langston
Dear Franco,

Thanks for your efforts,  I’ll try your version ASAP.

Best regards

Glen


> On Dec 17, 2020, at 8:33 PM, Franco VENTURI  wrote:
> 
> Glen,
> if you are interested in using SDRplay API version 3.X (I think the latest 
> version of their API is 3.07), and you are on GNU Radio 3.7, you may want to 
> take a look at the gr-sdrplay GNU Radio OOT module I modified to work with 
> SDRplay API version 3.X: 
> https://github.com/fventuri/gr-sdrplay/tree/API3+RSPduo (notice the 
> non-default branch name: 'API3+RSPduo').
> 
> If instead you are on GNU Radio 3.9/master, I rewrote that OOT module from 
> scratch, called it 'gr-sdrplay3', and you'll find it here: 
> https://github.com/fventuri/gr-sdrplay3
> 
> Let me know if you have problems building or running those modules (possibly 
> by creating a new issue in GitHub to avoid hijacking this thread).
> 
> Franco
> 
> 
>> On 12/17/2020 1:34 PM Glen Langston  wrote:
>> 
>> 
>> Concerning Full Raspberry Pi OS software installed on a single Raspberry Pi 
>> image,
>> we’re encouraging high schools to use this installation document.
>> https://docs.google.com/document/d/1hfS7cRx3emlZz0sTs583zN8o-35nKtIej6BYMKCJLXY/edit?usp=sharing
>> 
>> The document includes the links to the OS and hardware to purchase.
>> 
>> Unfortunately this is a 3.7.13.4 Gnuradio release, as we’ve not had the 
>> strength
>> to get the SDRPlay software support working for newer gnuradio Releases.
>> 
>> Best regards, 
>> 
>> Glen
>> 
>>> On Dec 17, 2020, at 12:03 PM, Kyeong Su Shin  wrote:
>>> 
>>> To whom it may concern:
>>> 
>>> Just a tip: If you are building GNU Radio from the source, dependencies and 
>>> build procedures for Raspberry Pi is available at the GNU Radio Wiki. It 
>>> assumes that you are doing on-board compile.
>>> 
>>> See: https://wiki.gnuradio.org/index.php/InstallingGR#From_Source
>>> 
>>> 
>>> Regards,
>>> Kyeong Su Shin
>>> 보낸 사람: Albin Stigö  대신 Discuss-gnuradio 
>>> 
>>> 보낸 날짜: 2020년 12월 18일 금요일 오전 1:13
>>> 받는 사람: Kristoff ; GNURadio Discussion List 
>>> 
>>> 제목: Re: GNU Radio on Raspberry Pi 4?
>>> 
>>> 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  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 >>> <mailto:muel...@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.fri...@femto-st.fr
>>>><mailto:jean-mic

Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Franco VENTURI
Glen,
if you are interested in using SDRplay API version 3.X (I think the latest 
version of their API is 3.07), and you are on GNU Radio 3.7, you may want to 
take a look at the gr-sdrplay GNU Radio OOT module I modified to work with 
SDRplay API version 3.X: 
https://github.com/fventuri/gr-sdrplay/tree/API3+RSPduo (notice the non-default 
branch name: 'API3+RSPduo').

If instead you are on GNU Radio 3.9/master, I rewrote that OOT module from 
scratch, called it 'gr-sdrplay3', and you'll find it here: 
https://github.com/fventuri/gr-sdrplay3

Let me know if you have problems building or running those modules (possibly by 
creating a new issue in GitHub to avoid hijacking this thread).

Franco
 

> On 12/17/2020 1:34 PM Glen Langston  wrote:
> 
>  
> Concerning Full Raspberry Pi OS software installed on a single Raspberry Pi 
> image,
> we’re encouraging high schools to use this installation document.
> https://docs.google.com/document/d/1hfS7cRx3emlZz0sTs583zN8o-35nKtIej6BYMKCJLXY/edit?usp=sharing
> 
> The document includes the links to the OS and hardware to purchase.
> 
> Unfortunately this is a 3.7.13.4 Gnuradio release, as we’ve not had the 
> strength
> to get the SDRPlay software support working for newer gnuradio Releases.
> 
> Best regards, 
> 
> Glen
> 
> > On Dec 17, 2020, at 12:03 PM, Kyeong Su Shin  wrote:
> > 
> > To whom it may concern:
> > 
> > Just a tip: If you are building GNU Radio from the source, dependencies and 
> > build procedures for Raspberry Pi is available at the GNU Radio Wiki. It 
> > assumes that you are doing on-board compile.
> > 
> > See: https://wiki.gnuradio.org/index.php/InstallingGR#From_Source
> > 
> > 
> > Regards,
> > Kyeong Su Shin
> > 보낸 사람: Albin Stigö  대신 Discuss-gnuradio 
> > 
> > 보낸 날짜: 2020년 12월 18일 금요일 오전 1:13
> > 받는 사람: Kristoff ; GNURadio Discussion List 
> > 
> > 제목: Re: GNU Radio on Raspberry Pi 4?
> >  
> > 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  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  > > <mailto:muel...@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.fri...@femto-st.fr
> > > <mailto:jean-michel.fri...@femto-st.fr>
> > > > <mailto:jean-michel.fri...@femto-st.fr
> > > <mailto:jean-michel.fri...@femto-st.fr>>
> > >  > > <mailto:jean-michel.fri...@femto-st.fr>
> > > > <mailto:jean-michel.fri...@femto-st.fr
> > > <mailto:jean-michel.fri...@femto-st.fr>>> wrote:
> > > >
> > > > The benchmark on volk/

Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Cinaed Simson
The best way to obtain help is to attach the GRC file to an email and 
include the output of


  aplay -l
  grep VERSION_CODENAME /etc/os-release

Note, include he GRC file which is currently NOT working on your machine 
- and please DON'T attach an image of the GRC running on your machine!


Are you concluding "the Pi 4 just doesn't seem to have enough horsepower 
to run it in real time" simply because there's no sound - or for some 
other reason?


-- Cinaed

On 12/16/20 2:10 PM, 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 





Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Glen Langston
Concerning Full Raspberry Pi OS software installed on a single Raspberry Pi 
image,
we’re encouraging high schools to use this installation document.
https://docs.google.com/document/d/1hfS7cRx3emlZz0sTs583zN8o-35nKtIej6BYMKCJLXY/edit?usp=sharing

The document includes the links to the OS and hardware to purchase.

Unfortunately this is a 3.7.13.4 Gnuradio release, as we’ve not had the strength
to get the SDRPlay software support working for newer gnuradio Releases.

Best regards, 

Glen

> On Dec 17, 2020, at 12:03 PM, Kyeong Su Shin  wrote:
> 
> To whom it may concern:
> 
> Just a tip: If you are building GNU Radio from the source, dependencies and 
> build procedures for Raspberry Pi is available at the GNU Radio Wiki. It 
> assumes that you are doing on-board compile.
> 
> See: https://wiki.gnuradio.org/index.php/InstallingGR#From_Source
> 
> 
> Regards,
> Kyeong Su Shin
> 보낸 사람: Albin Stigö  대신 Discuss-gnuradio 
> 
> 보낸 날짜: 2020년 12월 18일 금요일 오전 1:13
> 받는 사람: Kristoff ; GNURadio Discussion List 
> 
> 제목: Re: GNU Radio on Raspberry Pi 4?
>  
> 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  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  > <mailto:muel...@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.fri...@femto-st.fr
> > <mailto:jean-michel.fri...@femto-st.fr>
> > > <mailto:jean-michel.fri...@femto-st.fr
> > <mailto:jean-michel.fri...@femto-st.fr>>
> >  > <mailto:jean-michel.fri...@femto-st.fr>
> > > <mailto:jean-michel.fri...@femto-st.fr
> > <mailto:jean-michel.fri...@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"  > <mailto:krist...@skypro.be>
> > > <mailto:krist...@skypro.be <mailto:krist...@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

Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Dan Romanchik KB6NU
I’m not sure how my version of GNU Radio was built. I got it in a 
distribution called [HamPi](https://sourceforge.net/projects/hampi/).


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


On 17 Dec 2020, at 12:03, Kyeong Su Shin wrote:

To whom it may concern:

Just a tip: If you are building GNU Radio from the source, 
dependencies and build procedures for Raspberry Pi is available at the 
GNU Radio Wiki. It assumes that you are doing on-board compile.


See: https://wiki.gnuradio.org/index.php/InstallingGR#From_Source


Regards,
Kyeong Su Shin

보낸 사람: Albin Stigö  대신 
Discuss-gnuradio 


보낸 날짜: 2020년 12월 18일 금요일 오전 1:13
받는 사람: Kristoff ; GNURadio Discussion List 


제목: Re: GNU Radio on Raspberry Pi 4?

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 
mailto:krist...@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 
mailto:muel...@kit.edu>

<mailto:muel...@kit.edu<mailto:muel...@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.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>


<mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>>
> 
<mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>


<mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>>>
mailto:jean-michel.fri...@femto-st.fr>

<mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>>
> 
<mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>
<mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@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" 
mailto:krist...@skypro.be>

<mailto:krist...@skypro.be<mailto:krist...@skypro.be>>
> <mailto:krist...@skypro.be<mailto:krist...@skypro.be> 
<mailto:krist...@skypro.be<mailto:krist...@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 G

Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Kyeong Su Shin
To whom it may concern:

Just a tip: If you are building GNU Radio from the source, dependencies and 
build procedures for Raspberry Pi is available at the GNU Radio Wiki. It 
assumes that you are doing on-board compile.

See: https://wiki.gnuradio.org/index.php/InstallingGR#From_Source


Regards,
Kyeong Su Shin

보낸 사람: Albin Stigö  대신 Discuss-gnuradio 

보낸 날짜: 2020년 12월 18일 금요일 오전 1:13
받는 사람: Kristoff ; GNURadio Discussion List 

제목: Re: GNU Radio on Raspberry Pi 4?

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 
mailto:krist...@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 
> mailto:muel...@kit.edu>
> <mailto:muel...@kit.edu<mailto:muel...@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.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>
> 
> <mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>>
> > 
> <mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>
> 
> <mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>>>
> mailto:jean-michel.fri...@femto-st.fr>
> 
> <mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>>
> > 
> <mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@femto-st.fr>
> 
> <mailto:jean-michel.fri...@femto-st.fr<mailto:jean-michel.fri...@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" 
> mailto:krist...@skypro.be>
> <mailto:krist...@skypro.be<mailto:krist...@skypro.be>>
> > <mailto:krist...@skypro.be<mailto:krist...@skypro.be> 
> <mailto:krist...@skypro.be<mailto:krist...@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 elemen

Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Albin Stigö
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  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  > > 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.fri...@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
> > > 
> > > 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"  > 
> > > >>
> 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 
> > > >
> > > > 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 

Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Kristoff

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 > 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.fri...@femto-st.fr

> >
mailto:jean-michel.fri...@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
>     
>     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" mailto:krist...@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 
>     >
>     > 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

>





Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Albin Stigö
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  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.fri...@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
> > 
> > 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"  > > 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 
> > >
> > > 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>
> >
>
>


Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Marcus Müller
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.fri...@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
> 
> 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"  > 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 
> >
> > 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 
> 



smime.p7s
Description: S/MIME Cryptographic Signature


Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Albin Stigö
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.fri...@femto-st.fr <
jean-michel.fri...@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
> 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"  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
> >
> > 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
>
>


Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread jean-michel.fri...@femto-st.fr
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
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"  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
> 
> 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



Re: GNU Radio on Raspberry Pi 4?

2020-12-17 Thread Kristoff

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/


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






Re: GNU Radio on Raspberry Pi 4?

2020-12-16 Thread Albin Stigö
And remember to run volk_profile

On Thu, Dec 17, 2020, 08:03 Albin Stigö  wrote:

> Dan,
>
> I can't comment on your particular flowgraph but I can tell you that you
> will get a significant speed-up if you build volk and GNURadio from source
> (and maybe fftw) as this enables all sorts off optimizations not in the ppa
> for compatability reasons.
>
> If you decide to go down this route I recommend you keep your root
> filesystem on an ssd attached via usb3 and increase your swap file size to
> max.
>
> Albin SM6WJM
>
> On Wed, Dec 16, 2020, 23:40 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
>>
>


Re: GNU Radio on Raspberry Pi 4?

2020-12-16 Thread Albin Stigö
Dan,

I can't comment on your particular flowgraph but I can tell you that you
will get a significant speed-up if you build volk and GNURadio from source
(and maybe fftw) as this enables all sorts off optimizations not in the ppa
for compatability reasons.

If you decide to go down this route I recommend you keep your root
filesystem on an ssd attached via usb3 and increase your swap file size to
max.

Albin SM6WJM

On Wed, Dec 16, 2020, 23:40 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
>


Re: GNU Radio on Raspberry Pi 4?

2020-12-16 Thread jean-michel.fri...@femto-st.fr
Forgot to Cc: the mailing list for the record:

> You will find at http://jmfriedt.free.fr/projetM1_2020_2.pdf the description
> of our use of the sound card of the Pi4 on slide 4. Prior to running the 
> sound card
> with GNU Radio, we tested with the speaker-test application by
> 1/ activating the sound card by adding in config.txt of the first VFAT 
> partition
> the option dtparam=audio=on
> 2/ when booting, the dmesg must display 
> bcm2835_audio bcm2835_audio: card created with 8 channels
> 3/ in buildroot, alsa-utils in Target packages -> Audio and video 
> applications provides
> speaker test and executing
> speaker-test -t sine -f 440
> should play a tone on the speaker output.
> 
> JM
> 
> --
> JM Friedt, FEMTO-ST Time & Frequency, 26 rue de l'Epitaphe, 25000 Besancon, 
> France
> 
> December 16, 2020 11:40 PM, "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



Re: GNU Radio on Raspberry Pi 4?

2020-12-16 Thread Jeff Long
I run a NBFM monitor 24x7 and it takes up a small fraction of a RPi3
(recording to files). It's likely that you are running across some sort of
rate/buffer problem, so keep trying!

On Wed, Dec 16, 2020 at 6:34 PM Fabien PELLET  wrote:

> Hello,
>
> I do not try to run GNUradio over my Pi4 for the moment but I encountered
> the problem you describe with the audio on a laptop.
>
> I solved it by specifying the name of the audio hardware (aplay -l as far
> as I remember in a terminal would help) and by checking the box for the
> blocking process.
>
> I hope it will help you,
> Best regards,
> Fabien, F4CTZ
>
>  Dan Romanchik KB6NU a écrit 
>
> 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
>


Re: GNU Radio on Raspberry Pi 4?

2020-12-16 Thread Fabien PELLET
Hello,

I do not try to run GNUradio over my Pi4 for the moment but I encountered the 
problem you describe with the audio on a laptop.

I solved it by specifying the name of the audio hardware (aplay -l as far as I 
remember in a terminal would help) and by checking the box for the blocking 
process.

I hope it will help you,
Best regards, 
Fabien, F4CTZ 

 Dan Romanchik KB6NU a écrit 

>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
>