Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vk: Killzone 2 freezes due to VUID-vkCmdCopyImage-srcImage-0155 #9742

Closed
Lagahan opened this issue Feb 8, 2021 · 5 comments · Fixed by #9748
Closed

vk: Killzone 2 freezes due to VUID-vkCmdCopyImage-srcImage-0155 #9742

Lagahan opened this issue Feb 8, 2021 · 5 comments · Fixed by #9748
Assignees

Comments

@Lagahan
Copy link

Lagahan commented Feb 8, 2021

Quick summary

Killzone 2 reliably hangs during the first mission with VK_ERROR_DEVICE_LOST while meeting Natko.

Details

Seems to hang after 4 specific validation errors like this one:
Validation Error: [ VUID-vkCmdCopyImage-srcImage-01551 ]

Always hangs at this point:
image

FWIW theres been a crash here for quite a while but only testing it with debug output now.

1. Please attach RPCS3's log.

RPCS3.log

5. Please provide your system configuration:

  • RPCS3 v0.0.14-11706-44ab5055 Alpha (Master)
  • OS: Windows 10 Version 2004 (OS Build 19041.746)
  • CPU: i9 9900K (TSX Disabled by microcode update)
  • GPU: RTX 2080Ti
  • Driver version: 461.40
@kd-11 kd-11 self-assigned this Feb 8, 2021
@kd-11 kd-11 added Render: Vulkan In Progress This issue is actively being investigated at the moment. labels Feb 8, 2021
@kd-11
Copy link
Contributor

kd-11 commented Feb 8, 2021

This is an intentional hack for performance reasons, specifically caused by this check https://github.com/RPCS3/rpcs3/blob/master/rpcs3/Emu/RSX/VK/VKTexture.cpp#L584
Previously only ampere was known to not like D16 jumping between states like that, I suppose we can add turing to the list as well.

@DefaltBR
Copy link

DefaltBR commented Feb 8, 2021

Yeah... Crashing before even getting in-game (only work up to menus, after starting new game or loading it crashes). RTX 2060 Super.

Assertion Failed! Vulkan API call failed with unrecoverable error: Device lost (Driver crashed with unspecified error or stopped responding and recovered) (VK_ERROR_DEVICE_LOST)
(in file D:\a\1\s\rpcs3\Emu\RSX\VK\VKQueryPool.cpp:46[:4], in function poke_query)
(in file D:\a\1\s\rpcs3\Emu\RSX\VK\vkutils\shared.cpp:103[:24], in function die_with_error)

RPCS3.log

@kd-11
Copy link
Contributor

kd-11 commented Feb 8, 2021

Retest with #9748

@DefaltBR
Copy link

DefaltBR commented Feb 8, 2021

Fixed by #9748 for me

@AniLeo AniLeo changed the title Killzone®2 [BCES00081] Freezes with VK_ERROR_DEVICE_LOST vk: Killzone 2 freezes due to VUID-vkCmdCopyImage-srcImage-0155 Feb 8, 2021
@Lagahan
Copy link
Author

Lagahan commented Feb 8, 2021

Retest with #9748

Gets past the freeze point now, both in strict and non strict rendering mode!
image

@kd-11 kd-11 removed the In Progress This issue is actively being investigated at the moment. label Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants