From 680bbdeb99416c38b2f910f42d2b5b52a05ae885 Mon Sep 17 00:00:00 2001 From: Mark Glass <127671029+robber804@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:39:16 -0500 Subject: [PATCH] Update setvram.lua test, 4000 streaming pool prevents crashes entering dogtown --- .../mods/UltraPlus/helpers/setvram.lua | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/bin/x64/plugins/cyber_engine_tweaks/mods/UltraPlus/helpers/setvram.lua b/bin/x64/plugins/cyber_engine_tweaks/mods/UltraPlus/helpers/setvram.lua index 65d3236..1dd51b8 100644 --- a/bin/x64/plugins/cyber_engine_tweaks/mods/UltraPlus/helpers/setvram.lua +++ b/bin/x64/plugins/cyber_engine_tweaks/mods/UltraPlus/helpers/setvram.lua @@ -32,15 +32,15 @@ function Config.SetVram(vram) end if vram == Var.vram.GB4 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '1.5') - Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '600') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '1.5') + Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '4000') Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '512') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '64') Cyberpunk.SetOption('RayTracing/DynamicInstance', 'UpdateProxyNumMax', '128') - Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '300') - Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '300') + Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '500') + Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '500') Cyberpunk.SetOption('ResourceLoaderThrottler', 'FloodMinNonLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'StreamMaxLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'TrickleMaxLoadingThreads', '1') @@ -55,15 +55,15 @@ function Config.SetVram(vram) end if vram == Var.vram.GB6 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '3.0') - Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '1500') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '3.0') + Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '4000') --was 1500 Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '512') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '64') Cyberpunk.SetOption('RayTracing/DynamicInstance', 'UpdateProxyNumMax', '192') - Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '300') - Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '300') + Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '500') --was 300 + Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '500') --was 300 Cyberpunk.SetOption('ResourceLoaderThrottler', 'FloodMinNonLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'StreamMaxLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'TrickleMaxLoadingThreads', '1') @@ -77,15 +77,15 @@ function Config.SetVram(vram) end if vram == Var.vram.GB8 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '4.0') - Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '2000') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '4.0') + Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '4000') --was 2000 Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '768') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '80') Cyberpunk.SetOption('RayTracing/DynamicInstance', 'UpdateProxyNumMax', '224') - Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '300') - Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '300') + Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '500') --was 300 + Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '500') --was 300 Cyberpunk.SetOption('ResourceLoaderThrottler', 'FloodMinNonLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'StreamMaxLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'TrickleMaxLoadingThreads', '1') @@ -104,15 +104,15 @@ function Config.SetVram(vram) end if vram == Var.vram.GB10 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '5.0') - Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '2500') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '5.0') + Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '4000') --was 2500 Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '1024') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '80') Cyberpunk.SetOption('RayTracing/DynamicInstance', 'UpdateProxyNumMax', '224') - Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '300') - Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '300') + Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '500') --was 300 + Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '500') --was 300 Cyberpunk.SetOption('ResourceLoaderThrottler', 'FloodMinNonLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'StreamMaxLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'TrickleMaxLoadingThreads', '1') @@ -131,15 +131,15 @@ function Config.SetVram(vram) end if vram == Var.vram.GB12 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '6.0') - Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '3000') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '6.0') + Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '4000') --was 3000 Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '1024') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '96') Cyberpunk.SetOption('RayTracing/DynamicInstance', 'UpdateProxyNumMax', '224') - Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '400') - Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '400') + Cyberpunk.SetOption('Streaming', 'MaxNodesPerFrame', '500') --was 400 + Cyberpunk.SetOption('Streaming', 'EditorThrottledMaxNodesPerFrame', '500') --was 400 Cyberpunk.SetOption('ResourceLoaderThrottler', 'FloodMinNonLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'StreamMaxLoadingThreads', '2') Cyberpunk.SetOption('ResourceLoaderThrottler', 'TrickleMaxLoadingThreads', '1') @@ -185,8 +185,8 @@ function Config.SetVram(vram) end if vram == Var.vram.GB20 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '10.0') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '10.0') Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '5000') Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '1024') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '128') @@ -212,8 +212,8 @@ function Config.SetVram(vram) end if vram == Var.vram.GB24 then - Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) - Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '12.0') + --Cyberpunk.SetOption('Rendering', 'FakeOverrideGPUVRAM', true) + --Cyberpunk.SetOption('Rendering', 'FakeGPUVRAM', '12.0') Cyberpunk.SetOption('World/Streaming/PersistencyCache', 'PoolBudgetKB', '6000') Cyberpunk.SetOption('Rendering', 'DistantShadowsMaxBatchSize', '1024') Cyberpunk.SetOption('RayTracing', 'AccelerationStructureBuildNumMax', '128')