protonscr

Alien vs Predator DX11 Mode : Works :) with ingame crashes . (Crashes at start with DXVK HUD enabled->Works fine now 23012018)

dxvkclosed bug
doitsujin/dxvk#18 · opened 2018-01-20 by pingubot · updated 2018-01-26 · 2 comments · github
Ppingubot 2018-01-20 github

Hi,

i tried avp dx11 mode. Basically it already works, but it crashes ingame from time to time and perf doesn't look really ok (low gpu usage). dxvk also spits a huge amount of messages on the screen if run in debug mode.

My System: Opensuse, i3570k, 16GB ram, Nvidia gtx 970 390.12 driver

basically the following lines are spit out all the time with changing object numbers:

ptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8450 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8450 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8451 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8451 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8452 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8452 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8453 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8453 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8454 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8454 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b845a type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b845a encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #8 at global descriptor index 8 is being used in draw but has not been updated.
err: D3D11DeviceContext: GetData: Data size mismatch
DS(ERROR): object: 0x3b855a type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b855a encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #3 at global descriptor index 3 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b855b type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b855b encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #3 at global descriptor index 3 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b855c type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b855c encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #3 at global descriptor index 3 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8562 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8562 encountered the following validation error at vkCmdDraw() time: Descriptor in binding #6 at global descriptor index 6 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8563 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8563 encountered the following validation error at vkCmdDraw() time: Descriptor in binding #6 at global descriptor index 6 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8570 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8570 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8571 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8571 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8572 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8572 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8573 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8573 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8574 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8574 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b8575 type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b8575 encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #9 at global descriptor index 9 is being used in draw but has not been updated.
DS(ERROR): object: 0x3b857b type: 23 location: 1200 msgCode: 61: Descriptor set 0x3b857b encountered the following validation error at vkCmdDrawIndexed() time: Descriptor in binding #8 at global descriptor index 8 is being used in draw but has not been updated.
err: D3D11DeviceContext: GetData: Data size mismatch

But basically it runs :D

When enabling the HUD, i only get a black game screen and the following error appears:
info: DxgiPresenter: Recreating swap chain:
Format: VK_FORMAT_B8G8R8A8_SRGB
Present mode: VK_PRESENT_MODE_FIFO_KHR
Buffer size: 1920x1080
IMAGE(ERROR): object: 0x0 type: 0 location: 1521 msgCode: 346031326: vkCreateGraphicsPipelines: pCreateInfo[0].pVertexInputState->vertexAttributeDescriptions[2].format (VK_FORMAT_R8G8B8A8_SRGB) is not a supported vertex buffer format. The spec valid usage text states 'format must be allowed as a vertex buffer format, as specified by the VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT flag in VkFormatProperties::bufferFeatures returned by vkGetPhysicalDeviceFormatProperties' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkVertexInputAttributeDescription-format-00623)
err: D3D11DeviceContext: GetData: Data size mismatch

Logs are from working mode.

d3d11.log
dxgi.log

Ppingubot 2018-01-23 github

hud doesn't crash the game anymore with latest dxvk from today

Ppingubot 2018-01-25 github

with yesterdays (20180124) build the game runs really well now with dxvk ! Really nice work. Performance is similar to staging 2.0 with csmt on. But the cpu usage is ways lower :) .

Nothing extracted yet.