These are chat archives for highfidelity/hifi

18th
Jan 2018
jetbond
@jetbond
Jan 18 2018 16:46
Can I give server scripts a loading order?
Clément Brisset
@Atlante45
Jan 18 2018 18:29
No
If you really need order, you could have a master script sending messages to other scripts to start initializing.
yassinm
@yassinm
Jan 18 2018 22:35
ok .. i am wowed !
how did i not hear about highfidelity is a mystery !
Clément Brisset
@Atlante45
Jan 18 2018 22:38
Admitedely, we've flown under the radar for a while.
Glad to hear you like what you're seeing.
yassinm
@yassinm
Jan 18 2018 22:41
This is actually freakin amazin' !!! OMG !!!
yassinm @yassinm need to cool down here
Clément Brisset
@Atlante45
Jan 18 2018 22:42
Well, if you have any dev related question, you can post them here.
We also have a forum that's build up a good bit of infos over the years: https://forums.highfidelity.com/
yassinm
@yassinm
Jan 18 2018 22:43
just quickly .. is this supported on gear vr ? or the google android phones ?
Clément Brisset
@Atlante45
Jan 18 2018 22:43
Not yet, we have an android branch on the repo that's still a WIP.
yassinm
@yassinm
Jan 18 2018 22:44
is this opengl based or dare i ask .. vulkan ?
Christoph Haag
@ChristophHaag
Jan 18 2018 22:44
opengl, but really modern opengl
Clément Brisset
@Atlante45
Jan 18 2018 22:44
Ah, it's opengl.
yassinm
@yassinm
Jan 18 2018 22:44
any hope to have vulkan at some point ?
i was going to jump into vulkan on my phone :)
Clément Brisset
@Atlante45
Jan 18 2018 22:45
Though our graphics engine has been designed to support different backend and the longterm plan is to have a Vulkan, Direct X and probably Metal backend.
yassinm
@yassinm
Jan 18 2018 22:46
aha!
Clément Brisset
@Atlante45
Jan 18 2018 22:47
We do have some devs excited about adding Vulkan at some point, but there's a lot more things above on the priority list.
So it probably won't be for a while.
yassinm
@yassinm
Jan 18 2018 22:49
ok cool ...
the first think i can think of is a docker image to build the code .. it would make building the code much simpler
Clément Brisset
@Atlante45
Jan 18 2018 22:54
We have a linux package. But some users also have a docker image they maintain. I'm not sure where to find it.
yassinm
@yassinm
Jan 18 2018 22:57
ah!
Clément Brisset
@Atlante45
Jan 18 2018 22:57
Hmmmm, something terrible happened to the formatting, but here is a guide: https://github.com/highfidelity/hifi/blob/master/BUILD_LINUX_CHEATSHEET.md
yassinm
@yassinm
Jan 18 2018 22:58
wait ... i dont see a linux package at all
Clément Brisset
@Atlante45
Jan 18 2018 22:58

Here is something a bit better formatted:

Our compiled deb packages of High Fidelity domain server and assignment client are stored on debian.highfidelity.com

sudo su -
apt-get -y update && apt-get install -y software-properties-common
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15FF1AAE && add-apt-repository "deb http://debian.highfidelity.com stable main" && >apt-get -y update

apt-get install -y hifi-domain-server
apt-get install -y hifi-assignment-client

When installing master/dev builds, the packages are slightly different and you just need to change the last 2 steps to:

apt-get install -y hifi-dev-domain-server
apt-get install -y hifi-dev-assignment-client

domain server and assignment clients should already be running. The processes are controlled via:
systemctl start hifi-domain-server
systemctl stop hifi-domain-server
Once the machine is setup and processes are running you should ensure that your firewall exposes port 40100 on TCP and all UDP ports.
This will get your domain up and running and you could connect to it (for now) by using High Fidelity Interface and typing in the IP for the place name. (further customizations can be done via http://IPAddress:40100 and Ozan will assist you with the place name setup).
The server always depends on both hifi-domain-server and hifi-assignment-client running at the same time.
As an additional step, you should ensure that your packages are automatically updated when a new version goes out. You could, for example, set the automatic update checks to happen every hour (though this could potentially result in the domain being unreachable for a whole hour by new clients when they are released - adjust the update checks accordingly).
To do this you can modify /etc/crontab by adding the following lines
0 /1 root apt-get update
1 /1 root apt-get install --only-upgrade -y hifi-domain-server
2 /1 root apt-get install --only-upgrade -y hifi-assignment-client

yassinm
@yassinm
Jan 18 2018 22:59
oh cool !
merci beaucoup !!!
Clément Brisset
@Atlante45
Jan 18 2018 23:00
Pas de probleme!
Christoph Haag
@ChristophHaag
Jan 18 2018 23:25
https://github.com/ChristophHaag/hifi/ if you want steamvr support on linux
for the interface gui