Description

Vulkan editor is very crashy on older cards due to memory pressure. I have to switch to OpenGL to work on the unrelated bugs.

I'm attaching the details of the particular failure I had (see VulkanMemAllocFailure.txt). It doesn't seem reasonable to allocate a 6144x2048 RT when we have such a tight memory situation

RHICreateTargetableShaderResource2D(SizeX=6144, SizeY=2048, Format='\f', NumMips=1, Flags=0, TargetableTextureFlags=4, bForceSeparateTargetAndShaderResource=false

Steps to Reproduce

1. Have a low RAM card
2. Run the editor in a 1080p resolution
3. Open some more Windows, e.g. I tried to open DestructibleMesh editor

Callstack

[2019.03.11-18.13.49:371][579]LogWindows: Error: === Critical error: === [2019.03.11-18.13.49:373][579]LogWindows: Error: [2019.03.11-18.13.49:374][579]LogWindows: Error: Fatal error: [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp] [Line: 819] [2019.03.11-18.13.49:378][579]LogWindows: Error: Rendering thread exception: [2019.03.11-18.13.49:379][579]LogWindows: Error: Fatal error: [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\VulkanRHI\Private\VulkanMemory.cpp] [Line: 248] [2019.03.11-18.13.49:380][579]LogWindows: Error: Out of Device Memory, Requested=13632.000000Kb MemTypeIndex=8 [2019.03.11-18.13.49:381][579]LogWindows: Error: [2019.03.11-18.13.49:382][579]LogWindows: Error: [2019.03.11-18.13.49:383][579]LogWindows: Error: [Callstack] 0x00007ff834d354d8 KERNELBASE.dll!UnknownFunction [] [2019.03.11-18.13.49:383][579]LogWindows: Error: [Callstack] 0x00007ff7c56e2677 ContentExamples.exe!ReportAssert() [] [2019.03.11-18.13.49:384][579]LogWindows: Error: [Callstack] 0x00007ff7c56e5057 ContentExamples.exe!FWindowsErrorOutputDevice::Serialize() [] [2019.03.11-18.13.49:384][579]LogWindows: Error: [Callstack] 0x00007ff7c551196a ContentExamples.exe!FOutputDevice::LogfImpl() [] [2019.03.11-18.13.49:385][579]LogWindows: Error: [Callstack] 0x00007ff7c549f0a9 ContentExamples.exe!FDebug::AssertFailed() [] [2019.03.11-18.13.49:386][579]LogWindows: Error: [Callstack] 0x00007ff7c69e9df8 ContentExamples.exe!VulkanRHI::FDeviceMemoryManager::Alloc() [] [2019.03.11-18.13.49:388][579]LogWindows: Error: [Callstack] 0x00007ff7c69ebd57 ContentExamples.exe!VulkanRHI::FOldResourceHeap::AllocateResource() [] [2019.03.11-18.13.49:389][579]LogWindows: Error: [Callstack] 0x00007ff7c6a2a070 ContentExamples.exe!VulkanRHI::FResourceHeapManager::AllocateImageMemory() [] [2019.03.11-18.13.49:390][579]LogWindows: Error: [Callstack] 0x00007ff7c6a18931 ContentExamples.exe!FVulkanSurface::FVulkanSurface() [] [2019.03.11-18.13.49:391][579]LogWindows: Error: [Callstack] 0x00007ff7c6a1aee8 ContentExamples.exe!FVulkanTextureBase::FVulkanTextureBase() [] [2019.03.11-18.13.49:391][579]LogWindows: Error: [Callstack] 0x00007ff7c6a1a0a2 ContentExamples.exe!FVulkanTexture2D::FVulkanTexture2D() [] [2019.03.11-18.13.49:392][579]LogWindows: Error: [Callstack] 0x00007ff7c6a40adb ContentExamples.exe!FVulkanDynamicRHI::RHICreateTexture2D() [] [2019.03.11-18.13.49:392][579]LogWindows: Error: [Callstack] 0x00007ff7c6a413e3 ContentExamples.exe!FVulkanDynamicRHI::RHICreateTexture2D_RenderThread() [] [2019.03.11-18.13.49:393][579]LogWindows: Error: [Callstack] 0x00007ff7c52ed8db ContentExamples.exe!RHICreateTargetableShaderResource2D() [] [2019.03.11-18.13.49:394][579]LogWindows: Error: [Callstack] 0x00007ff7c6b9c961 ContentExamples.exe!FRenderTargetPool::FindFreeElement() [] [2019.03.11-18.13.49:394][579]LogWindows: Error: [Callstack] 0x00007ff7c65a71ab ContentExamples.exe!FRenderingCompositeOutput::RequestSurface() [] [2019.03.11-18.13.49:395][579]LogWindows: Error: [Callstack] 0x00007ff7c659926c ContentExamples.exe!FRCPassPostProcessTemporalAA::Process() [] [2019.03.11-18.13.49:396][579]LogWindows: Error: [Callstack] 0x00007ff7c65a5dfe ContentExamples.exe!FRenderingCompositionGraph::RecursivelyProcess() [] [2019.03.11-18.13.49:396][579]LogWindows: Error: [Callstack] 0x00007ff7c65a4273 ContentExamples.exe!FRenderingCompositePassContext::Process() [] [2019.03.11-18.13.49:397][579]LogWindows: Error: [Callstack] 0x00007ff7c64bd3d4 ContentExamples.exe!FPostProcessing::Process() [] [2019.03.11-18.13.49:399][579]LogWindows: Error: [Callstack] 0x00007ff7c628bd56 ContentExamples.exe!FDeferredShadingSceneRenderer::Render() [] [2019.03.11-18.13.49:400][579]LogWindows: Error: [Callstack] 0x00007ff7c66b0b1d ContentExamples.exe!FRendererModule::RenderTargetPoolFindFreeElement() [] [2019.03.11-18.13.49:401][579]LogWindows: Error: [Callstack] 0x00007ff7c6693f4c ContentExamples.exe!TBaseStaticDelegateInstance<void __cdecl(wchar_t const * __ptr64,IConsoleObject * __ptr64),unsigned int & __ptr64>::ExecuteIfSafe() [] [2019.03.11-18.13.49:401][579]LogWindows: Error: [Callstack] 0x00007ff7c53479bd ContentExamples.exe!FNamedTaskThread::ProcessTasksNamedThread() [] [2019.03.11-18.13.49:402][579]LogWindows: Error: [Callstack] 0x00007ff7c5347c13 ContentExamples.exe!FNamedTaskThread::ProcessTasksUntilQuit() [] [2019.03.11-18.13.49:403][579]LogWindows: Error: [Callstack] 0x00007ff7c6bbc214 ContentExamples.exe!RenderingThreadMain() [] [2019.03.11-18.13.49:403][579]LogWindows: Error: [Callstack] 0x00007ff7c6bbf44f ContentExamples.exe!FRenderingThread::Run() [] [2019.03.11-18.13.49:404][579]LogWindows: Error: [Callstack] 0x00007ff7c56f574f ContentExamples.exe!FRunnableThreadWin::Run() [] [2019.03.11-18.13.49:404][579]LogWindows: Error: [Callstack] 0x00007ff7c56f1557 ContentExamples.exe!FRunnableThreadWin::GuardedRun() [] [2019.03.11-18.13.49:405][579]LogWindows: Error: [Callstack] 0x00007ff836e81fe4 KERNEL32.DLL!UnknownFunction [] [2019.03.11-18.13.49:406][579]LogWindows: Error: [Callstack] 0x00007ff83878cb81 ntdll.dll!UnknownFunction [] [2019.03.11-18.13.49:406][579]LogWindows: Error: [2019.03.11-18.13.49:407][579]LogWindows: Error: [2019.03.11-18.13.49:408][579]LogWindows: Error: [2019.03.11-18.13.49:412][579]LogWindows: Error: [2019.03.11-18.13.49:444][579]LogExit: Executing StaticShutdownAfterError

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-65494 in the post.

2
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.214.254.26
Release Commit9842356
CreatedOct 19, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue