Skip to content

Runtime errors #8

@peter-r-g

Description

@peter-r-g

With #4 completed I can now run Mocha but it is shortlived. Due to my lack of knowledge in C++ I have not been able to get very far in this process but I will detail what I have managed to find so far:

cvarmanager/gamesettings - cvars.json is null

The first error that comes, cvarFile appears to be in some kind of null state. I had thought that maybe it was because there is no cvars.json file in the "build" directory but even creating it seems to produce the same error. For now, to skip past the error I just added the following after constructing the ifstream object:

if ( !cvarFile.good() )
    return;

The second error is the exact same but for gamesettings.

Vulkan validation error

After skipping the first two errors I get the following error from Vulkan:

[ERROR: Validation]
Validation Error: [ VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter ] Object 0: handle = 0x24ddddb99e0, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0x801f247e | Invalid VkSurfaceKHR Object 0xcccccccccccccccc. The Vulkan spec states: surface must be a valid VkSurfaceKHR handle (https://vulkan.lunarg.com/doc/view/1.3.224.1/windows/1.3-extensions/vkspec.html#VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter)
[ERROR: Validation]
Validation Error: [ UNASSIGNED-Threading-Info ] Object 0: handle = 0xcccccccccccccccc, type = VK_OBJECT_TYPE_SURFACE_KHR; | MessageID = 0x5d6b67e2 | Couldn't find VkSurfaceKHR Object 0xcccccccccccccccc. This should not happen and may indicate a bug in the application.

Callstack information is on Pastebin here

That is as far as I have gotten so far. As problems get solved I will keep digging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions