Vip: Redeploying Vip after a new build
Currently, all the below takes place on Krypton (192.168.40.60)
Shut down pixel streaming with
sudo systemctl stop signallingShut down all currently running instances of VIP by cding to home
cd ~and running./run_vip_instances.sh stopcd /opt/vip/buildand remove old versions of vip withsudo rm -r Vip_0.9andrm Vip_0.9.zipBuild the project in UE5 and then Zip the built project folder
Using filezilla or any other protocol for transfering files over ssh, move the zip into Krypton (e.g. into the Downloads folder)
Move the file from
~/Downloadsinto/opt/vip/buildusing:sudo mv ~/Downloads/Vip_0.9.zip /opt/vip/build/cd into the dir
cd /opt/vip/buildunzip with
sudo unzip Vip_0.9.zip -d Vip_0.9check it worked with
ls /opt/vip/build/Vip_0.9run this script in the terminal to make sure the project is executable and that the instance booter is aware of the new folder (shouldnt be necessary if naming is all the same but do it just in case)
sed -i 's|^UE_BIN=".*"|UE_BIN="/opt/vip/build/Vip_0.9/Vip_0.9/Linux/VIP.sh"|' ~/run_vip_instances.sh
sudo chmod +x /opt/vip/build/Vip_0.9/Vip_0.9/Linux/VIP.sh \
/opt/vip/build/Vip_0.9/Vip_0.9/Linux/VIP/Binaries/Linux/VIP-Linux-Shipping
~/run_vip_instances.sh start 1if the one instance booted through the script above starts you're almost good to go
Kill the test instance at
cd ~with./run_vip_instances.sh stopFix some permissions
sudo chown nathan:nathan /opt/vip/build/Vip_0.9/Vip_0.9/Linux/VIP/Binaries/Linux/VIP-Linux-Shippingsudo chmod 755 /opt/vip/build/Vip_0.9/Vip_0.9/Linux/VIP/Binaries/Linux/VIP-Linux-Shippingsudo chown -R nathan:nathan /opt/vip/build/Vip_0.9
Redeploy VIP at
cd ~with./run_vip_instances.sh start 18Wait for all instances to come online. You can monitor this with
nvtopand watch for GPU usage to stabilise across all gpusRedeploy pixel streaming with
sudo systemctl start signalling
