From 16d2a6045c12be76de7efbcce4299078726f2d05 Mon Sep 17 00:00:00 2001 From: mbriar Date: Wed, 19 Apr 2023 11:31:43 +0200 Subject: [PATCH] [util] Switch Nioh deferSurfaceCreation from dxgi to d3d9 This game seems to behave similar to all the Tecmo Koei Atelier games and not deferring surface creation for d3d9 prevents VRR from working on X11. --- src/util/config/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index b26e74e8..fec82695 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -68,9 +68,9 @@ namespace dxvk { { "dxgi.deferSurfaceCreation", "True" }, { "d3d11.cachedDynamicResources", "c" }, }} }, - /* Nioh: See Frostpunk, apparently? */ + /* Nioh: Apparently the same as the Atelier games */ { R"(\\nioh\.exe$)", {{ - { "dxgi.deferSurfaceCreation", "True" }, + { "d3d9.deferSurfaceCreation", "True" }, }} }, /* Quantum Break: Mever initializes shared * * memory in one of its compute shaders. *