From 53f4766a3ebfdd17dbec66ae77551d8c3f3cce6f Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sat, 10 Apr 2021 23:01:16 +0200 Subject: [PATCH] st/nine: Lower texture_memory_limit default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 512 MB is too ambitious as default value. 128 MB seems safer, and users can increase the limit manually for the few games that would benefit from it. Also fixes a typo in the description Signed-off-by: Axel Davy Acked-by: Timur Kristóf Part-of: --- src/util/driconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/driconf.h b/src/util/driconf.h index dc31d5b0129..1f6c9f95d69 100644 --- a/src/util/driconf.h +++ b/src/util/driconf.h @@ -415,8 +415,8 @@ "If set to true, recompile shaders with integer or boolean constants when the values are known. Can cause stutter, but can increase slightly performance.") #define DRI_CONF_NINE_SHMEM_LIMIT() \ - DRI_CONF_OPT_I(texture_memory_limit, 512, 0, 0, \ - "In MB the limit of virtual memory used for textures until shmem files are unmapped (default 512MB, 32bits only). If negative disables shmem. Set to a low amount to reduce virtual memory usage, but can inccur a small perf hit if too low.") + DRI_CONF_OPT_I(texture_memory_limit, 128, 0, 0, \ + "In MB the limit of virtual memory used for textures until shmem files are unmapped (default 128MB, 32bits only). If negative disables shmem. Set to a low amount to reduce virtual memory usage, but can incur a small perf hit if too low.") #define DRI_CONF_NINE_FORCESWRENDERINGONCPU(def) \ DRI_CONF_OPT_B(force_sw_rendering_on_cpu, def, \