From 8cfd3b56d61fa128bce2780591cea02f57774279 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 28 Sep 2019 21:10:11 +0300 Subject: [PATCH] vk: Increase wait timeout in case of problematic GPU loads causing heavy stutter - When compiling LLVM objects, it is possible to starve the driver thread and cause the timeouts to trigger - Observed in RE6 when using SPU LLVM since the game generates a very large number of objects "infinitely" --- rpcs3/Emu/RSX/VK/VKHelpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/VK/VKHelpers.h b/rpcs3/Emu/RSX/VK/VKHelpers.h index 2b901c7f5..31489c426 100644 --- a/rpcs3/Emu/RSX/VK/VKHelpers.h +++ b/rpcs3/Emu/RSX/VK/VKHelpers.h @@ -44,8 +44,8 @@ #define VK_NUM_DESCRIPTOR_BINDINGS (VERTEX_TEXTURES_FIRST_BIND_SLOT + 4) -#define FRAME_PRESENT_TIMEOUT 1000000ull // 1 second -#define GENERAL_WAIT_TIMEOUT 100000ull // 100ms +#define FRAME_PRESENT_TIMEOUT 10000000ull // 10 seconds +#define GENERAL_WAIT_TIMEOUT 2000000ull // 2 seconds namespace rsx {