protonscr

VVL errors in Elden Ring

vkd3dclosed
HansKristian-Work/vkd3d-proton#1488 · opened 2023-03-24 by mbriar · updated 2023-04-24 · 2 comments · github
Mmbriar 2023-03-24 github

Hey, while trying out the Elden Ring 1.09 raytracing update, which currently doesn't seem to work on radv, see: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8701, I noticed that the game hits some vulkan validation errors:

...
UNASSIGNED-Threading-MultipleThreads(ERROR / SPEC): msgNum: 337425955 - Validation Error: [ UNASSIGNED-Threading-MultipleThreads ] Object 0: handle = 0x710b7c0000000542, type = VK_OBJECT_TYPE_SWAPCHAIN_KHR; | MessageID = 0x141cb623 | THREADING ERROR : vkAcquireNextImageKHR(): object of type VkSwapchainKHR is simultaneously used in thread 503707328 and thread 476968640
    Objects: 1
        [0] 0x710b7c0000000542, type: 1000001000, name: NULL
VUID-VkGraphicsPipelineCreateInfo-renderPass-06054(ERROR / SPEC): msgNum: 1753410608 - Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-renderPass-06054 ] Object 0: handle = 0x7ecad020, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6882ec30 | vkCreateGraphicsPipelines(): pCreateInfos[0] has VkPipelineRenderingCreateInfoKHR::colorAttachmentCount (1) and an invalid pColorBlendState structure The Vulkan spec states: If renderPass is VK_NULL_HANDLE, the pipeline is being created with fragment output interface state, and VkPipelineRenderingCreateInfo::colorAttachmentCount is not equal to 0, pColorBlendState must be a valid pointer to a valid VkPipelineColorBlendStateCreateInfo structure (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-renderPass-06054)
    Objects: 1
        [0] 0x7ecad020, type: 3, name: NULL
VUID-VkGraphicsPipelineCreateInfo-renderPass-06054(ERROR / SPEC): msgNum: 1753410608 - Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-renderPass-06054 ] Object 0: handle = 0x7ecad020, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6882ec30 | vkCreateGraphicsPipelines(): pCreateInfos[0] has VkPipelineRenderingCreateInfoKHR::colorAttachmentCount (1) and an invalid pColorBlendState structure The Vulkan spec states: If renderPass is VK_NULL_HANDLE, the pipeline is being created with fragment output interface state, and VkPipelineRenderingCreateInfo::colorAttachmentCount is not equal to 0, pColorBlendState must be a valid pointer to a valid VkPipelineColorBlendStateCreateInfo structure (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-renderPass-06054)
    Objects: 1
        [0] 0x7ecad020, type: 3, name: NULL
UNASSIGNED-Threading-MultipleThreads(ERROR / SPEC): msgNum: 337425955 - Validation Error: [ UNASSIGNED-Threading-MultipleThreads ] Object 0: handle = 0x710b7c0000000542, type = VK_OBJECT_TYPE_SWAPCHAIN_KHR; | MessageID = 0x141cb623 | THREADING ERROR : vkAcquireNextImageKHR(): object of type VkSwapchainKHR is simultaneously used in thread 503707328 and thread 476968640
    Objects: 1
...

Sorry if these are known, benign errors, but I thought I'd mention them anyways.. My vulkan validation layers are version 1.3.236.

Ddoitsujin maintainer 2023-03-24 github

The hang in Elden Ring is known to be a stack overflow in vkCreateRayTracingPipelinesKHR.

Not sure how much I trust the other errors without knowing what exactly is triggering them, I honestly think vkd3d-proton has exposed more validation bugs than the other way around at this point.

Mmbriar 2023-04-24 github

I'll close this since it doesn't actually cause any problems.

Nothing extracted yet.