From ca6d8c6ce9a5d8dc9b732512a3984a19b595f904 Mon Sep 17 00:00:00 2001 From: Tobias Langendorf Date: Mon, 28 Jun 2021 18:30:03 +0200 Subject: [PATCH] [util] Use FIFO_RELAXED present mode Earth Defense Force 5 (#2127) The game constantly switches between SyncInterval 0 and 1, possibly in an attempt to implement adaptive Vsync, which causes performance issues because it forces us to recreate the Vulkan swap chain every couple of frames. Instead, enable the Vulkan equivalent of adaptive Vsync if possible. --- src/util/config/config.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index e5a3bcb3e..1321e80ee 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -436,6 +436,11 @@ namespace dxvk { { R"(\\FarCry\.exe$)", {{ { "d3d9.customVendorId", "10de" }, }} }, + /* Earth Defense Force 5 */ + { R"(\\EDF5\.exe$)", {{ + { "dxgi.tearFree", "False" }, + { "dxgi.syncInterval", "1" }, + }} }, }};