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,122
    Likes Received:
    11,670
    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,122
    Likes Received:
    11,670
    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,122
    Likes Received:
    11,670
    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:
    489
    Likes Received:
    692
    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,122
    Likes Received:
    11,670
    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:
    489
    Likes Received:
    692
    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,122
    Likes Received:
    11,670
    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:
    489
    Likes Received:
    692
    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,122
    Likes Received:
    11,670
    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:
    489
    Likes Received:
    692
    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:
    489
    Likes Received:
    692
    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:
    489
    Likes Received:
    692
    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:
    489
    Likes Received:
    692
    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:
    264
    Likes Received:
    398
    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,570
    Likes Received:
    816
    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:
    264
    Likes Received:
    398
    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,489
    Likes Received:
    1,527
    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,570
    Likes Received:
    816
    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:
    264
    Likes Received:
    398
    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,570
    Likes Received:
    816
    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,122
    Likes Received:
    11,670
    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:
    264
    Likes Received:
    398
    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,570
    Likes Received:
    816
    Your welcome
     
    • Like Like x 1

Share This Page