Project

General

Profile

Actions

Emulator Issues #11397

closed

VK_ERROR_OUT_OF_HOST_MEMORY error with recent RADV "descriptor pool allocation size" bugfix

Added by Valmar about 6 years ago. Updated about 6 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Corresponding Mesa bug report: https://bugs.freedesktop.org/show_bug.cgi?id=107977

As of this commit ~ https://gitlab.freedesktop.org/mesa/mesa/commit/90819abb56f6b1a0cd4946b13b6caf24fb46e500 ~ the Vulkan backend crashes immediately with these errors:

04:40:182 VideoBackends/Vulkan/VulkanLoader.cpp:314 E[Video]: (CreateCommandBuffers) vkCreateDescriptorPool failed: (-1: VK_ERROR_OUT_OF_HOST_MEMORY)
04:40:182 Common/MsgHandler.cpp:92 E[MASTER]: Warning: Failed to create Vulkan command buffers

From https://bugs.freedesktop.org/show_bug.cgi?id=107977#c12

"[...] dolphin tries to allocate a TON of memory for one descriptor pool. It allocates 16262320 bytes for one set... And they are 100000. That explains the OOM error."

If still necessary, I can attach a backtrace.

Actions

Also available in: Atom PDF