Error while trying to install UE5 on ubuntu 20.04

Error while trying to install UE5 on ubuntu 20.04

I have been trying to install UE5 on my linux ubunutu 20.04 for four days today but unfutunetly. please could you help me.

Unfortunately, most forums users can’t mind read. (Well, at least I can’t!)

You will need to show at least what command you’re running (where in the installation process you are,) and what error is being printed, for anyone to have any chance of helping.

2 Likes

I installed now when i start the editor it crashed with following log

LoginId:00deafec0b11434d8a130817c4210264-000003e8
EpicAccountId:

Assertion failed: EnumHasAnyFlags(UEFlags, ETextureCreateFlags::UAV) [File:./Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 446]

libUnrealEditor-VulkanRHI.so!FVulkanSurface::GenerateImageCreateInfo(FVulkanSurface::FImageCreateInfo&, FVulkanDevice&, VkImageViewType, EPixelFormat, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, ETextureCreateFlags, VkFormat*, VkFormat*, bool) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTexture.cpp:446]
libUnrealEditor-VulkanRHI.so!FindOrCalculateTexturePlatformSize(FVulkanDevice*, VkImageViewType, unsigned int, unsigned int, unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTexture.cpp:2574]
libUnrealEditor-VulkanRHI.so!FVulkanDynamicRHI::RHICalcTexture2DPlatformSize(unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags, FRHIResourceCreateInfo const&, unsigned int&) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/VulkanRHI/Private/VulkanTexture.cpp:2594]
libUnrealEditor-Engine.so!FTexture2DResource::GetPlatformMipsSize(unsigned int) const [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/Engine/Private/Rendering/Texture2DResource.cpp:186]
libUnrealEditor-Engine.so!FStreamableTextureResource::InitRHI() [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/Engine/Private/Rendering/StreamableTextureResource.cpp:169]
libUnrealEditor-RenderCore.so!FRenderResource::InitResource() [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/RenderCore/Private/RenderResource.cpp:120]
libUnrealEditor-RenderCore.so!TEnqueueUniqueRenderCommandType<BeginInitResource(FRenderResource*)::InitCommandName, BeginInitResource(FRenderResource*)::$_160>::DoTask(ENamedThreads::Type, TRefCountPtr const&) [/home/User/Desktop/UnrealEngine5/Engine/Source/Runtime/RenderCore/Public/RenderingThread.h:193]
libUnrealEditor-RenderCore.so!TGraphTask<TEnqueueUniqueRenderCommandType<BeginInitResource(FRenderResource*)::InitCommandName, BeginInitResource(FRenderResource*)::$_160> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) [/home/User/Desktop/UnrealEngine5/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:975]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:753]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:641]
libUnrealEditor-Core.so!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:2114]
libUnrealEditor-RenderCore.so!RenderingThreadMain(FEvent*) [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:380]
libUnrealEditor-RenderCore.so!FRenderingThread::Run() [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:544]
libUnrealEditor-Core.so!FRunnableThreadPThread::Run() [/home/User/Desktop/UnrealEngine5/Engine/Source/./Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
libUnrealEditor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/User/Desktop/UnrealEngine5/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]
libpthread.so.0!UnknownFunction(0x8608)
libc.so.6!clone(+0x42)

If you open to this file, and go to that line, what does it say?
If you follow that stack trace up, where do the missing flags come from?

To guess a little bit about possible causes:
What graphics card is in your system?
What CPU is in your system?
Which drivers for the graphics cards on your system have you installed?
Are there other relevant messages printed to the log, about graphics cards, drivers, or support, before this assertion in the logs?

When building from source, and when using the Linux build, you’ll have to do a little bit of your own digging, because it’s not an out-of-the-box supported platform. Much of that is because the Linux driver/hardware compatibility story is so fragmented. The few cases that need Linux support (e g, SteamDeck) are most easily supported on a case-by-case basis by those using it.

VERSION=“20.04.4 LTS (Focal Fossa)”
ID=ubuntu

AMD EPYC-Rome Processor 2*4 cores

graphics

name of display: :10.0
display: :10 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 14.0.0, 256 bits) (0xffffffff)
Version: 22.2.0
Accelerated: no
Video memory: 32113MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org

Filesystem Size Used Avail Use% Mounted on
sysfs 0 0 0 - /sys
proc 0 0 0 - /proc
udev 16G 0 16G 0% /dev
devpts 0 0 0 - /dev/pts
tmpfs 3.2G 1.3M 3.2G 1% /run
/dev/vda1 188G 163G 16G 92% /
securityfs 0 0 0 - /sys/kernel/security
tmpfs 16G 204M 16G 2% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup