From 892f676605e23455df2231b2315edf8c7fbe9648 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Wed, 2 Nov 2022 13:32:28 +0100 Subject: [PATCH] [util] Disable direct buffer mapping for Dragon Age Origins --- src/util/config/config.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index fad24021e..ec4529fd0 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -634,6 +634,13 @@ namespace dxvk { { R"(\\(hammer(plusplus)?|mallet|wc)\.exe$)", {{ { "d3d9.apitraceMode", "True" }, }} }, + /* Dragon Age Origins * + * Keeps unmapping the same 3 1MB buffers * + * thousands of times when you alt-tab out * + * Causing it to crash OOM */ + { R"(\\DAOrigins\.exe$)" , {{ + { "d3d9.allowDirectBufferMapping", "False" }, + }} }, }};