From 2e70a2b07d72b74385590ce35f3a1f3a71d20eeb Mon Sep 17 00:00:00 2001 From: Eric Sullivan Date: Thu, 1 Jun 2023 17:22:07 -0700 Subject: [PATCH] [util] Set maxChunkSize to 1 for the Rockstar launcher and social club Currently when Red Dead Redemption 2 is running the Rockstar launcher, and social club each use over 600MB of VRAM. The root cause of this is DXVK creating two memory pools of 256MB for read, and read/write resources. Reducing the max chunk size to 1MB reduces the memory usage of each to around 40MB. --- src/util/config/config.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 9e9446c5f..c380afae5 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -364,6 +364,14 @@ namespace dxvk { { R"(\\SnowRunner\.exe$)", {{ { "d3d11.dcSingleUseMode", "False" }, }} }, + /* Rockstar Games Launcher */ + { R"(\\Rockstar Games\\Launcher\\Launcher\.exe$)", {{ + { "dxvk.maxChunkSize", "1" }, + }} }, + /* Rockstar Social Club */ + { R"(\\Rockstar Games\\Social Club\\SocialClubHelper\.exe$)", {{ + { "dxvk.maxChunkSize", "1" }, + }} }, /**********************************************/ /* D3D9 GAMES */