Bad Stuttering

Discussion in 'TSW Troubleshooting & Issues Discussion' started by ethcr#4723, Jun 28, 2023.

Tags:
  1. ethcr#4723

    ethcr#4723 Member

    Joined:
    Sep 5, 2022
    Messages:
    56
    Likes Received:
    9
    Hi I'm getting bad Stuttering from 40 FPS to 20 FPS in the same place on all routes. Most recently on Glossop. It's so annoying, I have decent specs. Tried all the fixes for it. It wasn't like it a few weeks ago. Any help will be appreciated. Maybe we can convince DTG to address the issue. But I still think it's a problem on my end hence not having it before.
     
  2. rennekton#1349

    rennekton#1349 Well-Known Member

    Joined:
    Jun 5, 2022
    Messages:
    7,574
    Likes Received:
    4,889
    What platform? That's also expected due to the nature of tsw and the engine itself
     
  3. ethcr#4723

    ethcr#4723 Member

    Joined:
    Sep 5, 2022
    Messages:
    56
    Likes Received:
    9
    Pc
     
  4. Omnicitywife

    Omnicitywife Well-Known Member

    Joined:
    Apr 13, 2022
    Messages:
    600
    Likes Received:
    706
    First of all, what is "decent specs" in this case?
     
  5. okay if your on PC there is a way that can fix all your issue use the legend engine.ini settings i did this a few days ago and wow what a change in the way the game plays its so smooth few spikes here and there but nothing like it was before i did this so read the message below this is copy from a post i seen few days ago.

    Since TSW3 came out i am using custom unreal engine settings that stop stuttering on any route once an initial run has been done with these tweaks.

    This settings come from a legendary but forgotten thread about Unreal engine ini tweaking that got quite close to getting rid of the stutter problem

    The problem on short, tile loading (same issue on TSC on very detailed routes) and more pronounced shader compilation that is affecting a lot of Unreal engine games (Callisto protocol, Star Wars Fallen Order etc). The latter one causes shaders to be compiled constantly, causing delays in the graphic pipeline and resulting in massive stutters that occur on any pc regardless of how awesome the config is

    So how to fix this?
    Steps:
    1.Go to Documents\My Games\TrainSimWorld3\Saved\Config\WindowsNoEditor
    2. Make a backup of your Engine.ini, then open the original one
    3. Copy the following settings and paste it in your Engine.ini

    [SystemSettings]
    r.CreateShadersOnLoad=1
    r.Streaming.LimitPoolSizeToVRAM=0
    r.Streaming.PoolSize=7000
    r.Streaming.MaxTempMemoryAllowed=3000
    r.RenderTargetPoolMin=1200
    r.Streaming.FramesForFullUpdate=2
    r.Streaming.Boost=2
    r.GTSyncType=1
    r.OneFrameThreadLag=1
    s.ForceGCAfterLevelStreamedOut=0
    s.ContinuouslyIncrementalGCWhileLevelsPendingPurge=0
    s.LevelStreamingComponentsUnregistrationGranularity=10
    s.LevelStreamingComponentsRegistrationGranularity=30
    r.Streaming.NumStaticComponentsProcessedPerFrame=200
    gc.TimeBetweenPurgingPendingKillObjects=200

    ****** if you have a video card with 6GB of ram you need to change
    r.Streaming.PoolSize=7000 to 3500
    r.Streaming.MaxTempMemoryAllowed=3000 to 1500

    4. Save the changes
    5. Set -dx12 to TSW3 launch options (might work on DX11 fine but i never run it that way)
    6. Launch the game, select a route and run a scenario/timetable once
    **** You will stil see stutters and that is normal since the shaders are compiled as they would normally. Stutter intensity will decrease as you go on with your run and the shader cache is being build. Finish the scenario/timetable route and exist to main menu (required only once)

    7. The magic step, play any scenario/timetable run on the the same route again (it doesn't matter if you restart your pc, close TSW etc)
    Enjoy almost 0 stutters any route , as now the shaders are loaded at the start instead of constant compilation

    On short, running a route initially will still result in some stutters as the shaders are still compiled but also they are saved. When running the route a second time you will see a massive difference in stuttering as the game now loads the shaders instead of creating them each time.

    Notes:
    When reinstalling the video card drivers, you will need to go trough the routes again with step 6 as the shaders cache will be deleted.
    If you get crashed on long routes like KSW or SEHS it means that the settings are to tight for your pc, post here and i will try and find some looser settings :)

    If you got this far with reading thanks, sorry for the long post but i do hope this helps people enjoy the game as it should be played.
     
    • Helpful Helpful x 1
  6. ethcr#4723

    ethcr#4723 Member

    Joined:
    Sep 5, 2022
    Messages:
    56
    Likes Received:
    9
    I've tried that. It don't work. I run DX12. Rtx 2060 top end I7. 32 GB ram and an SSD.
     
    • Like Like x 1
  7. dtg_jan

    dtg_jan Community Manager Staff Member

    Joined:
    Apr 17, 2023
    Messages:
    764
    Likes Received:
    3,009
    Hey there :)

    Just looked through our system and I think you raised a ticket about this just a short while ago, correct? If not, can I ask to do so here please: Support : Dovetail Support
    Please make sure to add details like PC specs and what version of the game you are running, thank you!
     
  8. DTG-Chris

    DTG-Chris Staff Member

    Joined:
    Aug 20, 2020
    Messages:
    837
    Likes Received:
    674
    Please note that modifying your game files is something you will have to do at your own risk, as it may not have the desired result for everyone. The same with using the "-dx12" parameter, as DirectX 12 is not supported and may have undesirable results depending on your hardware.
     
  9. ethcr#4723

    ethcr#4723 Member

    Joined:
    Sep 5, 2022
    Messages:
    56
    Likes Received:
    9
    No matter how bad my settings are. I still get FPS drops.
     
  10. oporopolist#1682

    oporopolist#1682 Member

    Joined:
    Jan 9, 2022
    Messages:
    56
    Likes Received:
    87
    LOL The Windows Store version of TSW uses DX12 by default! Good to know the game I just purchased from the Windows store is running in a configuration that "isn't supported and may have undesirable results depending on your hardware."
     

Share This Page