element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Evaluate GNU Radio application performance on Pi4(2G)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 40 replies
  • Subscribers 664 subscribers
  • Views 7664 views
  • Users 0 members are here
  • raspberry_pi
Related

Evaluate GNU Radio application performance on Pi4(2G)

colporteur
colporteur over 5 years ago

The results after using a Raspberry Pi 3B+ to run a GNU Radio flow graph were unacceptable. The audio outputed from the Pi was distorted. I speculate the SBC doesn't have the performance specification to support GNU Radio.

 

I am trying to determine if the Raspberry Pi (version ?) is capable of supporting a GNU Radio flow graph. My current assessment is no. The hardware performance is not sufficient to handle the digital signal processing requirements.

 

It was suggested I make a forum post while some testing was done, so other interested could follow.

 

My objective was to write a tutorial for the GNU Radio application using a Raspberry Pi. After successfully building two GNU Radio flow graphs on my Ubuntu 18.04 i7 processor desktop, I ported the flow graphs to a Pi3B+ connected to an HDMI with audio monitor. One flow graph is an audio signal generator outputed to a speaker. The second is an FM receiver. Both flow graphs work in the sense they produce audio but with distortion and in the case of FM broadcast, unreadable.

 

The audio flow graph requires a GNU Radio software installation. The FM flow graph requires an SDR dongle to gather a broadcasted signal to feed the GNU Radio FM radio receiver flow graph. The test will be using the audio flow graph since no additional hardware is required.

 

image

cstanton  has agreed to use his Pi4(2G) to run the test. Before starting the exercise, I will ask Christopher to review review the procedures and provide feedback. I'm keeping the the verbiage terse, assuming a higher level of understanding. If more details are required or feel something is more appropriate or missing please let me know.

 

A zip file of two flow graphs is attached. The file with basic is minimal as it gets. The second file provides a test module. I experienced a problem with both.

 

 

Test Procedure:

Fresh install of Raspbian Buster Full, current release.

Apply O/S updates/upgrades & Install GNU Radio

 

///CODE START///

sudo apt-get update -y;sudo apt-get upgrade -y

sudo reboot

sudo apt-get install gnuradio

///CODE END///

 

Take screen shots of htop screen at the following milestones.

1. O/S idle, no application running on the GUI desktop other than what is defaulted.

2. GNU Radio started, no flow graph

3. GNU Radio flow graph loaded.

4. GNU Radio flow graph started.

5. Evaluate audio coming from speaker and advise.

 

Depending on results, i would like to expand the test Ginny pig agreed.

 

Sean

 

Message was edited by: sean conway I have uploaded the two audio flow graphs for GNU Radio. The current version of GNU Radio encourages development in QT widgets verses the WX widgets. Three is discussion in the community support for WX will disappear. The flow graphs provided are QT. Sean

Attachments:
gnuradio.zip
gnuradio_FM.zip
  • Sign in to reply
  • Cancel
  • colporteur
    colporteur over 5 years ago in reply to cstanton

    Hopefully I haven't lost your interest.

     

    I queried to the gnuradio group on their slack service and one member provided some insight. It is an ALSA configuration issue. The default configuration of a Pi isn't compatible with GNR. The bluetooth speaker install changes the defaults in .asoundrc that resolve the run time error. Another way to get the flow graph to work without installing a bluetooth speaker is to change the device parameter in the audio sink block to null. The flow graph works but no audio output.

     

    Sean

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 5 years ago in reply to colporteur

    RPi distros always seem to be one step behind the other Linux/Unix distros.  That is a pity but reality.  I will keep following because I am still curious to know if the RPi4 (faster, more modern RAM, 4MB) can replace my x64 desktop without having to run that RPi4 in the refrigerator to keep cool enough.  You need to push on the gnuradio github folks that RPi4 is now a real general purpose desktop unlike its predecessors.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to Former Member

      just got a aluminum case with dual fans for my RPi 4 and it seems to stay cool. If only the Beaglebone AI would do the same. Today, it reached 85 degrees and was going to shutdown with out a fan. Ugh...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 5 years ago in reply to clem57

    clem57  The enclosure + fans:  which product? Got a link?  This one looked cool: https://www.amazon.com/Pastall-Raspberry-Armor-Cooling-Enclosure/dp/B07X59H4RR/ref=sr_1_1_sspa?keywords=Raspberry+Pi+4+Armor+Case&qid=1573483528&s=electronics&sr=1-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUExWDUyRDNSWEYxTExLJmVuY3J5cHRlZElkPUEwMzExOTg5M0NVMkZVT1hNWjBFOSZlbmNyeXB0ZWRBZElkPUEwNzYxNTEwM1FYMk9FSjdLSjM2MCZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 5 years ago in reply to Former Member

    Had you tried the CanaKit with fan and found it insufficient?

    https://www.amazon.com/CanaKit-Raspberry-4GB-Basic-Starter/dp/B07VYC6S56/ref=sr_1_3?keywords=Raspberry+Pi+4+canakit&qid=…

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 5 years ago in reply to Former Member

    Are the dual fans noisy?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 5 years ago in reply to Former Member

    This was an interesting blog about MicroSD performance on pi 3 & 4: https://www.jeffgeerling.com/blog/2019/raspberry-pi-microsd-card-performance-comparison-2019

    Also, good notes about USB access.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to Former Member

    That is the one. I like the looks very much.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to Former Member

    Not at all. They are small ones hooked up to 5 V.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to Former Member

    I originally bought these at MicroCenter before the kits were around.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube