Mono on Raspberry Pi

Folks,

Just found out about Virtual Radar, I run a PiAware system and trying it out installed VirtualRadar on my Ubuntu 16:04 system. Works fine though I don’t keep this on all the time.

Has anyone had any experience running VirtualRadar through mono on a R-Pi?

Mono doesn’t appear in the R-Pi repositories.

Geffers

i had vrs running with mono on my mac-mini and it was horrible. that’s why i run it now in vmware fusion with win7 (still on the mac). but that was 2 years ago - maybe mono improved or works better on raspian. what i wonder is whether mono->.net->vrs is a too big thing cpu/memory-wise for the raspberry pi :smiley:

maybe start here: https://forum.virtualradarserver.co.uk/viewtopic.php?t=1348

Hi!

I’m running VRS on my RPi3 for quite a long time now. To be able to run the latest mono on raspbian you need to add an external repository. Add this line at the end of /etc/apt/sources.list:
deb http://download.mono-project.com/repo/debian jessie main

Then import the repo key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

Finally, install the complete mono package:
sudo apt-get update
sudo apt-get install mono-complete

If you need any help, please let me know.

1 Like

sounds cool - i never would have thought the raspberry is able to run this well. more info about would be great :slight_smile:

Yeah, it’s really cool, but be aware that there’s a trade off: loading pages can take about 10 to 15 seconds on a RPi3. On a RPi2 it takes about 25 to 30 seconds! But once loaded it runs very smooth.
I recomend using the preview version, wich have many known bugs already addressed: http://virtualradarserver.co.uk/Preview.aspx
Be aware that it needs the latest mono version to work (the repo i’ve posted before has it)
ps: sorry my English :slight_smile:

haha - look at my english :))) is this behavior with the slow loading website at startup just if you load it from raspberry gui or also if you acces vrs via internetbrowser from another computer? and did you try to use it with adsb-exchange?

I’m running my system headless, but I must say with 99% confidence that the slow loading is due to mono processing it’s libs when first loading some resource (vrs page, settings page, database editor, etc). So it will probably be slow in any scenario. But, IMHO, it’s still a major upgrade over default dump1090 web view, specially if you add some resources (database, flags, sideviews). And no, I don’t use adsb-exchange…

1 Like

since two weeks or so i have an rpi3 - the other ones are all rpi2 - so next weekend i’ll give this a try - vrs on raspberry is really a cool idea :slight_smile: thanx for sharing! btw. i also do not feed adsbexchange but despite that its easy to use their data stream in vrs - see my settings. i was asking because there are loads of aircrafts and i wondered whether the pi could manage this running mono/vrs.

cheers
tom

I have also configured “pub-vrs.adsbexchange.com:32001” feed on VRS on my Windows Desktop, but finally disabled it as it made VRS map to freez. Too many planes, too much data to handle, beyond capacity of VRS.

depends also to some extend in used hardware. the mac mini i use is a i7 and runs vrs even in a vm with ease. when using my mac-pro running the browser-frontend its quite ok and better than on the mac-pro notebook …

I’m not interested in adsb-exchange because of personal reasons. I only care for local traffic that I can actually see :airplane::camera:.
But I’ll configure it in my VRS for today, see how it performs and report back.

Edit: Looks it just can’t handle that amount of data. All cores busy, gui froozen (client side). No further tests by me! :sweat_smile:

1 Like

:joy: yep that’s what i was expecting. but to be honest - like you i’m only interest of aircrafts in my neighborhood and also nearly never use the adsb-exchange input …

1 Like

I’ve forgot to mark the option “Hide aircraft not on map” on VRS, and now GUI works. But even after that, no success, my connection from pi to adsb-exchange server keeps dropping after about 5s of data streaming.
No luck here, but it must be said:
-I’m running other services on my pi (fr24 feed, fa feed and icecast);
-My internet connection is very stable, but the speed is… embarrassing (about 1.5MB/s)!
Maybe someone with a clean install and a “normal” Internet connection can have more promising results.

1 Like

Spotterssol,

Assume then the Pi3 is only acting as a server and browser used on a different machine.

Geffers

I mainly only want to view aircraft picked up by my own scanner.

Geffers

Then you need to:

i still use the ‘old’ stable version 2.4 because i was afraid the preview might have lots of bugs etc. did you try both versions and does the preview run stable? and did you see improvements in the preview version?

I’ve tried both versions. They’re almost the same thing, but there are some bugs (changelog here) that annoyed me in current stable version. Also, thanks to the new mono v4, aircraft labels now shows transparent and anti-aliased just like the windows version.

so you would say the preview runs more stable than the stable? if so i update my mac-mini to the preview version …

I would say that it is stable as the stable version! :slight_smile:
But remember: you MUST upgrade your mono for this to work.
And this is the fixed bug that annoyed me: Fixed issue with idle timeouts not working properly when running under Mono.

1 Like