protonscr

[d3d11] Kenshi Vulkan validation errors

dxvkclosed
doitsujin/dxvk#3777 · opened 2023-12-31 by Blisto91 · updated 2023-12-31 · 1 comments · github
BBlisto91 2023-12-31 github

Vulkan validation errors that occur when i load in to my Kenshi game that might be interesting to look at.

Errors
err:   VUID-RuntimeSpirv-maintenance4-06817: 
err:   Validation Error: [ VUID-RuntimeSpirv-maintenance4-06817 ] | MessageID = 0x296ead6f | vkCreateGraphicsPipelines(): pCreateInfos[0] (SPIR-V Interface) starting at Location 1 Component 0 the Output (VK_SHADER_STAGE_VERTEX_BIT) has a Vec4 while Input (VK_SHADER_STAGE_FRAGMENT_BIT) as a Vec2. Enable VK_KHR_maintenance4 device extension to allow relaxed interface matching between input and output vectors. The Vulkan spec states: If maintenance4 is not enabled, any OpTypeVector output interface variables must not have a higher Component Count than a matching OpTypeVector input interface variable (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-RuntimeSpirv-maintenance4-06817)
err:   VUID-VkCopyBufferToImageInfo2-pRegions-06223: 
err:   Validation Error: [ VUID-VkCopyBufferToImageInfo2-pRegions-06223 ] Object 0: handle = 0x7fbb157996a0, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle = 0xe58cf10000003c5d, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0x24cda146 | vkCmdCopyBufferToImage2(): pCopyBufferToImageInfo->pRegions[0] imageOffset.x (0) and (imageExtent.width + imageOffset.x) (4) must be >= zero or <= image subresource width (2). The Vulkan spec states: For each element of pRegions not containing VkCopyCommandTransformInfoQCOM in its pNext chain, imageOffset.x and (imageExtent.width + imageOffset.x) must both be greater than or equal to 0 and less than or equal to the width of the specified imageSubresource of dstImage (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkCopyBufferToImageInfo2-pRegions-06223)
err:   VUID-VkGraphicsPipelineCreateInfo-Input-08733: 
err:   Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-Input-08733 ] | MessageID = 0x9367b2c1 | vkCreateGraphicsPipelines(): pCreateInfos[0].pVertexInputState->pVertexAttributeDescriptions[7].format (VK_FORMAT_R16G16_SINT) at Location 7 does not match vertex shader input type (vec2 of uint32). The Vulkan spec states: If the pipeline requires vertex input state and pVertexInputState is not dynamic, then the numeric type associated with all Input variables of the corresponding Location in the Vertex Execution Model OpEntryPoint must be the same as VkVertexInputAttributeDescription::format (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-Input-08733)

Software information

Kenshi

Only 06223 and 08733 shows up when i replay the apitrace so I've attached my save game and settings used if needed. Though maybe neither are important for it to show ingame.

Save is taken from ~/.local/share/Steam/steamapps/compatdata/233860/pfx/drive_c/users/steamuser/AppData/Local/kenshi/save/
sdf.zip

Settings used

image
image

System information

  • GPU: RX 6800
  • Driver: mesa main
  • Wine version: Proton Bleeding Edge
  • DXVK version: master

Apitrace file(s)

https://drive.proton.me/urls/7SS3P7E04W#e2CGv8ao4gwQ

Log files

dxgi contains the validation
kenshi_x64_dxgi.log
kenshi_x64_d3d11.log

BBlisto91 2023-12-31 github

Not interesting anyway

Nothing extracted yet.