How to run unreal engine app with pixel streaming using ghcr.io/epicgames/unreal-engine:runtime-pixel-streaming in docker

I`ve built test unreal engine 5.4.2 app with pixel streaming plugin for linux. Then i created Dockerfile as this:
FROM ghcr.io/epicgames/unreal-engine:runtime-pixel-streaming

COPY ./Linux/ /home/ue5/ps-app

WORKDIR /home/ue5/ps-app

EXPOSE 8888

ENTRYPOINT [“/home/ue5/ps-app/PixelStreamingApp.sh”, “-RenderOffscreen”, “-Windowed”, “-ForceRes”, “-ResX=1920”, “-ResY=1080”, “-PixelStreamingIP=127.0.0.1”, “-PixelStreamingPort=8888”, “-Unattended”, “-StdOut”, “-FullStdOutLogOutput”]

Docker build runs just fine, but when i`m running container in docker as this:
docker run -d -e NVIDIA_DRIVER_CAPABILITIES=all --gpus all ps

Container exits with code 1. Logs:
2024-07-11 22:11:25 [2024.07.11-19.11.25:440][ 0]LogLinux: Warning: MessageBox: Cannot find a compatible Vulkan driver (ICD).
2024-07-11 22:11:25
2024-07-11 22:11:25 Please look at the Getting Started guide for additional information.: Incompatible Vulkan driver found!: :
2024-07-11 22:11:25 [2024.07.11-19.11.25:440][ 0]LogCore: FUnixPlatformMisc::RequestExit(bForce=true, ReturnCode=1, CallSite=)
2024-07-11 22:11:25 [2024.07.11-19.11.25:440][ 0]LogCore: FUnixPlatformMisc::RequestExit(1, )

What am i doing wrong? CUDA is installed correctly:
PS E:\PixelStreamingTestApp> nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:30:10_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0

Hi there!

There could be a number of different things missing from the container setup.
It does seem to be a nvidia driver issue, or a general Nvidia Container Toolkit install issue.

I recommend following along with this guide here and ensure you have everything installed properly:

Let me know if this helps!

1 Like

Hello @MWillWallT ! Thank u for response.
I`ve installed CUDA toolkit as u said but the app still not running with the same error.
Here is the last check screenshot

1 Like

Hello, is there any progress?

in my mind, version5.4 is not streaming on linux。 because i found this ue5.4 use nvenc12, but nvidia official tell nvenc12 need driver550.54, at same time, vulkan-1.3.250 in ue5.4 is not support nvidia driver550.54, only support driver550.40 now。