Last active
September 17, 2021 00:35
-
-
Save t31k3/3caaa6632786a46884545f41bd77b240 to your computer and use it in GitHub Desktop.
running Unreal Engine Editor and Compiling Shaders on a Linux Potato PC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# performace, try in order: | |
# 1) Settings/EngineScalability:LOW #WORKS! | |
# 2) foliage.forceLOD 1 #at console or ini file HELPS! | |
# 3) Settings/PreviewRenderingLevel:Android #POTATOPC! | |
# shaders compiling overloading CPU. No config will work to lower the number of child compile shaders proccesses, so just SIGSTOP all the 3 or leave one running! | |
pkill -SIGSTOP -fe "UnrealEngine.*ShaderCompileWorker.*" | |
pkill -SIGSTOP -fe "UnrealEngine.*ShaderCompileWorker.* [^0] " #keeps compiler id=0 running | |
# to increase shaders compile performance, put UE4Editor out of the way without SIGSTOP (or compiling shaders will stop working): | |
cpulimit -l 10 -p `pgrep UE4Editor` | |
# suspend/continue UE4Editor/shadercompiler to let it swap and release memory (6GB here) to use ex. firefox | |
strRegex="Engine/Binaries/.*/(UE4Editor|ShaderCompileWorker)";while true;do pkill -fe -SIGCONT "$strRegex";read -p "SIGSTOP it";pkill -fe -SIGSTOP "$strRegex";read -p "SIGCONT it";done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment