UE5 linux slow editor launch

I am experiencing very slow load times on linux. It take 4-5 mins to launch the editor.

PopOS
Ryzen 7 2700X
32gb RAM
GTX 1050 Ti

I complied v5.1.0 from the ue5-main branch which includes all the previous fixes for slow load times from issues like Linux Editor launching too slow - #19 by laurentO

I have attached the logs for an editor launch for an unreal project.

ue5_project_startup.log (134.2 KB)

Unhappily, I’m also using Pop!Os and I did not managed to apply the solution I’ve given and applied to my Arch system.
Mainly because there is not patched version of glibc available outside AUR.
I’ve tried to build it from the git repo of the glibc-dso version , but it was too difficult (I did not found any clear support on how to build the glibc from source on Pop!Os or Ubuntu).
We should wait the updated version of glibc (3.34+) to be published for ubuntu and derived systems

Without the patched version of glibc, the starting time for UE 4.27 on my system (Ryzen 7 3700x, 32 Go RAM, 1 To M.2 SSD) was 1 mn and 15 s on pop!Os
And , until now, I haven’t tested UE5 under linux.

1 Like

Thanks for the reply, you are correct on glibc being the problem. From my limited research it seems an official patch may take some time. If you cannot wait there is a patch available from a PPA, check this thread for details Apply DSO sorting patches to glibc in Linux images · Issue #177 · adamrehn/ue4-docker · GitHub.

I have installed it and it has reduced editor load times (for me) from over 4 minutes to just a few seconds :grinning:

Nice to have helped you.
I did not found this PPA on my researches, but I’m not an “ubuntu like” specialist. Thanks for the info.
I really love Pop!Os, but for me, AUR is really a must have on Linux, so I rather use Manjaro than Pop!Os

Hello. I’m on Opensuse 15.5. Checked my glibc:

ldd --version
ldd (GNU libc) 2.31 Copyright (C) 2020

The current stable version of glibc is 2.38 , released on July 31st, 2023.

How can I find this glibc 3.xx solving the problem?

You don’t need glibc 3.x to solve the slow editor problem, you only need version 2.35 or greater. As you’ve already seen, OpenSuse 15.5 only ships with glibc 2.31.

I don’t recommend updating glibc beyond what is shipped with the distro since all of those libraries are usually expected as further updates come out for your distro.

Unfortunately, in the OpenSuse world, to get to an appropriate version of glibc (2.38 according to distrowatch), you’ll have to upgrade to tumbleweed.

Yeah, found the typo was in that post. OpenSuse Leap uses an outdated and can’t update glibc, so switched to Tumbleweed and my boot speed is about 10 seconds or less now.