Is It Me?

Discussion in 'Technical Reports' started by martschuffing, May 19, 2023.

  1. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,009
    Likes Received:
    739
    Or are there more oom errors since the core has been tinkered with? I'm certainly noticing a lot now, it was pretty stable before all this messing in the gubbins of the core!
     
  2. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    One of the solutions is to verify files. Why do the files keep changing? Why do we need to keep validating? What is changing in the background?
    I am going to keep a log. Validate my files at the end of each day and see if there is any correlation.
     
  3. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    OK this system is starting to get unplayable. Just received 2 OOMs in 'virgin' USA DLCs I bought directly from Steam. The OOMs occurred after I had just verified my local files. CSX Hanover Subdivision and Clinchfield Railroad U36C Loco. What is wrong with this file structure? Why does it keep creating errors which requires me to verify the integrity of the local files? Also Colton & Northern is just blank. I have reloaded the DLC and there are no Scenarios available on the menu. They do show in Locoswap. Why release new DLC when the existing DLC wont even work?
    Running 64bit software!
    Processor 11th Gen Intel(R) Core(TM) i7-11700F @ 2.50GHz, 2496 Mhz, 8 Core(s), 16 Logical
    System Model B560 DS3H AC-Y1
    Installed Physical Memory (RAM) 32.0 GB
    C: SSD Size 465.06 GB (499,356,004,352 bytes)
    D: Hard Drive Size 931.50 GB (1,000,186,310,656 bytes)
    Railworks: 480 GB - 624,588 files 51,132 folders 365 DLC

    I am coming to the conclusion the file structure just cannot cope!

    Respectfully
     
    Last edited: May 19, 2023
  4. Tigert1966

    Tigert1966 Well-Known Member

    Joined:
    Aug 18, 2020
    Messages:
    2,201
    Likes Received:
    3,698
    I’m having the complete opposite experience. I used to get a lot of OOMs usually at least one in a 3 hour session. Since the update, I’ve had one in 30 hours of gameplay. (25 hours in 64Bit 5 hours in DX12). I think I was the cause of the error in this case as I was running other stuff on my PC.

    No idea why you would have to validate your files so often. I have never done it until tonight when I tried it just to see what it said and it didn’t report anything.

    For reference

    I9 10900K
    3080
    32gb memory
    Windows 10
    Game installed on a separate SSD to Windows
    Also running RW Enhancer 2
     
  5. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    How many DLCs are you running on your pc Tiger?
     
  6. Tigert1966

    Tigert1966 Well-Known Member

    Joined:
    Aug 18, 2020
    Messages:
    2,201
    Likes Received:
    3,698
    Not as many as you. I’d guess around 100 possibly a few more. At the moment I have them all installed as I took a break from TSC and am just getting back into it. But I’ll slim that down to about 40 that I intend to play the most.

    I haven’t tried editing any scenarios on the latest version yet, but I have a lot downloaded from the workshop and they have all worked fine so far. I’d say most of my time has been spent in Quick Drive.
     
  7. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    OK I think I know what is happening AND I think I have fixed my side of the OOM equation.

    Hypothesis - All to do with the TSC Menu. We had photo issues earlier. The 180 issue I saw was directly related to the exit to the Menu and the look-up process used to exit. What I did this time was unloaded EVERY scenario - excluding additional DLCs like Railworks and US, European and UK support packs. Now my Menu has everything on one page rather than 10 pages of Career and 8 pages of Standard DLCs. This worked with the CSX Hanover pack.

    The current TSC Menu system is no longer able to carry the load of a huge amount of DLCs with validation of completions/achievements etc. By removing any DLCs which I am currently not using from the Menu (I did not delete the assets/scenarios structure in the RailWorks folder) I believe I now have a working Simulator able to run very high graphics.

    Let us see what DTG finds :)

    Until this error gets fixed I will only be having one Menu DLC active at any time. I am hopeful the DirectX12 performance will solve this as I have already seen that the menu structure is much faster operating.
     
  8. martschuffing

    martschuffing Well-Known Member

    Joined:
    Aug 8, 2020
    Messages:
    1,009
    Likes Received:
    739
    It will help if you get Raiworks out of program files its security is anathema to the fluid running of TSC in my experience. I have also taken TSC out of the purview of Steam too since the ap file structure doesn't work for my copy and these auto verify's keep destroying my 3rd party mods.
     
  9. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,178
    Likes Received:
    3,170
    You mentioned in another thread about using the DX12 version - a lot of people have found that is unstable for them.
     
  10. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,178
    Likes Received:
    3,170
    I will have to disagree with you regarding the number of things in the TSC Menu.

    The game may tell you that you have loads of different trains and routes but the game will only load what you ask it for.
    You run a US Scenario and the game will ignore everything that is not a related asset.

    I just tried a Quick Drive and when choosing the train I have to pick from 102 pages at 9 trains to a page
    Then I have to pick from 15 pages of routes - both payware and freeware.
    I'm not having any OOM problems with my setup
     
  11. maxtedrw

    maxtedrw Active Member

    Joined:
    Sep 24, 2020
    Messages:
    168
    Likes Received:
    223
    I tend to agree with 749006. I am not sure that the menu is the issue here - not saying it isn't but am saying its highly likely that changing the scenarios to remove them from the menu fixes the issue becuase the fault lies with the scenarios. I have multiple menu pages for routes / scenarios and locos and do't get OOM from these. I only get OOM when I ask a scenario to do something that means there is some form of conflict within that scenario. I am currently searching down the problem in a scenario with an OOM inducing error that can be simply stopped by removing a particular AI train and its routing. I don't understand why the route is a problem yet but I do know that I can induce an OOM error consistently by adding in this particlar AI routing. I genuinely think that the error you are seeing is caused by problems with the scenario (s) you are using. However, what that problem is can probably only be identified by taking the scenario apart piece by piece. Some of the errors I get are caused by routing issues so obtuse and often as a result of things happening at some great distance from the player train that it is very easy for me to try to solve completly the wrong problem.
     
  12. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    Maybe it is a different reason. I do feel that having less files to validate makes the process easier. I was having OOM errors with 2 routes I had never used before. I had already validated my files. It took over an hour to validate. With fewer items on the menu (i.e. many DLCs switched off in the DLC Steam window) the validation process is much quicker and I did not get any OOMS. Will see how I get on today using this strategy :)

    Looks like having fewer DLCs active in the Steam Menu (The TSC menu still has the old data loaded) is solving my OOM issues. Load all of my Steam DLCs I get OOMs. Only have a fraction of active Steam OOMs (Steam DLC on/off screen) OOMs are not there!
     
    Last edited: May 20, 2023
  13. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    921
    Likes Received:
    747
    I never get OOMs during scenarios. The OOMs I do get are during route editing and usually when picking up and moving a long consist or adding a problematic asset, usually a locomotive.
     
  14. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    Interesting. How many ‘Active’ DLCs do you have triggered via the Steam interface? I am convinced this has stopped my OOMs. Only switch on what is necessary
     
  15. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,178
    Likes Received:
    3,170
    I have 336 items in my DLC list but 71 are not installed..
    Again that number makes no difference to have the game run as it only loads what you ask it to.
    If you have a Free Roam scenario on a US route you will only be able to place the Default Loco & Stock for that route and Maybe the stock from the USL&AP.
    Unless you tick the Product/Provider box to add additional items of stock they don't load in to DLC list
    And when the Scenario starts only those items you have selected via the Product/Provider box will load in to the game
     
  16. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    I respectfully disagree. The scenario may only be loading the necessary consist. I believe there is some form of interaction between what is being recorded in the Steam achievements and results and the actual performance of TSC. This appears to be part of the menu structure as it can be used to compile current stats and achievements. I believe the base TSC is running correctly. When I analyzed the output file of the OOM crash there were checks for loaded DLC and performance of the run. My suspicion is regarding the Steam/TSC interaction. Smaller quantities of Steam DLC means less data to validate.

    When I have all of my Steam DLC loaded I see a longer compilation time and more times when I show errors when I validate my local files as well as more OOMs. When I have less Steam DLC loaded it takes less time to compile the menu, no errors from validation of local files and no OOMs. This is all Steam provided DLC which makes this happen.

    My lesson learned is small quantities of Steam DLCs loaded equals happiness. Of course I can switch on/off DLC as needed since I already have a full catalog of my content arranged in a MS Access database.
     
    Last edited: May 21, 2023
    • Helpful Helpful x 1
  17. OldAlaskaGuy

    OldAlaskaGuy Well-Known Member

    Joined:
    Dec 12, 2016
    Messages:
    921
    Likes Received:
    747
    To put more light on the subject. The consists of which I speak have heavily scripted rolling stock and locomotives and usually consist of 70- to over 100 pieces.
     
  18. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,178
    Likes Received:
    3,170
    The one difference is you seem to validate your downloaded files a lot more often than I do.
    I have not used the "Steam - Validate Local Files" this year and I get very few OOMs.

    However - I respect you opinion of what works on your system.
     
  19. maxtedrw

    maxtedrw Active Member

    Joined:
    Sep 24, 2020
    Messages:
    168
    Likes Received:
    223
    rwaday - a flickering lightbulb moment when you mentioned long consists - not saying its a cause but perhaps something to think about. Based on my experiance here is a short story.... I had a section of track which had a section signal (home signal ??) at the start, a long section of track, then a short (180m) station platform that had a section signal at roughly each end of the platform (the start and finish ), then a long section of track to the next signal before which was a portal. Most of the time I could start an AI train before the platform (TRAINA) and have one ready to enter the starting section (TRAINB). As I approached the train A near the platform it started and trundled on its way. At the same time the train B at the start of this whole track layout also started. All went well with train B clearing the signal at the entrance to the platform, because it was green, and then holding at the red signal at the further end of the platform until train A reached the portal and disappeared. At which point train B got the green and moved off.
    Now add a further train C that is some distance away from train B further down the line. This is the one that caused the OOM. What happens normally is that as train B enters the first section the signal behind turn's red so train C moves up to that signal and waits. Once the train enters the platform on a green signal at the nearest end of the platform that signal turns red once the train clears it and so the back of the train B in the platform is protected. Becuase the train has cleared the section the signal holding train C clears to green allowing it forward. Evetually if it is able to arrive at the entrance to the platform before Train A reaches the portal it holds at the platform entrance. All well and good if a little crowded.
    However ( and I am sure you can see whats coming ) if I make train B longer than the distance between the platform entrance and exit signals when it is held at the platform it seems as if the Signaller can't cope with the fact that there is a bit of train still resident in the previous section. So he throws a grade A teenage trantrum and quits his job. OOM. This secenario has caused me no end of bother on the Tees route which has any number of long stretches between signals and short distances between clusters. I have to be very careful not to send long trains in rapid succesion if the sections between them are occasionally short.
    What seems to happen when a scenario loads is that the dispatcher ( the teenage signaller ) tries out all the moves based on distance and time and throws a hissy fit in the expectation of not being able to cope. You can see this in a Logmate output.
     
  20. torfmeister

    torfmeister Guest

    Colton and Northern from Allaboard (Rich Garber) uses an older file format (as it's one of the very first 3rd party routes). The ScenarioProperties.xml file contains no loco information for the frontend, and scenarios therefore are not displayed in the filtered selection. Just click on Drive > Standard, and then scroll down without clicking the Route/Loco filters. There you go.

    As DTG is only the publisher, they cannot legally modify the files (and Allaboard still are very strict about protecting their content, so Ft Kent, Ohio Steel, Rascal Cottonwood and Colton Northern will stay in that preserved state).

    The Chessie U30C has only ever worked in 32bit - the developer (VirtualRailCreations) is not active anymore, only he has the source script. Luckily, a few weeks ago, a RWA member who is in possession of the working non-Steam version of this loco provided the script file, I've provided a patch here (not tested on the new core though):
    https://forums.dovetailgames.com/threads/chessie-system-u30c-loco-add-on-any-fix.39358/
     
    Last edited by a moderator: May 24, 2023
  21. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    Thx Torf
     
  22. hogskulen

    hogskulen New Member

    Joined:
    Jun 16, 2020
    Messages:
    7
    Likes Received:
    4
    Did you ever edit the pagefile settings? I increased them a bit, felt it automatically was set too low for my 64GB memory.
    I need to be careful with the following on certain routes:
    1 Alt+Tabbing
    2 Restarting a scenario (without returning to menu)
    3 Loading a scenario after having played another (with returning to menu)

    I also run "Clear Cache" if I do no. 2 or 3 or make any changes to assets/content etc.
    Maybe too much but I rather do that than wait for scenario to load then getting an OOM error :)
     
  23. torfmeister

    torfmeister Guest

    With 64GB of RAM you won't actually need a pagefile - you could just disable it. Just let Windows handle it.
     
    Last edited by a moderator: Jun 3, 2023
  24. kilt46

    kilt46 Well-Known Member

    Joined:
    Jan 23, 2022
    Messages:
    1,247
    Likes Received:
    582
    I ended up needing to reduce my clock by -50 as it was giving errors. I also now run LogMate as default to capture any events I see. I reduced the amount of active DLC so that if I feel the need to sync local files it doesn’t take too long. Things have been reasonably stable of late. I still believe that some of the real time dialog between Steam and TSC is what may be causing some of the OOMs I have experienced. I am hoping X12 has a new/robust menu structure which doesn’t rely on searching for previous DLC and stat info. I may be barking up the wrong tree.

    Respectfully
     
  25. 749006

    749006 Well-Known Member

    Joined:
    Dec 10, 2016
    Messages:
    10,178
    Likes Received:
    3,170
    A couple of things
    In the Steam Client > Settings have a look at Downloads
    Make sure "Allow Downloads During Gameplay" is unticked - That might help with the Steam - TSC Interface.
    Another Setting is In-Game where I have Enable the Steam Overlay Un-ticked

    Screenshot (288).png

    And just as an experiment Start the Steam Client then Go Offline.
    You can still run TSC but you won't see any interaction between Steam and TSC.

    See if it runs any better

    You might have already tried these

    Peter
     
    Last edited: Jun 4, 2023
  26. hogskulen

    hogskulen New Member

    Joined:
    Jun 16, 2020
    Messages:
    7
    Likes Received:
    4
    Ah so I should just leave it on auto then?
     

Share This Page