# Editor Crash on Arch Linux (VK\_ERROR\_DEVICE\_LOST)

**URL:** <https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910>\
**Category:** Platform & Builds\
**Tags:** editor-crash, crash-at-startup, Linux, unreal-engine, crash, question\
**Created:** [June 15, 2021, 8:21am UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910 "2021-06-15T08:21:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcp613](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcp613](https://forums.unrealengine.com/u/mcp613)\
**Post date:** [June 15, 2021, 8:21am UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/1 "2021-06-15T08:21:40Z")

</div>

Dear Answer Hub,  
I am making a game with UE5 on Arch Linux, though I had the same issue on Master branch when it was 4.26. The issue is, it constantly crashes. I tried switching from Vulcan\_sm5 to Vulkan\_sm4, which makes it go from crashing at launch to crashing after 30is min to a few hours depending on how long ago I restarted my computer. I was wondering if there is a patch or setting I should look into to fix this.

I am using an RTX 3070 with the latest Nvidia proprietary drivers, and have 16GB of ram and a Ryzen 5 2600.

Thank you

Here is the call stack:

`Fatal error: [File:/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp] [Line: 904] VulkanRHI::vkQueueSubmit(Queue, 1, &SubmitInfo, Fence-\>GetHandle()) failed, VkResult=-4 at /home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanQueue.cpp:71 with error VK\_ERROR\_DEVICE\_LOST \<\< callstack too long \>\>

libUnrealEditor-VulkanRHI.so!VulkanRHI::VerifyVulkanResult(VkResult, char const\*, char const\*, unsigned int) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanUtil.cpp:903]  
libUnrealEditor-VulkanRHI.so!FVulkanQueue::Submit(FVulkanCmdBuffer\*, unsigned int, VkSemaphore\_T\*\*) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanQueue.cpp:71]  
libUnrealEditor-VulkanRHI.so!FVulkanCommandBufferManager::SubmitActiveCmdBufferFromPresent(VulkanRHI::FSemaphore\*) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp:650]  
libUnrealEditor-VulkanRHI.so!FVulkanViewport::Present(FVulkanCommandListContext\*, FVulkanCmdBuffer\*, FVulkanQueue\*, FVulkanQueue\*, bool) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanViewport.cpp:865]  
libUnrealEditor-VulkanRHI.so!FVulkanCommandListContext::RHIEndDrawingViewport(FRHIViewport\*, bool, bool) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:901]  
libUnrealEditor-RHI.so!FRHICommand::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:745]  
libUnrealEditor-RHI.so!FRHICommandListExecutor::ExecuteInner\_DoExecute(FRHICommandListBase&) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:373]  
libUnrealEditor-RHI.so!FExecuteRHIThreadTask::DoTask(ENamedThreads::Type, TRefCountPtr const&) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/RHI/Private/RHICommandList.cpp:429]  
libUnrealEditor-RHI.so!TGraphTask::ExecuteTask(TArray \>&, ENamedThreads::Type, bool) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:960]  
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:730]  
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:621]  
libUnrealEditor-Core.so!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/Core/Private/Async/TaskGraph.cpp:1992]  
libUnrealEditor-RenderCore.so!FRHIThread::Run() [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp:320]  
libUnrealEditor-Core.so!FRunnableThreadPThread::Run() [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]  
libUnrealEditor-Core.so!FRunnableThreadPThread::\_ThreadProc(void\*) [/home/mcp613/Documents/GitHub/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]  
libpthread.so.0!UnknownFunction(0x9258)  
libc.so.6!clone(+0x42)`

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 15, 2021, 8:25am UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/2 "2021-06-15T08:25:38Z")

</div>

Device lost means driver crashed, just informs about it UE4/5 and as it can’t render anymore (and it needed it for editor UI too) all UE can do crash it self. Try changing you GPU driver setup. Also don’t expect master branch to be stable, it more WIP then Preview builds.

---

<div class="post-metadata">

**Author:** ![Acheta\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Acheta\_Games](https://forums.unrealengine.com/u/Acheta_Games)\
**Post date:** [June 15, 2021, 8:41am UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/3 "2021-06-15T08:41:56Z")

</div>

There is still the defrag issue, this kind of crash was resolved for me after adding

```
[SystemSettings]
r..EnableDefrag=0

```

To DefaultEngine.ini

---

<div class="post-metadata">

**Author:** ![mcp613](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcp613](https://forums.unrealengine.com/u/mcp613)\
**Post date:** [June 15, 2021, 5:52pm UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/4 "2021-06-15T17:52:48Z")

</div>

I tried this, but it didn’t work for me

---

<div class="post-metadata">

**Author:** ![mcp613](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcp613](https://forums.unrealengine.com/u/mcp613)\
**Post date:** [June 15, 2021, 5:53pm UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/5 "2021-06-15T17:53:28Z")

</div>

What drivers would you recommend?

---

<div class="post-metadata">

**Author:** ![anindya\_dey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anindya\_dey](https://forums.unrealengine.com/u/anindya_dey)\
**Post date:** [February 13, 2022, 2:47pm UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/6 "2022-02-13T14:47:21Z")

</div>

Hey @mcp613, I faced the same issue.

I resolved it after updating my NVIDIA drivers by following the instructions mentioned in [this link](https://www.linuxcapable.com/how-to-install-and-upgrade-nvidia-drivers-on-ubuntu-20-04/)

---

<div class="post-metadata">

**Author:** ![mcp613](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mcp613](https://forums.unrealengine.com/u/mcp613)\
**Post date:** [April 7, 2022, 10:35pm UTC](https://forums.unrealengine.com/t/editor-crash-on-arch-linux-vk-error-device-lost/484910/7 "2022-04-07T22:35:36Z")

</div>

Nevermind. I switched to an amd graphics card and it works now
