Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

AvareX now runs on raspberry pi

369 views
Skip to first unread message

Apps4av Support

unread,
Jan 19, 2025, 6:43:01 PMJan 19
to Apps4Av Forum
AvareX is running successfully on a Raspberry Pi 5 and speed is good. See attached.

OS is Raspberry Pi OS.

The latest releases can be obtained from GitHub of AvareX under Actions Arm64-Linux.

PXL_20250119_232151787~2.jpg

John Wiley

unread,
Jan 19, 2025, 8:47:39 PMJan 19
to Apps4av Support, Apps4Av Forum
Apps4av wrote:
AvareX is running successfully on a Raspberry Pi 5 and speed is good.

This is an amazing advantage of AvareX vs Avare Classic! I guess it won't run (or maybe even crawl?) on a Pi4? Especially if also doing StratuX presumably. Even so, the cost of a Pi5 StratuX (if there is such a thing) with AvareX in the same box is pretty remarkable. Add the screen of choice and you have quite a capable bit of avionics. Kudos, and thanks for putting in the work to make this possible. So great to have such a wide variety of platforms running AvareX! 🙂

Apps4av Support

unread,
Jan 20, 2025, 11:05:09 AMJan 20
to John Wiley, Apps4Av Forum
The Pi 5 is about $60. The touch screen for it ranges from $30 (7 inch) to $50 (10 inch). ADSB dongle about $40. 

For about $150, you get a complete system with one power supply cable.

No EFB runs on raspberry pi other than AvareX. I am not good at making money though :)

Zubair

John W 4sba

unread,
Jan 21, 2025, 3:37:37 AMJan 21
to Apps4av Support, Apps4Av Forum
Support wrote:
> For about $150, you get a complete system with one power supply cable.

I wonder if there'd be enough cpu/ram left over to do other stuff like
engine gauges or autopilot. Would be pretty cool if home builders could
put together two units for redundancy for under $1k

> No EFB runs on raspberry pi other than AvareX.

Leading the pack as always. :)

> I am not good at making money though :)

I hope Mike's following this. ;)

Meanwhile we can all be thankful you're about more than money, and that
like-minded others have joined you.

Thanks! :D

Apps4av Support

unread,
Jan 21, 2025, 8:01:25 AMJan 21
to John W 4sba, Ron Walker, Apps4Av Forum
Quite the opposite. 
Pi 5 has enough CPU speed to run two instances of AvareX, and since it has two HDMI ports, you could run two screens if you choose to go with a HDMI screen (which will increase cost).
AvareX is memory hungry, so a 16 GB Pi5 will be needed which is around $100. It is not CPU hungry so just one Pi board is fine to run SD ADS-B, autopilot, AHRS, and MFD and PFD.

@Ron Walker will be adding the autopilot to AvareX soon, and I will add a BT connection to run it, and then we will be complete. BT will only work on Android and Linux because Apple needs us to get BT certification from them.




--
Regards,
Apps For Aviators Support,

We encourage users to use the Forum for all questions. Any updates to the forum will help other users, who might have similar questions.
Forum: https://groups.google.com/forum/#!forum/apps4av-forum


John W 4sba

unread,
Jan 22, 2025, 1:13:29 AMJan 22
to Apps4av Support, Ron Walker, Apps4Av Forum
Apps4av wrote:
> Pi 5 has enough CPU speed to run two instances of AvareX...Pi5...$100.
> ...ADS-B, autopilot, AHRS, and MFD and PFD.

This is going to make waves, esp. in the homebuilt community! :D

John W 4sba

unread,
Jan 22, 2025, 2:37:08 AMJan 22
to Apps4av Support, Ron Walker, Apps4Av Forum
I'm quite surprised to have not yet seen anything about AvareX, much
less this latest amazing addition. So I've just posted on the EAA Forum
to see if anyone there has seen news about it. The only mention I found
searching that Forum was of Avare, back in 2020 or so. Maybe everyone's
happy with their expensive phones, tablets, ADSB receivers and
Foreflight? Or maybe I'm the only one who finds this exceptionally cool.

I may be transitioning from PPL to Light Sport, EAB or Ultralight, and
can imagine equipping with this and a lightweight ADSB Out. Compared
with the 172Q we had, all that capability would be a few months' tiedown
at SBA.

Robert Ohrenberg

unread,
Jan 22, 2025, 5:34:12 PMJan 22
to Apps4Av Forum
Once we go to Actions Arm64-Linux is there a file to download?  All I see is a bunch of workflow runs.

Apps4av Support

unread,
Jan 22, 2025, 6:48:02 PMJan 22
to Robert Ohrenberg, Apps4Av Forum
Did you log in to github ?

--
You received this message because you are subscribed to the Google Groups "Apps4Av Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apps4av-foru...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/apps4av-forum/5eafa3f8-4d3a-4a96-a3a3-607ee9cea76en%40googlegroups.com.

Robert Ohrenberg

unread,
Jan 22, 2025, 6:58:02 PMJan 22
to Apps4Av Forum
I logged in now.  Page doesn't look any different.

Guess I get to be the ignorant one.

Robert Ohrenberg

unread,
Jan 22, 2025, 7:00:55 PMJan 22
to Apps4Av Forum
Dug around and found an RaspberryPi.zip artifact that i am downloading

Jeffrey Ross

unread,
Jan 22, 2025, 7:04:14 PMJan 22
to apps4a...@googlegroups.com

Brent Byers

unread,
Jan 22, 2025, 9:46:33 PMJan 22
to Apps4Av Forum
I am waiting on my pi5.  In the meantime, I tried this on a pi3.  No luck, not that I expected it to work.  Are there any prerequisites that we need to make this work?

Apps4av Support

unread,
Jan 23, 2025, 8:24:28 AMJan 23
to Brent Byers, Apps4Av Forum
It was tested on Pi OS and 8GB Pi 5 model. Github Action does not support building for Pi on their servers, so the same Pi is connected to Github to aid in building the app.

If it does not run, let me know.

Robert Ohrenberg

unread,
Jan 23, 2025, 9:59:16 AMJan 23
to Apps4Av Forum
I tried it on my pi 5 and no luck.  the file will execute but all I get is a black window.  when I download it I it makes me the owner.  I still have to try using the CHOWN and CHMOD to give it to root and then try a different location, like /USR/BIN and see what happens then (and I need to be ROOT to move the files to the BIN folder).

Any other suggestions in addition or different than that?>

Apps4av Support

unread,
Jan 23, 2025, 10:54:15 AMJan 23
to Robert Ohrenberg, Apps4Av Forum
Must be some library missing on your Pi. I can give you a debug release for that. It does not need running as root but you need to run it from the folder that you placed it in from command line

Bruce B

unread,
Jan 23, 2025, 12:31:26 PMJan 23
to Apps4Av Forum
Tested on Pi 4 model B with RaspiOS AARM64 installed.  Clean install, all updates as of today.
Needs to have sqlite3 package installed.  Also had to create a link from libsqlite3.so.0 to libsqlite3.so (I think that was it).
still got these warnings, but it at least started up and I got through the initial menus.
Gdk-Message: 12:13:56.147: Unable to load  from the cursor theme
(AvareX:2682): Atk-CRITICAL **: 12:13:56.147: atk_socket_embed: assertion 'plug_id != NULL' failed

Bruce B

unread,
Jan 23, 2025, 12:36:29 PMJan 23
to Apps4Av Forum
I should add (cant figure out how to edit last post) that I installed just the OS and desktop.  It may well be that sqlite comes with the "recommended software" image.

Apps4av Support

unread,
Jan 23, 2025, 12:38:38 PMJan 23
to Bruce B, Apps4Av Forum
What's the speed and responsiveness on pi 4?

Bruce B

unread,
Jan 23, 2025, 12:54:30 PMJan 23
to Apps4Av Forum
I only have 1gb memory in it and it was into the swap just running x-windows.
But all I did was run through the menus and let it paint the initial screen.
Didnt download anything or try any of the functions.
It was a little laggy, just a bit worse than my $80 lenovo tablet, but bearable I'd say.  This was before any effort was made at shutting down unused functions.
Default swap appears to be 500M, unless its dynamic or initialized base on physical memory.  I'd probably put more swap space on than run the risk of running out.
I only downloaded it from the share, not github, so I dont know if better instructions exist.  I'd specify install of ARM64 and the "recommended programs" image.  Also, check if there is some reason I needed to create that symlink.

Brent Byers

unread,
Jan 23, 2025, 3:53:49 PMJan 23
to Apps4Av Forum
My message was that it could not create GL object.  Do you have any thoughts on that?  I am also running Stratux on the same device, and it is very slow.  I am just trying to compile a list of installation steps or make an image for when the hardware I want arrives.

On Thursday, January 23, 2025 at 7:24:28 AM UTC-6 app...@gmail.com wrote:

Apps4av Support

unread,
Jan 23, 2025, 4:03:33 PMJan 23
to Brent Byers, Apps4Av Forum
You can try

sudo apt-get install libgtk-3-0 libblkid1 liblzma5 libsqlite3-dev



On Wed, Jan 22, 2025 at 9:46 PM Brent Byers <wire...@gmail.com> wrote:

Robert Ohrenberg

unread,
Jan 23, 2025, 4:40:23 PMJan 23
to Apps4Av Forum
BINGO!!!!!  Ran the > sudo apt-get install libgtk-3-0 libblkid1 liblzma5 libsqlite3-dev
AvareX is running on my Pi 5 now.  Downloading the maps as I write this.

Robert Ohrenberg

unread,
Jan 23, 2025, 4:56:00 PMJan 23
to Apps4Av Forum
Although it seems to be running fine (I can tell more after the maps finish downloading) I get the following information on the terminal.  I don't know what it mean, but thought y'all might.

robert@raspberrypi:~/RaspberryPi-V0.46 $ ./AvareX
Gdk-Message: 15:52:04.663: Unable to load  from the cursor theme

(AvareX:2802): Atk-CRITICAL **: 15:52:04.663: atk_socket_embed: assertion 'plug_id != NULL' failed

Brent Byers

unread,
Jan 23, 2025, 5:21:43 PMJan 23
to Apps4Av Forum
After trying the library installs above, I realized I had the error message wrong.  The exact error is "Unable to create a GL context".  I am still hoping this is a PI3 problem

Bruce B

unread,
Jan 23, 2025, 5:32:04 PMJan 23
to Apps4Av Forum
Installing libsqlite3-dev resolved the naming problem with the library.
I'd blame that more on the operating system as there should always be a link pointing to the latest libraries.

John W 4sba

unread,
Jan 23, 2025, 5:48:24 PMJan 23
to Bruce B, Apps4Av Forum
Bruce wrote:
> Tested on Pi 4 model B with RaspiOS AARM64 installed.

This is promising news! I have a Pi4 that's been languishing in a drawer
(too many projects!). Might you be willing to wipe the SD and start
again from scratch taking notes and/or capture some video at some point?
If it would be helpful, I could then try it and also take notes/capture
some video to edit into a HowTo for the Apps4Av uTube Channel.

FWIW, the post about AvareX and rPi I put on the EAA Forum's Hangar Talk
topic has quite a few views. If we can come up with a fairly simple
process, it could help get more people exploring AvareX.

Mainly, thank you to everyone who's working on this! Seems to me a
package solution would inexpensively provide a lot of extra info and
safety in a small lightweight package. Especially for ultralights,
paragliders, Experimental, etc. but also redundancy for everything Light
Sport and bigger.

Apps4av Support

unread,
Jan 23, 2025, 8:07:25 PMJan 23
to John W 4sba, Bruce B, Apps4Av Forum
Thanks for posting to forums John.

I can send you an SD card iso image if you can program it on your SD card.

--
You received this message because you are subscribed to the Google Groups "Apps4Av Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apps4av-foru...@googlegroups.com.

Robert Ohrenberg

unread,
Jan 23, 2025, 9:57:59 PMJan 23
to Apps4Av Forum
Has anyone had trouble getting the maps to download in the Pi version?  After a couple hours I had 2 sectionals downloaded and it worked better downloading one at a time. Tried copying the avarex folder in the documents folder from the Linux computer to circumvent the problem, but it didn’t recognize those files. Glitch in the code, or a Pi issue?

Apps4av Support

unread,
Jan 24, 2025, 6:27:38 AMJan 24
to Robert Ohrenberg, Apps4Av Forum
Sometimes the SD card has errors and is slow. The file needs to be unzipped and copying so many files during unzip could indicate a slow sd card. Does it get slow after downloading. 50 percent ?

Robert Ohrenberg

unread,
Jan 24, 2025, 10:52:52 AMJan 24
to Apps4Av Forum
I'm running the  Pi 5 16GB Desktop with 1TB SSD.  The downloads last 50% is almost instantaneous.  I'm not sure what happened, but this morning i was able to download all the remaining maps in less time than it took to download one yesterday.   Was the internet that bad yesterday?  I didn't seem to have trouble downloading other files for other things, so I'm not sure what was going on.

I'm curious how they plan to run AvareX and Stratux on the same Pi unit.  My understanding of my Stratux is that it is running its own modified Pi OS, so not sure how that would all integrate together.  You would also need a Pi5 Stratux case.  I guess more to come on that.  That may be more of a Stratux Discord conversation.

Apps4av Support

unread,
Jan 24, 2025, 11:28:04 AMJan 24
to Robert Ohrenberg, Apps4Av Forum
AvareX can run on any RPI OS as long as it has the libraries that I listed.


Brent Byers

