Skip to content

TpvVulkanDeviceMemoryStaging causes VK_ERROR_DEVICE_OUT_OF_MEMORY fail #33

@johnhutch111

Description

@johnhutch111

The recently added fMemoryStaging in TpvVulkanDevice can cause an VK_ERROR_DEVICE_OUT_OF_MEMORY during the TpvVulkanDeviceMemoryStaging.Initialize stage. (When the TpvVulkanBuffer.Create is called a VK_ERROR_DEVICE_OUT_OF_MEMORY is generated and everything shuts down).

Seems to happen when running in 32bit environment when inside the Delphi IDE or when RenderDoc is capturing a frame.
It does not happen all the time in 32bit.
It does not happen at all when running in 64bit.

The fSize is being set to 268435456 bytes for both 32bit and 64bit on an NVIDEA GPU. Is this OK?

Any thoughts on reason and fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions