Skip to content
Snippets Groups Projects
Commit 24356d34 authored by Giovanni Vindiola's avatar Giovanni Vindiola :speech_balloon:
Browse files

MetaXRPlugin Linux Workaround Tests

parent 2228e52f
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,8 @@
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/8313d8d7e7cf4e03a33e79eb757bccba",
"SupportedTargetPlatforms": [
"Win64",
"Android"
"Android",
"Linux"
]
},
{
......
......@@ -2,7 +2,9 @@
FROM gitlab-registry.nrp-nautilus.io/cyberarch/webxrpixelstreaming/unreal-engine:runtime-pixel-streaming
USER root
RUN apt update && apt install -y x11-xserver-utils libnss3 libatk1.0-0 libxkbcommon-x11-0 libpangocairo-1.0-0 && apt clean
COPY Linux /home/ue4/project
# Expose TCP port 80 so external applications can access the web server
......@@ -18,7 +20,8 @@ RUN chmod -R 777 .
# Note that we use 127.0.0.1 as the IP address for Cirrus here,
# which only works if both containers are running on the same host system in host networking mode
USER ue4
CMD ["/home/ue4/project/WebXRPixelStreaming.sh", "-RenderOffscreen", "-Windowed", "-ForceRes", "-ResX=1920", "-ResY=1080", "-PixelStreamingIP=127.0.0.1", "-PixelStreamingPort=8888", "-PixelStreamingEnableHMD", "-AllowPixelStreamingCommands=true"]
#ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics,display
CMD ["/home/ue4/project/CyberProject.sh", "-RenderOffscreen", "-Windowed", "-ForceRes", "-ResX=1920", "-ResY=1080", "-PixelStreamingIP=127.0.0.1", "-PixelStreamingPort=8888", "-AllowPixelStreamingCommands=true"]
#/home/ue4/project/WebXRPixelStreaming.sh -RenderOffscreen -Windowed -ForceRes -ResX=1920 -ResY=1080 -PixelStreamingIP=127.0.0.1 -PixelStreamingPort=8888 -PixelStreamingEnableHMD -AllowPixelStreamingCommands=true
#/usr/local/bin/node /SignallingWebServer/cirrus.js --peerConnectionOptions "{\"iceServers\":[{\"urls\":[\"stun:stun.nrp-nautilus.io:3478\",\"turns:turn.nrp-nautilus.io:3478\"],\"username\":\"1733189766-x-auth-user\",\"credential\":\"hpoSQmZYVF8oLXZ8dqjOBP1AfTM=\"}]}" --UseHttps true
\ No newline at end of file
apiVersion: apps/v1
kind: Deployment
metadata:
name: ue-webxr-ps
name: ue-cyberarch-ps
namespace: cyberarch
spec:
replicas: 1
......@@ -21,8 +21,8 @@ spec:
- key: nvidia.com/gpu.product
operator: In
values:
- NVIDIA-GeForce-RTX-4090
#- NVIDIA-GeForce-GTX-1080-Ti
#- NVIDIA-GeForce-RTX-4090
- NVIDIA-GeForce-GTX-1080-Ti
#- NVIDIA-GeForce-RTX-2080-Ti
#- NVIDIA-A100-PCIE-40GB-MIG-2g.10gb
- key: nautilus.io/vis
......@@ -46,6 +46,7 @@ spec:
imagePullPolicy: Always
securityContext:
privileged: false
runAsUser: 0
resources:
limits:
nvidia.com/gpu: 1
......@@ -55,8 +56,8 @@ spec:
nvidia.com/gpu: 1
memory: "16Gi"
cpu: "4"
#command: ["/bin/bash"]
#args: ["-c", "sleep infinity"]
command: ["/bin/bash"]
args: ["-c", "sleep infinity"]
- name: ue-cyberarch-signalling
image: "gitlab-registry.nrp-nautilus.io/cyberarch/webxrpixelstreaming/pixel-streaming-signalling-server:5.3"
imagePullPolicy: Always
......@@ -73,8 +74,8 @@ spec:
ports:
- containerPort: 80
- containerPort: 443
command: ["/usr/local/bin/node"]
args: ["/SignallingWebServer/cirrus.js", "--peerConnectionOptions", "{\"iceServers\":[{\"urls\":[\"stun:stun.nrp-nautilus.io:3478\",\"turns:turn.nrp-nautilus.io:3478\"],\"username\":\"1733189766-x-auth-user\",\"credential\":\"hpoSQmZYVF8oLXZ8dqjOBP1AfTM=\"}]}", "--UseHTTPS", "true"]
#command: ["/usr/local/bin/node"]
#args: ["/SignallingWebServer/cirrus.js", "--peerConnectionOptions", "{\"iceServers\":[{\"urls\":[\"stun:stun.nrp-nautilus.io:3478\",\"turns:turn.nrp-nautilus.io:3478\"],\"username\":\"1733189766-x-auth-user\",\"credential\":\"hpoSQmZYVF8oLXZ8dqjOBP1AfTM=\"}]}", "--UseHTTPS", "true"]
#command: ["/bin/bash"]
#args: ["-c", "sleep infinity"]
volumeMounts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment