From 83dc4678df7657821992a927d4aeee510fafa224 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 14 Sep 2023 16:48:28 +0200 Subject: [PATCH] [util] Set maximum frame latency to 1 for Age of Empires 2 (2013) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Game seems to be doing something horrible on its own, literally impossible to make it run smoothly. This at least seems to limit excursions to ±10ms and fix the camera flinging back and forth when running the game through Gamescope. --- src/util/config/config.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index c5d8125ec..bfa1ed0b2 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -807,7 +807,7 @@ namespace dxvk { { R"(\\Snowblind\.(SP|MP|exe)$)", {{ { "d3d9.maxFrameRate", "60" }, }} }, - /* Project: Snowblind */ + /* Aviary Attorney */ { R"(\\Aviary Attorney\\nw\.exe$)", {{ { "d3d9.maxFrameRate", "60" }, }} }, @@ -815,6 +815,10 @@ namespace dxvk { { R"(\\drakensang\.exe$)", {{ { "d3d9.deferSurfaceCreation", "True" }, }} }, + /* Age of Empires 2 - janky frame timing */ + { R"(\\AoK HD\.exe$)", {{ + { "d3d9.maxFrameLatency", "1" }, + }} }, /**********************************************/ /* D3D12 GAMES (vkd3d-proton with dxvk dxgi) */