software:unreal
Table of Contents
Requirements
- vulkan (since Unreal Engine 4.25)
Installation
Vulkan
https://linuxconfig.org/install-and-test-vulkan-on-linux/
AMD
- sudo add-apt-repository ppa:oibaf/graphics-drivers
- sudo apt update
- sudo apt upgrade
- apt install libvulkan1 mesa-vulkan-drivers vulkan-utils
NVIDIA
- sudo add-apt-repository ppa:graphics-drivers/ppa
- sudo apt upgrade
- sudo apt install nvidia-graphics-drivers-396 nvidia-settings vulkan vulkan-utils
Unreal Engine 4
Docker(Linux)
Installation
- Install Nvidia container toolkit https://unrealcontainers.com/docs/concepts/nvidia-docker
- Required for gpu access
- Configure environment
- In terminal enter:
xhost +
to enable docker access to display - always required if display is used
Pre-Build Engine
- Available engine versions: https://github.com/orgs/EpicGames/packages/container/package/unreal-engine
- JetBrain Rider does not work with this (latest check: 09/2022)
- Alternative: ue4cli https://docs.adamrehn.com/ue4cli/overview/introduction-to-ue4cli
Sandbox-Editor
- Example command:
docker run –rm -ti –net=host –gpus all -v/tmp/.X11-unix:/tmp/.X11-unix:rw –mount type=bind,source=/path/to/project,target=/project -e DISPLAY ghcr.io/epicgames/unreal-engine:dev-4.27 bash
- might require permission changes for project
Remote
Bash script for opening unreal or a project file directly
#!/bin/bash if [ -z "$1"] then $HOME/work/development/UnrealEngine/Engine/Binaries/Linux/UE4Editor -norelativemousemode else DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ($HOME/work/development/UnrealEngine/Engine/Binaries/Linux/UE4Editor `pwd`/$1 -norelativemousemode) fi
Example
- cd /path/to/“project file”
- ./bashfile project.uproject
Unreal Engine 4.27 through ue4cli
Build through ue4cli.
ue4 setroot [path to root of your unreal engine]
ue4 build
in the project rootue4 run
in the project root
software/unreal.txt · Last modified: 2022/10/17 14:58 by gmir