unread,
Jan 24, 2025, 11:29:04 AMJan 24
to Apps4Av Forum
I am still deciding what I want to do, but, I was able to install the stock Pi OS with desktop on a PI3 and use the VirusPilot or the B3nn0 ( I forget which ) build of stratux and followed their build instructions to get a working stratux and desktop at the same time., and I like it.  I was getting frustrated trying to keep my tablets connected over wifi and wondering if my stratux quit, wifi connection broke, or if my tablet was just rebelling all while putting aviate, navigate, communicate first.  With Avarex on the same device, this will simplify greatly.  My 1GB PI3 is painfully slow with the desktop, so I am waiting until I can get my PI5 out of the plane and set it up.

Brent Byers

unread,
Jan 25, 2025, 12:25:50 PMJan 25
to Apps4Av Forum
Well, I took the SD card out of the PI3 and stuck it in the PI5 and both Stratux and AvareX work, but, with one big wrinkle.  I cannot download maps.  Stratux takes over the network interfaces so that you cannot access the internet from the desktop.  AP+client mode works for devices attached over WiFi as they did before (before I started fiddling with settings).  You can go to 192.168.10.1 from the desktop and go to the stratux page, but you cannot go anywhere else.  I feel like this is a trivial speed bump for those more familiar with Linux.  Can anyone help me, please?  If someone creates a github with both AvareX and stratux in one install, I propose a statue be made and a holiday set aside, during the summer, of course,

Apps4av Support

unread,
Jan 25, 2025, 12:40:26 PMJan 25
to Brent Byers, Apps4Av Forum
I am not a stratux user and never had a box. I am just supporting it because people want to and this seems like a nice experiment. 

Since stratux is creating a network for outside tablets connect to it, you will need to configure network settings to start the box in WiFi client mode, instead of master mode, and binding their software to interface localhost instead of the 192 network. 

I will let someone else try it as I am busy at the moment and I don't have a box. You may also want to send the owner of stratux a question. 




John W 4sba

unread,
Jan 25, 2025, 8:00:34 PMJan 25
to Brent Byers, Apps4Av Forum
Brent wrote:
> I propose a statue be made and a holiday set aside, during the summer

Surely there's been an Apps4Av Dev Team four-day summer holiday proposal
before Congress for years now.

Brent Byers

unread,
Jan 26, 2025, 1:31:30 AMJan 26
to Apps4Av Forum
I eventually corrupted my install, so I completely rebuilt the sd card on the PI5.  Installed the desktop pi os, then stratux, then Avarex, and everything worked including internet access as well as wireless connections.  Now to decide how I want to package it.

Apps4av Support

unread,
Jan 26, 2025, 8:44:19 AMJan 26
to Brent Byers, Apps4Av Forum
Congrats

--
You received this message because you are subscribed to the Google Groups "Apps4Av Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apps4av-foru...@googlegroups.com.

Brent Byers

unread,
Feb 20, 2025, 6:52:05 PMFeb 20
to Apps4Av Forum
On another thread, we finally got the AvareX to receive data from the same Stratux all on the same Raspberry PI 5.   I configured the wired Ethernet port eth0 to have a fixed IP address.  I then set that IP address in the static IP addresses described above.  I could then turn wireless off and still have date flowing to AvareX.  It is silly but it works

Bruce B

unread,
Feb 21, 2025, 4:11:30 PMFeb 21
to Apps4Av Forum
I believe you could have used the loopback address in the static IP list and not had to do anything else.
I just was pointing out that Stratux, by default, ignores sending data to local interface addresses.  It will do it tho if 'forced' using the list.
Worth trying to simplify.

Brent Byers

unread,
Feb 21, 2025, 4:40:06 PMFeb 21
to Apps4Av Forum
I tried the loop-back address, but it did not work. The only address that worked was the IP address that wlan0 was using to connect my home WiFi.  Once I realized that, I tried activating the eth0 interface and assigned an address.  None of the other interfaces or addresses worked.  I agree that this is a dumb way to do it, but, my knowledge in this area is weak.

Bruce B

unread,
Feb 21, 2025, 5:06:04 PMFeb 21
to Apps4Av Forum
No, no.  I wasnt criticizing the method.  It was rather ingenious.
I was just going by what someone had posted earlier, that AvareX attaches to all IP addresses on the system.
I know stratux will send data to the loopback, it just needs to be in that list.  I just ran a quick python script to confirm.  I did check and just a ping to loopback did not work, as it does for any other address in the arp table.
I guess somehow AvareX isnt seeing that interface in Linux...

Reply all
Reply to author
Forward
0 new messages