Mono 6 update for the Raspberry Pi 4

Geir Nøklebye

World Builder
Staff member
The PIs are now both compiling and running the OpenSim server code on mono version 6.0.0.313 without any stability issues or problems.

Still the mono version is the Debian Stretch version as the mono development team has yet to make a version for Debian Buster (which the PI 4B is running).

As both the PI kernel and userland are 32-bit, mono is running 32-bit also.

64-bit kernels are starting to become available with people having success running a 64-bit kernel and 32-bit userland. It is only a matter of weeks before full 64-bit environments are available on the PI 4B.
 
Hello again, as I mentioned in another forum post, I've been having some issues running your opensim on my raspberry 4. I was able to clear up all errors completely (turns out, a bad password for mysql can be a real headache!).
Now I am having another issue which I think is Mono related.
As I said, my opensim launches and runs clean with no errors now. When I try to login at my region or teleport to my region from a plaza (I am running Grid connected to OSgrid) the server crashes and exits.
I've doublechecked your lib32 files, and am using ubODE physics.
I noticed you are running Mono 6, I am running Mono 5.18 do you think this could be an issue?
I've only installed Mono-complete, do I need Mono Develope and how do I install Mono6?
 
pi@raspberrypi4:~ $ mono --version
Mono JIT compiler version 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: preemptive
GC: sgen (concurrent by default)
 
If you pick the raspberry PI mono via apt install, it is actually pulled via the Debian 10 (buster) distro and you will get mono 5.18 which is default for Debian 10.

To get the latest mono, please follow the instructions at mono-project for Raspbian 10:

If you want to compile your own opensim, you need to install mono-complete.

Note that you at this time cannot run opensim on the Raspbian 64-bit beta, both because mono is not ready for it yet, and I have not compiled the required libraries for 64-bit ARM.

You can, however, use a 64-bit kernel with the latest 32-bit Raspbian, and that works great. The advantage is that you get faster disk io. There is also a possibility to update from the default Linux 4.19.x kernel to a more modern 5.4.x kernel. Check for instructions and discussions in the Raspberry PI Forums.

There are also instructions for how to install the latest stable firmware to enable booting from USB, such as HDD, SSD or USB sticks. This also works great. Again refer to the forums for information.
 
Yes this works! The only thing I can mention about performance, would be timeouts on teleports from my region to an OSgrid plaza. But that is often the case anyway and very difficult to say it is me or them. Thank you for providing this work and also for being so quick to reply to questions. I will check back often for updates!
 

Members online

No members online now.
Back
Top