S.T.A.L.K.E.R. 2: Heart of Chornobyl

S.T.A.L.K.E.R. 2: Heart of Chornobyl

View Stats:
BICHO Nov 20, 2024 @ 7:13am
For those with suttering issues with Stalker 2 and UE5
Original post on Reddit.

https://www.reddit.com/r/OptimizedGaming/comments/1gr833o/unreal_engine_universal_stutter_fix/

Engine.ini Tweaks

1 - Go to your file explorer and paste the following: C:\Users\%username%\AppData\Local

2 - Now find the name of your game or the name of the developer/publisher of the game

3 - After that go into Saved > Config > WindowsClient or WindowsNoEditor or WinGDK (whichever one appears) then open up Engine.ini

4 - Copy the commands from one of the links below then paste them at the bottom of the Engine.ini file then save (Some games will automatically remove the commands. If this happens right click > Properties > General > Read-only)

UE4/5 Stutter Fix | Less Stutters - Stable - https://pastebin.com/Z4XvQqE8

UE4/5 Stutter Fix | Less Stutters - Beta - https://pastebin.com/Qp6zMmfU

I recommend trying the Stable version first & see if it works, if it doesn't then move onto the Beta version.

Here are some additional commands that can cause issues in some games (crashing, not launching, graphical artifacts, etc). If you need less stuttering add the commands from the "Excluded" list. If you're experiencing issues remove the commands from the "Included" list
Excluded Commands

[/script/engine.renderersettings]
r.SkinCache.CompileShaders=1
r.DiscardUnusedQuality=1
r.CreateShadersOnLoad=1
r.VT.PoolSizeScale=48
r.HZBOcclusion=2
r.DBuffer=0

[/script/engine.garbagecollectionsettings]
gc.CreateGCClusters=1

[/script/engine.streamingsettings]
s.ContinuouslyIncrementalGCWhileLevelsPendingPurge=0

Included Commands

[/script/engine.renderersettings]
r.CreateShadersOnLoad

General Tips

1 - Select DX12/Vulkan > DX11 ingame if it is a supported rendering API (In that order, from best to worse. Most of the time anyway)

2 - Disable overlays (GeForce Experience, Steam, etc) not every game will suffer from stuttering with overlays but a lot of big popular games still do as it messes with GPU utilization
Steam Tweaks

If your game is on Steam right click it, click on properties then in the "Launch Options" field paste the following

Low VRAM

-xgeshadercompile -nothreadtimeout

8GB+ VRAM

-xgeshadercompile -nothreadtimeout -NoVerifyGC

DX11 Game (Forcing DX12)

-force -dx12

DX11 Game (Staying in DX11 / Forcing DX12 doesn't work)

-norhithread
< >
Showing 1-3 of 3 comments
smallcaps Nov 20, 2024 @ 9:22pm 
I've tried to locate the Engine.ini file but I don't see any of the files listed in the OP...
zkalra Nov 20, 2024 @ 9:58pm 
Can anyone confirm? Appears to be a generic post by the OP
Last edited by zkalra; Nov 20, 2024 @ 9:58pm
Denbot Nov 21, 2024 @ 1:18am 
I created the file, I can confirm it impacts the game in a big way, it fails to compile shaders every time
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Nov 20, 2024 @ 7:13am
Posts: 3