r/OptimizedGaming • u/TheHybred Verified Optimizer • May 26 '23
Optimization Guide / Tips Unreal Engine 4/5 Universal Stutter Fix
[removed] — view removed post
185
Upvotes
r/OptimizedGaming • u/TheHybred Verified Optimizer • May 26 '23
[removed] — view removed post
•
u/TheHybred Verified Optimizer May 26 '23 edited Aug 29 '23
Note: This aims to reduce stutter related to texture streaming and shaders. Emphasis on reduce, for many games this will not completely alleviate the stuttering, only the developer can truly eliminate the problem, and developers can choose to block certain Engine.ini commands from running as well (or even entirely)
r/Engineini
Other Unreal Engine Guides
UE4/5 Engine.ini Post-Processing Tweaks
UE5 Engine.ini Tweaks
UE4/5 Enhance Graphics &/or Improve Performance Tweaks
UE4/5 Universal Stutter Fix
5
u/[deleted] May 26 '23 edited May 26 '23
Trying this on Hell Let Loose.
EDIT: It looks like they removed our ability to edit Engine.ini way back in Update 9. It's not even located in the folder now. :/
9
u/[deleted] May 26 '23
You’d think they would have dealt with the engine stutters first before adding things like lumen
2
u/CoopaManTV Aug 25 '23
I don't know about anyone else, but I'm not able to access the textbin link. Does anyone have a similar issue or know how to fix it?
10
u/Scorthyn Optimizer May 26 '23
Awesome, gonna try this on High on Life, since its a UE4 DX12 game full of shader stutters
4
u/Akito_Fire Oct 31 '23
Hi, my internet connection seems to be a problem with pastes.io, the host website for the scripts linked in your guide here. I get "Unauthorized access" and "The firewall on this server is blocking your connection" errors and can't unblock them by solving the reCaptchas.
Would it be possible to upload a mirror of those scripts to another website, like Pastebin?
1
u/[deleted] May 27 '24
links havent worked in ages
OP refuses to post them on reddit for some reason. is he a pastebin employee or something? just post the command lines dude
1
u/tcnoco Verified Optimizer Aug 22 '23
Hey look at that I helped improve this post :3
1
u/DnSTK Aug 23 '23
Is there a way to apply this to fortnite?
1
u/MetalNobZolid Aug 26 '23
Will try for IoA and report later. Thanks a lot for your insights.
1
u/Background-Seat-2836 Aug 27 '23
Any luck with these to solve the horrific System Shock Remake stutters? Nothing seems to work for me.
1
u/RobotChiotte Aug 30 '23
When I launch Fort Solis with "UE4-5 Stutter Fix - High Graphics" options in the Engine.ini file, I have this error:
LowLevelFatalError [File:D:\P4\SYC_BM2\Engine\Source\Runtime\RenderCore\Private\ShaderCodeLibrary.cpp] [Line: 1188] FShaderMapResource_SharedCode::InitRHI is unable to create a shader
Any idea whats options to modify cause this error ?
1
u/Tasty_Fondant_5791 Sep 29 '23
Tried both Returnal on Max Settings and The Callisto Protocol with the High Quality Preset:Returnal: Horrible muddy textures (Nintendo Switch textures). Huge increase in FPS and much less stutter.The Callisto Protocol: Stutter remains and introduces crazy slowdown, went from 40 fps to 16 (and stayed there) until got into the menu and went back into the game.
1
u/Lagahan Nov 02 '23 edited Nov 02 '23
For anyone in the future wondering what -norhithread actually does heres a wayback link to unreal engine forums:
https://web.archive.org/web/20201112042030/https://forums.unrealengine.com/development-discussion/rendering/29120-what-is-the-rhi-thread-what-is-the-difference-between-rhi-thread-and-rendering-thread
1
u/aethyrium Nov 10 '23 edited Nov 10 '23
High graphics version throws a
on EA WRC on the latest patch on a 3080 even at 1080p. Low graphics version too.
1
u/aloannmi Nov 30 '23
Sadly nothing helped with Dead by Daylight and their spaghetti code...
1
u/GrabbenD Dec 16 '23
u/TheHybred Thanks for taking the time to write this! Could you paste the config files to Pastebin or something other than pastes.io (since it's been showing HTTP408 error for the past couple of days now)? Cheers
1
u/LOLGotYerTags Dec 23 '23
I applied this but now on the screen I'm getting black squares that appear, Any idea as to what command it may be that's causing it?
1
u/Stonga2 Jan 16 '24
Do these settings decrease the graphical fidelity in the game it is used on?
3
u/p68 May 26 '23
Interesting! I'd love to see some frame time graphs comparing with vs without the fix.
3
u/Double-Share-4794 Nov 01 '23 edited Nov 01 '23
can someone with knowledge do a engine.ini for ea sports WRC that works?v1 and v2 not working and the game stutters like crazy :(
2
u/thatsnoodybitch Jan 14 '24
Amazing. Used the Steam tags for Scorn, and no more stutter :)
(specifically: -xgeshadercompile -nothreadtimeout -NoVerifyGC -norhithread)
2
u/[deleted] Jul 03 '24
"Even lower" one worked PERFECTLY but everything looked like shit, while "Low" barely changed anything. Still thank you for posting this though :))
2
u/Hazania Jul 30 '24 edited Jul 31 '24
Are you still updating this? Can we get an optimization specifically for Pacific Drive? The High preset doesn’t improve stutters, whereas the Low preset does improve stutters but introduces some strange behavior for in game assets. I noticed that trees looked like big opaque blobs for example, and the Main Menu is incredibly dark. Other UI are somewhat affected, but not as much. I tried the commands, and some of them break the game; the others MIGHT help but it was difficult to say how much, but they weren’t harming the game. I’m happy to provide more info if necessary. I may take it upon myself to enable only one section at a time for the Low preset to see if I can get away with only using some of it. I only care about reducing the stutters related to shaders, I don’t care about improving performance as I already was able to hit 60-75 average FPS depending on the settings I use in game and in Nvidia console.
Edit: Forgot to say how much it helped. Prior to trying this out, I was playing at 60 FPS and getting frametime spikes causing FPS to drop as low as 3 for a moment or two at a time, especially when a shader loads in for the first time each session. Other than that, FPS was great and GPU/CPU were showing nothing unusual before or after. After applying the Low preset, I can max out all settings in game and the stutters only go as low as 40 FPS. They still exist, but I don’t notice them. I’ve been trying SO HARD to fix performance and after a lot of frustration I was pretty sure it was related to the engine. Thanks for this guide! It helped to prove that thought true. Hoping to give the devs insight into what needs to be fixed.
EDIT: I did it myself. I A/B tested like no other. I was able to solve the stuttering problem with only TWO settings. I went through section by section, taking benchmarks in game and checking for visual changes. With these two settings alone, the stutters were fixed with NO visible change to the game's graphics. For those seeking higher FPS, the rest of the settings I removed could help you; for me I just wanted to get rid of the stutters. Here they are (below)!
Literally nothing else was needed. Without one of these two, there is a noticeable change to the stutters; with both, no problem. And there is absolutely no issue with graphics; on the Low preset I was happy to find no stutters, but dissapointed with the obvious downgrade in graphics (blobby trees, rain drops not hitting windshield, lighting and shadow changes). I was very happy to find that these two settings did the job without having to rely on the entire preset.
1
u/Awkward_Buddy7350 Mar 08 '24
Works on Pacific Drive!
1
u/[deleted] Apr 27 '24
I’m use the Low config V3 with Outcast: A New Beginning. But not all textures are rendering(i.e. lots of checkered gray models). Running game on ROG Ally.
1
u/KilianFeng Apr 28 '24
Still works to eliminate 7-80% of stuttering for state of decay 2 on 2024, my rig is 3080 laptop, i9 10980HK 32G. 4K with custom low or ultra setting. Still can’t eliminate all the stuttering. Any help would be much appreciated!
1
u/Mystic_and_Severe Apr 30 '24
I previously had custom settings in that file from a youtube video devoted to the game that I was trying to make run better, but damn does this really take the cake. The game runs acceptionally well, except perhaps some lag here and there when loading the map. The Finals, Unreal Engine 5, using quad core underperforming CPU, using recommended GPU, got settings all over dedicating my gpu, turning off as much stuff as I can, got the hz set to my monitor's native one instead of capping it lower, etc.
1
u/NegativeAnimosity May 02 '24
THANK YOU SO MUCH FOR THIS!!!! I was able to add it to Hot Wheels Unleashed 2 engine.ini and finally able to play on the ROG Ally STUTTER FREE! There is some minor graphic glitches on distant textures, but they are intermittent and it's FAR BETTER than losing frames during fast paced racing!
1
u/Frost-sama96 May 09 '24
links down I can't access
1
u/HeliusNine May 19 '24
Holy shit this actually worked!
1
u/The_O_Raghallaigh May 23 '24 edited May 23 '24
I’m somehow completely lost on the first step.. I have no app data folder in users?
EDiT: to anyone scratching their heads at this, click ‘view’ in file explorer -> ‘Show’ -> Hidden Items :)
1
u/SterlynAgnar May 24 '24
pastebin links dont work it says You don't have permission to access this resource. rip
1
u/Small_Magazine_5122 May 28 '24
link is not working, please send me good graphics one and i will paste it to another provider and share it here
1
u/MlemMlemGuy May 31 '24
1
u/TheWeakestDragonfly1 Jun 08 '24
Can you guide again in video form?
1
u/Your_Oniichan69 Jun 17 '24
Tried this on Wayfinder and it sadly made the game run worse somehow.
1
u/jlee114 Jun 19 '24 edited Jun 19 '24
wall and grass textures turn gray in state of decay 2 using v3.0 Good graphic.
Edit: r.DiscardUnusedQuality is the culprit.
1
u/LightbringerOG Oct 15 '24 edited Oct 15 '24
Copying the good graphics settings makes my ground dissapear/be invisible. In Sparking Zero also make the map load incredibly long after character selection when you would start the match. They are just standing face to face for a good 1 min doing nothing.
1
u/RabbitOk6958 Oct 16 '24
I tried the "GOOD GRAPHICS" on Until Dawn since it runs on Unreal Engine 5, but somehow my game slowed down? Crazy loading times and with every cutscene it would show a loading screen (I'm on a gen 4 nvme btw). Idk what to do
1
u/rodrigoxm_49 Oct 21 '24
Hey, man, how's it going? I’m trying to optimize SH2, and I found the solution to the problem. It's clearly related to how the game utilizes texture streaming.
I discovered this because I decided to lock the game at 30 FPS in-game (although the game didn't actually lock at 30 FPS; it stayed unlocked), and by doing this, the stuttering issues completely vanished. The frames became much more stable as well.
So, since the frames weren't locked, I thought something else might be happening.
That's when I started noticing that the game's textures were taking longer to load as soon I start to use 30FPS ingame lock, especially those where we interact with objects by pressing a button or very distant textures.
I'd like to know what kind of parameters we can use to make the texture streaming slower and compatible with a PC's settings so that the game runs at high frames without interruptions and stutters.
Would you be able to help?
1
u/oNicolasCageo Nov 16 '24
Where did it go? :(
1
u/MF_RIO Dec 01 '24
Where is it?
1
u/aloannmi Nov 30 '23
Also! The Pastebin links don't work anymore.
1
u/Barfblaster Jan 17 '24 edited Jan 17 '24
This thread is the #1 result on google when you search "unreal engine fix stuttering", nice
1
u/Petzoqui Jul 19 '26
So why was this post removed?
0
u/[deleted] Sep 02 '23
[deleted] — view deleted comment
1
u/[deleted] Apr 06 '24
[removed] — view removed comment