From 4fcf28f4dc89094b9ced6ca170f4af26d7d0da01 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 11 Dec 2019 23:01:27 +0100 Subject: [PATCH] [util] Spoof Nvidia cards for Crysis 3 The game for some reason runs significantly slower in CPU-bound scenarios when it recognizes an AMD GPU. On the other hand, there seems to be a small performance hit on an actual Nvidia GPU (GTX 670) in GPU-bound scenarios when doing this, but on most setups the tradeoff should be worth it. --- src/util/config/config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 1c87ab76..6ffc93b3 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -148,6 +148,10 @@ namespace dxvk { { R"(\\mgsvtpp\.exe$)", {{ { "dxvk.enableOpenVR", "False" }, }} }, + /* Crysis 3 - slow if it notices AMD card */ + { R"(\\Crysis3\.exe$)", {{ + { "dxgi.customVendorId", "10de" }, + }} }, }};