Resource icon

Runnable OpenSim for the PI update 8-mar-2020 2020-03-08

Hi Geir.

In the last few days I have hours and hours trying to get OpenSim running on a new Raspberry Pi 4, but without success. I've now seen that it can't succeed with mono 6.

I can find older versions of mono, including 5.18, and I can download them, but I can't find a way to install an older version. Do you have any advice on how to install mono 5.18 please?
 
I am sorry but you will not be able to run any recent opensim versions on mono 5.18. You need a version 6.x for that.

Also there is no reliable mono at all for 64-bit Raspbian, so you would have to run the 32-bit version.

There are instructions on the mono-projects site for how to install older version of mono, but it is a somewhat hairy procedure, and as I said nothing will run on the 64-bit version of Raspbian.

Also, Microsoft has explicitly said they will not support dotnet on Rapsberry PI, so the new dotnet6 development branch of OpenSim will not run on the PI.

My own conclusion is that OpenSim on the PI for now is toast. :( I have therefore uninstalled it on all my PIs.

I am running the dotnet6 branch on both Intel and Apple Silicon Macs, in addition to 64-bit Debian 11 on Intel.
 
Thank you for the quick, and detailed, response, Geir. I'll give up the idea of using a Pi.

I have the 32 bit operating system but, since OpenSim on the Pi is downhill all the way now, and sims are cheap in the OpenSim grids, with smaller free plots in some grids. I'll take advantage of those rather than run a tower/desktop 24/7.

Many thanks.
 
The entire PI situation is a bit disappointing for the time being, with very constrained supply, no updates and of course Microsoft being the usual self.
 
sorry if I intrude in the speech ... Why doesn't it work in raspberry?
I have a raspberry PI4 with linux (dietpi bullseye)+mariaDB+mono6.8+diva distro OpenSim 0.9.2.1 and everything works very well ... obviously you can expect to have a super fast sim
 
Does it run on 32 or 64 bit Raspbian? Because it works on 32-bit with mono without any issues.

The issue is 64-bit Raspbian support, and more important the upcoming dotnet6 version now that mono is dead and will never be updated, and Microsoft has said they don't support dotnet6 on Raspbian.
 
Library?? aarch64 are already inside "OpenMetaverse.dll.config"
I downloaded Opennsim from the official website and I run "mono Opensim.exe"
I have not changed any library ...the "opensim.log" it does not give me error or warning

The web interface of Opensim (Diva wifi) also works well and now I'm trying to insert HTTPS in the web interface
 
Last edited:
OK, but that must be a recent addition, because I never supplied those libraries, and they are most likely not even compiled on the PI

Are you able to compile the opensim source on your PI and with which version of mono?

Also, did you compile 64-bit mono on your PI, because there is no official ARM version for Debian 11 (bullseye)
 
mono --version
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Tue Jun 29 21:11:52 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: arm64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: preemptive
GC: sgen (concurrent by default)

I have run opensim.exe not opensim32.exe
 
So how did you install that version? - with apt?

The mono-project site only has install instructions for buster, which was the versions we had to run both on the latest version of Raspbian and Debian 11, which are both bullseye

If you install the dist version of mono on bullseye you get a mono 5.8x.
 
But in any case, it really does not matter as mono is no longer updated at all, and MS will not support dotnet6 on Raspbian. The MS site say you might be able to install it manually, but you are on your own.
 
I have installed Mono with "sudo apt install mono-complete" .. I have not changed the repository
Yes, unfortunately I understand that Mono is no longer updated, but this applies to all Linux servers

I have two raspberry pi3, one rock4c and two raspberry pi4 with dietpi installed and in all works well opensim without changing library
 
It applies to all Linux and macOS. Microsoft issued a small update to mono 6.12, but that was only to fix a bug that kept Visual Studio from running on macOS. They launched native dotnet6 support for macOS on Apple Silicon and Intel shortly after
 
I installed mono-complete on the latest 64-bit Raspbian, and it is like I thought:

1. The mono-complete is not complete so you don't get msbuild, but only xbuild
2. The compiler is not able to compile the OpenSim project, because there is a compiler crash that both I and Ubit gave up to figure out. The same happens on Debian 11 on Intel.
3. It did install mono 6.8 as you said
 

Members online

Back
Top