Ubuntu 18.04 running UE 4.24.1, any tips to making it stable?

I have used UE on Windows for a couple of years and recently wanted to switch to a more natural platform for me, Ubuntu (I use it for all other development work I do)

The editor compile and startup went pretty smoothly, but now that I’m using it more, I can get a consistent crash pretty easily.

If I load up the sample project 3rd Person view, and open the skeletal mesh asset and click between the tabs for the static mesh, animation, etc., I will get a crash like:


[2020.01.18-18.48.36:734][182]LogSkeletalMesh: USkeletalMeshComponent::InitArticulated : Bodies already created (/Engine/Transient.World_10:PersistentLevel.AnimationEditorPreviewActor_0.DebugSkelMeshComponent_0) - call TermArticulated first.
[2020.01.18-18.48.36:979][182]LogVulkanRHI: AcquireNextImage() failed due to the outdated swapchain, not even attempting to present.
[2020.01.18-18.48.37:011][182]LogSlate: Took 0.000064 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-BoldCondensed.ttf' (158K)
[2020.01.18-18.48.58:947][122]LogLinux: Scale at X=0.000000, Y=0.000000: 1.000000 (monitor=#0, HDPI=96.000000 (horz scale: 1.000000), VDPI=96.000000 (vert scale: 1.000000))
[2020.01.18-18.48.58:953][122]LogLinux: Scale at X=1280.000000, Y=720.000000: 1.000000 (monitor=#0, HDPI=96.000000 (horz scale: 1.000000), VDPI=96.000000 (vert scale: 1.000000))
[2020.01.18-18.48.58:970][122]LogAssetEditorSubsystem: Opening Asset editor for PhysicsAsset /Game/Mannequin/Character/Mesh/SK_Mannequin_PhysicsAsset.SK_Mannequin_PhysicsAsset
[2020.01.18-18.48.59:346][122]LogContentBrowser: Native class hierarchy updated for 'PhysicsAssetEditor' in 0.0002 seconds. Added 7 classes and 3 folders.
[2020.01.18-18.48.59:354][122]LogActorComponent: RegisterComponentWithWorld: (/Engine/Transient.World_12:PersistentLevel.AnimationEditorPreviewActor_0.PhysicsAssetEditorSkeletalMeshComponent_0) Already registered. Aborting.
[2020.01.18-18.48.59:574][122]LogVulkanRHI: AcquireNextImage() failed due to the outdated swapchain, not even attempting to present.
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=131119 
Malloc Size=794064 LargeMemoryPoolOffset=925200 
[2020.01.18-18.48.59:947][124]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to read memory at address 0x0000000000000058

[2020.01.18-18.48.59:947][124]LogCore: Fatal error!

0x00007fa58d637d94 libvulkan_radeon.so!UnknownFunction(0x9dd94)
0x00007fa58d647816 libvulkan_radeon.so!UnknownFunction(0xad815)
0x00007fa58d647baa libvulkan_radeon.so!UnknownFunction(0xadba9)
0x00007fa60b25b78f libUE4Editor-VulkanRHI.so!FVulkanCommandListContext::RHIDrawIndexedPrimitive(FRHIIndexBuffer*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommands.cpp:813]
0x00007fa64616e6cf libUE4Editor-RHI.so!FRHICommandDrawIndexedPrimitive::Execute(FRHICommandListBase&) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandListCommandExecutes.inl:241]
0x00007fa6391af076 libUE4Editor-Renderer.so!FRHICommand<FRHICommandDrawIndexedPrimitive, FRHICommandDrawIndexedPrimitiveString979>::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:726]
0x00007fa6461713ae libUE4Editor-RHI.so!FRHICommandListExecutor::ExecuteInner_DoExecute(FRHICommandListBase&) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:356]
0x00007fa6461dd6db libUE4Editor-RHI.so!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:409]
0x00007fa6461dcdb4 libUE4Editor-RHI.so!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:847]
0x00007fa64ac2e9eb libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:686]
0x00007fa64ac2d703 libUE4Editor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:582]
0x00007fa646328b96 libUE4Editor-RenderCore.so!FRHIThread::Run() [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:288]
0x00007fa64acc5237 libUE4Editor-Core.so!FRunnableThreadPThread::Run() [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
0x00007fa64ac8cad0 libUE4Editor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/jhopper/go_projects/src/github.com/EpicGames/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:177]
0x00007fa64b7876db libpthread.so.0!UnknownFunction(0x76da)
0x00007fa64231288f libc.so.6!clone(+0x3e)

My platform is:

AMD Ryzen 2700 CPU
AMD RX550 GPU
32GB RAM

Running the amdgpu graphics driver, and the following Vulkan drivers


dpkg -l | grep -i vulkan
ii  libvulkan1:amd64                           1.1.130.0~rc1-1ubuntu18.04.1.1                      amd64        Vulkan loader library
ii  libvulkan1:i386                            1.1.130.0~rc1-1ubuntu18.04.1.1                      i386         Vulkan loader library
ii  mesa-vulkan-drivers:amd64                  20.0~git2001131930.21bc16~oibaf~b                   amd64        Mesa Vulkan graphics drivers
ii  vulkan-utils                               1.1.70+dfsg1-1ubuntu0.18.04.1                       amd64        Miscellaneous Vulkan utilities

Any tips for how I can get the editor stable in Linux? Is there better GPU or Vulkan drivers/combinations? Is my graphics card (which is admittedly very low-end) a problem?

Let me know if there’s any other information I can provide. Or if there’s a Linux-specific channel/form to ask for these questions.

Thanks!

For me all was solved, when I install this driver (for AMD)

http://repo.radeon.com/amdvlk/apt/debian/pool/main/a/amdvlk/

I’m with a non-LTS distro derived from ubuntu19.10 (ubuntustudio 19.10) and I have one APU (AMD Kaveri A10-7850K). And it’s working right now! :slight_smile: