IslandzVW / halcyon

InWorldz Halcyon 3d virtual reality world simulator
BSD 3-Clause "New" or "Revised" License
21 stars 26 forks source link

Support Linux Compatibility (e.g. compatible with Ubuntu 14 / 64 bits) #383

Closed johnfelipe closed 6 years ago

kf6kjg commented 7 years ago

I have run all the Halcyon servers under Mono many times on both 14.04 64, and on 16.04 64. There is a caveat: only BasicPhysics works at this time.

johnfelipe commented 7 years ago

Bro do u have cheatsheet for install with robust env?

El 7 may. 2017 12:09, "Ricky Curtice" notifications@github.com escribió:

I have run all the Halcyon servers under Mono many times on both 14.04 64, and on 16.04 64. There is a caveat: only BasicPhysics works at this time.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/383#issuecomment-299719949, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaLFC-FWM4GHigF8Bu1D2bgu_-aKkjCks5r3fq9gaJpZM4NTEr8 .

mdickson commented 7 years ago

Just to be clear, Running on Linux is pretty much a dev only configuration. You wouldn't want to use it to host real regions.

kf6kjg commented 7 years ago

What do you mean by "robust env"? Please write clearly.

johnfelipe commented 7 years ago

Why is not possible run in production environment?

El 7 may. 2017 13:03, "Mike Dickson" notifications@github.com escribió:

Just to be clear, Running on Linux is pretty much a dev only configuration. You wouldn't want to use it to host real regions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/383#issuecomment-299723333, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaLFFF_LDxlSwc59xH7tgj9h_ox9saAks5r3gd3gaJpZM4NTEr8 .

johnfelipe commented 7 years ago

Grid and robust.exe

El 7 may. 2017 13:04, "Ricky Curtice" notifications@github.com escribió:

What do you mean by "robust env"? Please write clearly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/383#issuecomment-299723420, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaLFDTc7a9_3gW_i3ydIl-s4JsFNL7oks5r3gfCgaJpZM4NTEr8 .

kf6kjg commented 7 years ago

Halcyon does not use ROBUST and is incompatible with any OpenSim systems.

johnfelipe commented 7 years ago

The grid is standalone?

El 7 may. 2017 13:07, "Ricky Curtice" notifications@github.com escribió:

Halcyon does not use ROBUST and is incompatible with any OpenSim systems.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/383#issuecomment-299723566, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaLFFZyH8MXw7caRONY__WnEOKdeTNgks5r3ghSgaJpZM4NTEr8 .

mdickson commented 7 years ago

You wouldn't want to use it in production because it effectively doesn't have physics. The Basic Physics that Ricky mentioned is just enough to get a region to load.

There's no Robust.exe because the Halcyon codebase was forked before the Robust work was done in OpenSim. It's a single ini file rather than the multiple level configs in Robust.

kf6kjg commented 7 years ago

You can configure for standalone or you can configure for grid mode and launch each of the servers, either on one machine, across multiple VMs, or across multiple machines:

And then as many configured single-region-per-process region servers: mono Halcyon.exe. To be clear, Halcyon only supports having ONE REGION for every instance of Halcyon.exe.

appurist commented 7 years ago

Quick resummary: the main problem with running under Linux at this time is the lack of PhysX.NET support for physics on Linux. I believe this is being worked on but there is no expected date yet. Basic physics barely allows avatar movement and thus is only useful for developing other features not affected by physics (e.g. if you were adding an LSL script function). It is not (yet) useful beyond development.

Some initial configuration tips are here. While Halcyon generally supports a single INI file, Ricky has enhanced it to allow a common INI file and per-region overrides, as described in that Wiki page. Most of the Halcyon.ini file is common across all regions. It's not particularly clear from that wiki page how to use that though. Ricky @kf6kjg perhaps that could be clarified? e.g. It doesn't say where to put the common INI file (or what it is called) and where to put the per-region overrides (or what it is called). The only name given is Region1.ini which I am guessing is not a literal filename.

kf6kjg commented 7 years ago

@appurist, Actually that multifile support was already built in, all I did was trace the code to discover it. I'll poke Vin about that page, it's something he's been working on.

Vinhold commented 7 years ago

Thank you Appurist, I will work on making the Halcyon Wiki Configuration a bit more clear. The Region override files was an example name. As in a pattern region1.ini, region2.ini etc. It can even just be Region.ini since there is only one copy in the region folder and that makes even easier for multiple region instance duplication. I have been learning a lot more about how to do this in the last couple of weeks. I am also working on more detailed configuration options for Halcyon setup to be added later this week after I have proven some of them in the IMA grid setup.

appurist commented 7 years ago

@Vinhold That's still a bit ambiguous. Are you saying it will match any *.ini file and load it? Or region*.ini? In the same folder as the halcyon.exe file, or only in the current directory (so you might cd into the subfolder and run ..\halcyon.exe, or mono ../halcyon.exe) ?

johnfelipe commented 7 years ago

May be a cheatsheet with all steps, path, editions

El 7 may. 2017 13:51, "appurist" notifications@github.com escribió:

@Vinhold https://github.com/Vinhold That's still a bit ambiguous. Are you saying it will match any .ini file and load it? Or region.ini? In the same folder as the halcyon.exe file, or only in the current directory (so you might cd into the subfolder and run ../halcyon.ini) ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/383#issuecomment-299726423, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaLFG-oBiLQ1m3reQ-4QGDnCQ9SfKbuks5r3hKXgaJpZM4NTEr8 .

Vinhold commented 7 years ago

Editing the page now, just saved the portion on the region.ini. In practice I found it to be a lot simpler to have the region.ini override file remain named just like that and the batch file point to --inifile=Region.ini makes it easier when making copies of the desktop icons and only edit the start in folder name.

Vinhold commented 7 years ago

@johnfelipe: The documentation is a work in progress. Lol I am adding to it as we are discussing this thread now. But a lot more needs to be put in. Like the full list of Halcyon command line parameters, then which of those lead to later maintenance headaches vs. which practices makes life much easier. I have just been there and done that in doing several grid setup and installations! :) See the https://github.com/InWorldz/halcyon/wiki/Configuration/ page.

kf6kjg commented 7 years ago

@johnfelipe Vinhold's working on the page with how to do a full grid setup, but I'm afraid there's currently no cheatsheet.

kf6kjg commented 6 years ago

As this is more of a meta issue than a single task I'm closing. Be assured that it's the primary goal of the first major milestone to get to fully supporting Linux based simulators.