PC Definitive Stutter Fix Via Engine.ini Settings

Discussion in 'TSW General Discussion' started by dbrunner#4864, Jun 1, 2023.

  1. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    That’s going to be your CPU I’m afraid. Lowering your graphics settings like that will only exacerbate the problem.
     
    • Like Like x 1
  2. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Interesting. Thats why the GPU fan never kicks in then? So lowering the settings makes it worse? Why is that?
     
  3. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Actually it is a 3060ti with an i5 14400 or something, can't remember and I'm away
     
  4. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Jetwash I downloaded your Lighting and Visual enhancement. Great work it definitely improves things. One thing I noticed is when I opened god mode and selected the ini option top right it then displayed the coding in the window. On every subsequent loading of WCMLS the window is completely empty of code and just says the route in the drop down box. Is this correct?
     
  5. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    No it’s not! I’d ’re-install’ it as it sounds like you may have inadvertently deleted the WCMLS ini
     
    • Like Like x 1
  6. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Weird. I unzipped it, pasted it into the folder where it overwrites the other God mode.sav file is. That is all I have done? Also loaded Blackpool Branches and the ini window was empty
     
    Last edited: Dec 16, 2024
  7. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    I’d download it again as that isn’t right. All routes should have all the individual ini’s in them via GodMode
     
    • Like Like x 1
  8. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    Is not that easy but not impossible either. The thing is that you need to have at least two sets of values depending on the rig the game runs. VRAM is a deciding facture of how much or how high the values for both the memory pool and garbage collector settings can be before people with lower specs can run into crashes. Also keep in mind that you also have consoles in play on top of this.
    As DTG likes the simple way thus keeping a single set of values that works on all scenarios I don't think they will even bother with this and just accept the stutter as it is.
     
  9. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    Good point also. With that set up you should probably be on medium, high at the absolute most with my ini mod
     
    • Helpful Helpful x 1
  10. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    Also use Lossless Scaing from Steam. Capping your in-game fps to 30 and running 2x frame generation in that tool might give you better overall Fps.
     
    • Like Like x 2
  11. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Yes will do. No idea how it's happened as didn't touch anything between it being there then not
     
  12. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Thanks guys. I'll try all the above, not great tech wise but there's no issue if my monitor runs at 75 MHz using the above then?
     
  13. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    You’ll probably be able to change it to run at 60hz, but if you can’t you would simply cap your fps at 37 and set lossless scaling to mode 2 (generating 1 frame for every frame generated by the game) equalling 74fps. The beauty is your hardware is now only having to generate 37fps which makes a big difference.
     
  14. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Yep I see, thanks
     
  15. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Something very wrong since coming back to my pc. There are no ini files for the routes I've loaded. Gong to uninstall god mode and re install.
    Jetwash - is it just a matter of deleting god mode from the folder of is there a proper uninstall process?
     
  16. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    It's ok I've done it and all working
     
  17. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    So I've installed latest godmode and the Tsw5 lighting and visual enhancement v1.41. All good. Using Lossless Scaling as suggested, using the values suggested above and also in the accompanying manual for Lighting and Visual v1.41, as soon as I activate Scale and return to game it blurs and after 5 seconds max just freezes. I can still hear the game running in the background but can only return it to normal by unscaling . Does this on the 3 routes I've tried it on
     
  18. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    If you are on Windows 11 try to select another capture API in the Scaller
    upload_2024-12-17_23-5-32.png
    Switch this from DXGI to WGC as some Windows 11 update made DXGI not reliable.
    See if that helps :)
     
  19. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Thanks very much I'll try that tomorrow
     
  20. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    Are you running the game in Windowed Fullscreen?
     
    • Helpful Helpful x 1
  21. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    Yes I am.
    Have to say that works much better almost 20fps at Euston. I used the engine ini from the opening post also, using a 3500 value for my 8gb GPU. I'm on TSW 5 but seemed fine. Along with your ini files Jetwash.
    One more question - you say it's my CPU holding things back. Is it safe to use that useallcores option alongside where the -dx12 launch option is in steam?
     
  22. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    I still find the FPS extremely low considering you do have a decent CPU

    Hey i have another idea. I don't remember where since its NVIDIA but can you make sure that the game is using your Dedicated video card and not the onboard chip on the CPU?. I think there is an option in Nvidia control panel for that.
    Alternative you can go here, add TSW and select high performance
    upload_2024-12-18_22-48-38.png
    There was an issue for some intel users where the game would use the onboard graphics instead of the dedicated video card resulting in horrible performance.
    Maybe this helps :)
     
  23. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    I'll give that a try tomorrow, thanks for all your help!
    It seems at Euston in particular my pc is not maintaining the base frame rate LS needs to stop it freezing. Don't know if it's of relevance but coming INTO Euston I'm seeing improvements, whilst starting a scenario AT Euston is causing LS to keep freezing and warping the display (a common symptom of not maintaining a base frame rate). In this instance I have to use the windows key to to free it from the freeze
     
    • Like Like x 2
  24. stubbsdonny86

    stubbsdonny86 Active Member

    Joined:
    Dec 23, 2018
    Messages:
    174
    Likes Received:
    63


    Testing the enhancement godmod with the new york trenton line along to see how it holds up with lossless scaling and 24h2 that managed to appear as an option to upgrade. i think the trick is just to wait till it's available to the public instead of trying to force install it. doing it that way is just begging for trouble
     
  25. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    Really weird that it freezes. Never encountered that issue. Must be something else that is producing that. With LS on even for example your base FPS lets say 30 drops it will still work producing twice the fps of whatever you have base as. Should not freeze in any way.
     
  26. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    I read up a bit on it earlier on various forums and it does seem a common issue if it drops below base FPS?
     
  27. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    Well only with the Ultra preset I had a drop on some instances to 20 from set 30. But I had no freezing. Now if the Fps drops to extremely low values like 10 or less I don't know what would happen
     
  28. Ibanez074

    Ibanez074 Active Member

    Joined:
    Jan 11, 2018
    Messages:
    100
    Likes Received:
    48
    I'm going to give the Nvidia control panel a tweak tonight no way I should be dropping that low on frame rates
     
  29. someonedtg#1639

    someonedtg#1639 New Member

    Joined:
    Aug 9, 2022
    Messages:
    1
    Likes Received:
    1
    This still works in 2025. I had horrible performance on my 4060 laptop gpu with 8gb vram and i was wondering why I still had stutters [I upgraded from a gtx 1650 laptop :) ].

    once again really thanks
     
    • Like Like x 1
  30. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    You are welcome, I am glad these have helped some people out. Sadly it does not matter how powerful the rig is, it will still stutter without any adjustments. That is the unreal engines streaming beauty :D
     
    • Like Like x 2
  31. squerble

    squerble Well-Known Member

    Joined:
    Mar 8, 2020
    Messages:
    304
    Likes Received:
    450
    I'm just giving a little bump to this topic. I've come back to TSW5 after a little break, and with new hardware (9800X3D, 64GB RAM + 9070XT).

    Engine settings appear to be working, but I'm still getting a noticeable stutter every second, almost exactly. This happens regardless of movement so must be something outside of the scenery loads etc. I notice it all the time, and it's the same frequency, always. Has anyone else had this? I'm guessing it'll be a game setting, as I'm hardly short of hardware horsepower!
     
  32. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,780
    Likes Received:
    890
    It really is not that the PC has the POWER, it's the game, and if you just started, as you say, the shaders need to get built, usually the stutters get less, but then again, are you using the enhanced ini mod? It really does help make the game better.
     
    • Like Like x 1
  33. squerble

    squerble Well-Known Member

    Joined:
    Mar 8, 2020
    Messages:
    304
    Likes Received:
    450
    As stated, this is not shader stutter. I can just be in first person view, not moving, watching trains go past, and see them stutter in their movement every second. Only mod in use is londonmidland's improved signals mod, and it was happening before that was installed too.
     
  34. hyperlord

    hyperlord Well-Known Member

    Joined:
    May 20, 2019
    Messages:
    1,496
    Likes Received:
    1,541
    squerble You should have a look at JetWash's incredible ini here, absolute game changer visual and smoothess/performance
     
    • Like Like x 1
  35. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,780
    Likes Received:
    890
    I understand what you're saying, as hyperlord stated and linked to the enhanced ini mod, which I ask, if you were using, it is a modified ini mod. Not like a .pak file, and there are plenty of people here with PCs that are well above the specs for TSW, and TSW5 is not optimized well either, as stated by DTG themselves. Also, try running the game with these Steam launch options -DX12 -HIGH -USEALLAVAILABLECORES, and yes, the shaders do make a difference, even just watching the AI trains go by.

    The game needs to build up the shaders; It needs the shaders, the more you play, the better, and every time you change GPU drivers, you will have to build up the shaders by simply playing, this is the nature of the beast. See here where Matt chimes in.
    Core Update | Dovetail Games Forums
     
    • Helpful Helpful x 1
  36. squerble

    squerble Well-Known Member

    Joined:
    Mar 8, 2020
    Messages:
    304
    Likes Received:
    450
    I'm well aware of shader stutter, how it needs to build etc., as I've had a lot of experience with this game and many previous version - in fact I have a few posts in this very topic stating how much of a change the ini tweaks had made for me. This is a new stutter that I've never had before, and it's not shaders.

    Thanks (and to hyperlord ) for the recommendation for JetWash's ini - the problem is that it's not just an ini tweak. I have to install the God Mode mod (it's listed as "Required"), and I don't really want to do that.
     
  37. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,780
    Likes Received:
    890
    I did a bit of research, and not being able to see what you're seeing, here is some info to check out.
    upload_2025-5-1_8-35-39.png
    I did this search only because I once read that AMD GPUs were having issues with TSW or similar games, I was unable to find this info, so I moved on.
    how does train sim world play with 9070xt graphics card - Search
    This video is a bit old, but the best one that explains the setting in the image in the poiler tag.
    Windows Hardware Accelerated GPU Scheduling Benchmarks (Frametimes & FPS)
    And this on AMD and it also talks about the same thing.
    Solved: Re: vr problem with Rx 9070 xt - AMD Community
     
    • Like Like x 1
    • Helpful Helpful x 1
  38. JetWash

    JetWash Well-Known Member

    Joined:
    Mar 6, 2021
    Messages:
    3,157
    Likes Received:
    11,736
    Out of interest, why would you not want to install GodMode? Anyone on PC shouldn’t be playing the game without it!
     
    • Like Like x 5
  39. squerble

    squerble Well-Known Member

    Joined:
    Mar 8, 2020
    Messages:
    304
    Likes Received:
    450
    Holy Jesus, thank you for this find. This has eliminated it completely!

    And I also caved and installed your ini fix + God mode JetWash :) a very nice experience, though I'm still a little uneasy about needing a mod called "God Mode" - from the title, it feels like it's opening up bits of the game the devs would rather we didn't.
     
    • Like Like x 3
  40. SGTDRE

    SGTDRE Well-Known Member

    Joined:
    Sep 6, 2022
    Messages:
    1,780
    Likes Received:
    890
    Your welcome
     
    • Like Like x 1
  41. yyyyyyhn#8571

    yyyyyyhn#8571 New Member

    Joined:
    Aug 15, 2025
    Messages:
    3
    Likes Received:
    1
    Hello guys, I'm saying right away, sorry about my English, I'm writing from an interpreter. I finally read all 7 pages of this topic and a couple of questions came up: The first question (I figured it would be better to improve graphics with jetWash mods), but if I put these mods on, plus God's mods and then at the beginning of this topic, the ini file corrections (to remove the "stutterings") they still won't conflict with each other, will they?



    Plus, since I have nvidia (4060 laptop), I want to move to loss-free zooming, use Nvidia image zoom , but I'll still look at it in the basic version of the game, and plus on YouTube, look at reviews, and maybe solve this issue again. And then there's the thing, if you do take this ini file from here, what values should I put there for my 8GB video card?
    I can't figure out what mods I can download, here on the jetWash website, these mods are 4 pieces and plus in the latter, I assume you need to download it, which has almost 84k downloads, there are still several files from low to ultra, here's the question of whether my system will still pull ultra, for example, if in the basic game I have ultra settings standing and giving out about 50 to 60 fps . It seems that the questions are over, sorry again for the large text and crooked English, I will be very happy if you answer, thank you:)
     

    Attached Files:

  42. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    Hello,

    If you use JetWash mod there is no need to add the settings from here as well since they are integrated in his mod. Just pay attention at the memory pool settings once you modify the engine.ini as instructed in JetWash instructions and also set the proper memory pool values.
    As settings for your 8Gb card i would try
    r.Streaming.PoolSize=3500 or 4000
    r.Streaming.MaxTempMemoryAllowed=1500
    Try those and see how it foes on a demanding route like Frankfurt Fulda

    Good luck :)
     
    • Like Like x 4
  43. BaleineSSJ

    BaleineSSJ Member

    Joined:
    Feb 12, 2023
    Messages:
    55
    Likes Received:
    42
    In my own experience with a 4060. Using Jetwash mod on high makes Frankfurt-Fulda way too laggy in 4K (around 20-30 fps most of the time, but lowering to 10 in plenty of areas)
    EDIT : I didn't meant that the mod made FTF being laggy, I bet it is regardless of using JetWash mod.

    I didn't tried Medium, though.

    To answer you better, you can forget Ultra in 4K, but High is okay on most routes.
     
    Last edited: Aug 17, 2025
    • Like Like x 1
  44. yyyyyyhn#8571

    yyyyyyhn#8571 New Member

    Joined:
    Aug 15, 2025
    Messages:
    3
    Likes Received:
    1
    Hello again, dbrunner#4864 thank you for the ini file settings that are imported into mod jetWash, it's amazing, they really fixed the stuttering after the first run of the route. Here's the first, the second I downloaded ultra mod for jetWash lighting at the beginning and all the other mods that recommend there, also set ultra settings and pps 30 limit in the game, turned on Lossless Scaling, and there he put the latest version of frame generation, plus multiplying them by 4 times, but what confused me was the fps, it was about 30 fps in the game despite what i turned on Lossless Scaling, after that, I decided to download the mod for high settings, and under the same conditions (ultra in the game, plus working Lossless Scaling, but the fps only rose to 60, which is not enough, although I have a monitor of 144 Hz, in the end I settled on fashion in medium settings,in principle, I thought this fashion was not much different from high- and ultra-tweaked mods, so I settled on it . In FullHD, using frame generation, it produces 120 fps per Frankfurt-Fulda way, and it looks amazing, all plus minus is smooth and beautiful, the most that happens is small and rare faint blurs when turning the camera, once every ten such turns around the train, and small stutters when other trains meet, plus still fps drops to 30, at the main station of this route, but it's obvious since the route is difficult, and so I'm very satisfied, this is what I wanted to see, thanks again for these settings and a special thank you jetWash for the fashions. The only question left is what these settings are responsible for.

    r.Streaming.PoolSize=
    r.Streaming.MaxTempMemoryAllowed=
    It's just that the 8GB of video memory fashion instructions have numbers written: 6000 and 3000, and you offered 3500 and 1500, so I don't understand which ones to use or it might be better to bet, although I also have the same plus minus 120 fps on both numbers with the help of Lossless Scaling. So what's interesting?
     
  45. yyyyyyhn#8571

    yyyyyyhn#8571 New Member

    Joined:
    Aug 15, 2025
    Messages:
    3
    Likes Received:
    1
    Hello, thanks for the information too, I have such results in FullHD (above the message), maybe the graphics card from the nvidia 4060 for laptops is weaker, but I am basically satisfied with 120 fps on ultra settings with a mode for medium lighting, since there is a program like Lossless Scaling, it raised 30 fps to 120 with a multiplication of 4 times, for which I say thank you to the developers. I also tried using image scaling, but it somehow spoils detail and washes the picture or makes it too sharp, so it hurts right to the eyes) So I only focused on fps personnel generation. I think other routes will be even better, as Frankfurt-Fulda way is a difficult route.
     
    • Like Like x 1
  46. dbrunner#4864

    dbrunner#4864 Well-Known Member

    Joined:
    Mar 25, 2021
    Messages:
    500
    Likes Received:
    718
    Well i am glad it is working fine for you. Indeed Jetwash's light mod together with the memory optimizations do provide a top notch experience for TSW and is the best you can have right now in terms of graphics and smoothness
    To answer your questions
    r.Streaming.PoolSize=
    This settings will influence how much of the VRAM of the GPU should be allocated to streaming textures. The reason this is always less than the VRAM is because your video card will also store other data like shaders, VFX, geometry data in its VRAM and you cannot have the textures fill it up or else you will find crashes and slow downs.

    r.Streaming.MaxTempMemoryAllowed=
    This is kind of buffer for the texture streaming updates in VRAM. This should ideally be half of your r.Streaming.PoolSize. To big will just waste resources, to small will starve the texture streamer and result in hitches

    Have a nice day :)
     
    • Like Like x 3

Share This Page