4 | | ERROR: Failed to create VkImage: -2 |
5 | | Segmentation fault (core dumped) |
| 4 | ERROR: Failed to create VkImage: -2 (VK_ERROR_OUT_OF_DEVICE_MEMORY) |
| 5 | Assertion failed: "depthStencilAttachment->texture" |
| 6 | Location: Framebuffer.cpp:46 (Create) |
| 7 | }}} |
| 8 | |
| 9 | ... or... |
| 10 | |
| 11 | {{{ |
| 12 | ERROR: vkWaitForFences(device, 1, &fence.value, VK_TRUE, std::numeric_limits<uint64_t>::max()) returned -4 (VK_ERROR_DEVICE_LOST) instead of VK_SUCCESS |
| 13 | Assertion failed: "false && "vkWaitForFences(device, 1, &fence.value, VK_TRUE, std::numeric_limits<uint64_t>::max())"" |
| 14 | Location: SubmitScheduler.cpp:145 (WaitUntilFree) |
10 | | 2. Maximize and restore the window until the segmentation fault occurs. |
| 19 | 2. Resize the window. |
| 20 | |
| 21 | Stack trace: |
| 22 | |
| 23 | {{{ |
| 24 | ERROR: Failed to create VkImage: -2 |
| 25 | |
| 26 | Thread 1 "main" received signal SIGSEGV, Segmentation fault. |
| 27 | Renderer::Backend::Vulkan::CFramebuffer::Create (device=0x555557379dd0, name=0x555555cf6fdd "ShadowMapFramebuffer", colorAttachment=0x0, depthStencilAttachment=0x7fffffffd020) at ../../../source/renderer/backend/vulkan/Texture.h:47 |
| 28 | 47 uint32_t GetUsage() const override { return m_Usage; } |
| 29 | (gdb) bt |
| 30 | #0 Renderer::Backend::Vulkan::CFramebuffer::Create (device=0x555557379dd0, name=0x555555cf6fdd "ShadowMapFramebuffer", colorAttachment=0x0, depthStencilAttachment=0x7fffffffd020) |
| 31 | at ../../../source/renderer/backend/vulkan/Texture.h:47 |
| 32 | #1 0x00005555559fabb9 in Renderer::Backend::Vulkan::CDevice::CreateFramebuffer (this=<optimised out>, name=<optimised out>, colorAttachment=<optimised out>, depthStencilAttachment=<optimised out>) |
| 33 | at ../../../source/renderer/backend/vulkan/Device.cpp:740 |
| 34 | #2 0x00005555559b3997 in ShadowMapInternals::CreateTexture (this=0x555557c23000) at ../../../source/renderer/ShadowMap.cpp:590 |
| 35 | #3 0x00005555559b46f5 in ShadowMap::SetupFrame (this=0x555557c21590, camera=..., lightdir=...) at ../../../source/renderer/ShadowMap.cpp:236 |
| 36 | #4 0x00005555559a676e in CSceneRenderer::SetSceneCamera (this=<optimised out>, viewCamera=..., cullCamera=...) at ../../../source/renderer/SceneRenderer.cpp:958 |
| 37 | #5 0x000055555592388d in CGameView::BeginFrame (this=0x5555588caca0) at ../../../source/graphics/GameView.cpp:231 |
| 38 | #6 0x0000555555999979 in CRenderer::RenderFrameImpl (this=0x555557bcf270, renderGUI=<optimised out>, renderLogger=<optimised out>) at ../../../source/ps/Game.h:167 |
| 39 | #7 0x000055555599ca30 in CRenderer::RenderFrame (this=0x555557bcf270, needsPresent=needsPresent@entry=true) at ../../../source/renderer/Renderer.cpp:461 |
| 40 | #8 0x0000555555612fbf in Frame () at ../../../source/ps/Singleton.h:51 |
| 41 | #9 RunGameOrAtlas (argv=...) at ../../../source/main.cpp:694 |
| 42 | #10 0x00005555555fd72c in main (argc=5, argv=0x7fffffffdee8) at ../../../source/main.cpp:752 |
| 43 | }}} |
| 44 | |