Major lag in Surveyor 2.0 when editing an older route

janathan

Member
I'm working on a fictional railfanning park. This route was originally made for an older version of Trainz, but I'm updating it to Trainz 2022. I'm experiencing major lag in Surveyor, but I don't know what's causing it. I deleted most of the trees and that helped a little bit, but it still lags a lot. I can still get things done, but it's distracting and annoying. I've started replacing traffic lights with unsignalled roundabouts, but it's still lagging. There's hardly anything on the route right now besides roads, tracks, water and land formations. I feel like this shouldn't be enough to cause that much lag.

It doesn't lag at all in driver.
 
I noticed too a lag of several seconds in my routes when manipulating terrain in trainz plus sp4, unworkable for me. I went back to sp3.
 
Okay, after doing some testing, I still don't know why it's lagging so much, but interestingly, it only happens during the day. When using surveyor 2.0 anytime after 9:00 pm (Eastern Standard Time), there's no lag, but pretty much all throughout the day, there's lag. What could change between day and night that would effect the lagging?
 
I to am new to TRS22 PE,

Here is a link to what might possibly be causing your issue, Hope it helps, because I too have a lot of Old Routes I fool around with.


Sounds like you need to adjust performance settings. Some routes are more demanding than others. Also try to not have other demanding programs going at the same time. Make sure you have plenty of disk space. For more help we will need you computer’s specs and the routes.

Trainz 2022/Trainz Plus on Sonoma. M1 Macs
T Driver 3 iPhone SE3 iOS17

If every route is lagging then I would suspect that your settings are too high for your hardware to handle.
To be sure please state your computer specs and screen shot your graphics settings from the launcher in Trainz. The one which has shadow quality at the top.
This will help us to help you as otherwise we are flying blind and suggestions are a shot in the dark, akin to you just saying it doesn't work.
cheers

grazlash Route Builder​

 
Device name DESKTOP-RGKAM1H
Processor Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz 3.60 GHz
Installed RAM 32.0 GB
Device ID 5D3C0470-5381-43E8-9FD3-4F253B9B65E0
Product ID 00326-00840-15673-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Edition Windows 11 Home
Version 23H2
Installed on ‎3/‎21/‎2024
OS build 22631.4037
Experience Windows Feature Experience Pack 1000.22700.1027.0
 
Shadow quality: Ultra
Shader Quality: Extreme
Texture detail: normal
Post Processing: Ultra
Water quality: Ultra
Detail scenery: Clutter & TyrfFX
Antialiasing: 4x
 
Device name DESKTOP-RGKAM1H
Processor Intel(R) Core(TM) i9-9900KF CPU @ 3.60GHz 3.60 GHz
Installed RAM 32.0 GB
Device ID 5D3C0470-5381-43E8-9FD3-4F253B9B65E0
Product ID 00326-00840-15673-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Edition Windows 11 Home
Version 23H2
Installed on ‎3/‎21/‎2024
OS build 22631.4037
Experience Windows Feature Experience Pack 1000.22700.1027.0
I don't see your GPU or Video Card Listed, Model plus amount of VRAM?

Would like to see if your running SSD or Platter type Hard Drive, relative rotation on Laptops is 5400 Rpm, which is abysmal, I always changed my out to 7200 RPM, better performance, however if laptop it will cut your battery time down some.
 
Name NVIDIA GeForce RTX 2080 SUPER

Drive C:
Description Local Fixed Disk
Compressed No
File System NTFS
Size 930.14 GB (998,728,790,016 bytes)
Free Space 296.93 GB (318,828,929,024 bytes)
Volume Serial Number 28605937

Drive D:
Description Local Fixed Disk
Compressed No
File System NTFS
Size 1.82 TB (2,000,394,645,504 bytes)
Free Space 1.04 TB (1,139,399,667,712 bytes)
Volume Serial Number CFF701A0

Drive E:
Description Local Fixed Disk
Compressed No
File System NTFS
Size 3.64 TB (4,000,750,497,792 bytes)
Free Space 2.81 TB (3,085,253,582,848 bytes)
Volume Serial Number 98C50007


I'm not sure where to find the RPMs.
 
Hello Janathan,


Here is a video that might help, I have to get to Jury Duty now.





1,089 views Jan 9, 2024 #harddiskdrive #harddrive #windows10
In today’s tutorial, I’m going to show you how to find information about your computer’s hard disk drive (HDD) in Windows.To get started:1. Go into the Windows start bar, and type in “Command Prompt” and open up the command prompt application.2. From the command prompt application, type in the following command “wmic diskdrive get model,serialNumber,size,mediaType”.3. Now hit enter.4. Information about your computer’s hard drive will now be displayed.5. As you can see, the type, model, serial number, and hard drive size is displayed.And it’s as simple as that, finding out information about your hard drive is a simple task to perform. From this tutorial you can find out your hard drives model number, manufacturer, serial number, and size.#hdd #harddrive #harddiskdrive #windows10 #commandprompt

Transcript
Follow along using the transcript.

Don't remember if you said how old your computer is ?

I ck back later tonight.
 
MediaType Model SerialNumber Size
External hard disk media WD Elements 25A1 USB Device WX71D88LXJLR 4000751516160
Fixed hard disk media CT1000P1SSD8 0000_0000_0000_0001_00A0_7520_E289_DA6D. 1000202273280
Fixed hard disk media ST2000DM008-2FR102 ZFL1L5XJ 2000396321280
External hard disk media Samsung PSSD T7 SCSI Disk Device B131614X0SNSM7S 4000784417280
 
It's a 9th Gen, looks like a workhorse.

Hmm are you doing anything more than backups on those USB drives? Like, don't location your Trainz conent dir on those drives. They are slow like molasses, even the best.

The timing thing, is that reproducible? Or you just noticed it once?

Perhaps there was a backup running? Or if you run Dropbox (or other cloud storage) sync in the background, sometimes they get confused and try to resync everything.
If you are running anything like that in the background check the interface or logs if possible for any clues there.
There could be a lot of things going on, hard to imagine that at 9pm your time N3V decides to free up some resource.
If what you were doing depended on some cloud resource then maybe I could see that, the cloud storage could have access "tiers" based on time.

Otherwise, when your computer / Trainz is running slow, pop up the Task Manager with Ctrl-Alt-Delete (click on Processes in the window that pops up).

Sort by CPU, Disk and Network variously to try to identify something that's bogging you down.

If you want to dig deeper there's Microsoft Sysinternals Suite, I haven't tried it, but I think you could pinpoint what's slowing your computer down.
There's also ntop.portable (through chocolatey) for Windows, it's like htop, but it doesn't really give you anything the Windows Task Manager doesn't.
 
I have the Trainz directory in my D drive. Only Trainz-related stuff is in that folder. Yes, the time thing is repeatable.

When using Surveyor 2.0 during the day, Task Manager says that 35% of the CPU is being used. Most of it by Trainz. I haven't checked it at night yet.
 
Shadow quality: Ultra
Shader Quality: Extreme
Texture detail: normal
Post Processing: Ultra
Water quality: Ultra
Detail scenery: Clutter & TyrfFX
Antialiasing: 4x
Shadow quality has a large effect on frame rates and lagging.
Shadow quality does not equate to the quality of the shadows, that is handled by shadow resolution. The higher the shadow quality setting, the more assets and objects that throw shadows. At ultra, every weed, grass, building etc is throwing a shadow and consequently increases the calculation time. The more detailed the route, the more lag you will get with those settings. I generally run with shadows = medium.
Process objects behind camera is another big drag on framerate, turning that off may help.
Shader quality leave at ultra as it gives PBR textures height definition. Texture detail should be on high if you use shader quality on ultra.
 
Okay, It's currently 11:00 PM. I just opened Surveyor 2.0 and it's lagging. It wasn't doing it last night at around this time, or the night before, so I have no idea what's different.

Task Manager says that 13% of the CPU is currently being used, 38% Memory, 0% Disk and 0% Network.
 
Okay, so I went to Task Manager and set the priority of Trainz 2022 to "High," and that seems to have fixed the lag. I'm going to try again tomorrow and see what happens.
 
32GB of RAM and 26-38% of RAM? wow, that's 8-10+GB? That sounds really excessive.

I loaded up the C&O Hinton Division route and max memory use for Trainz was around 3.5GB, in Surveyor 2.0. Others could perhaps comment if larger routes take a lot more memory.


And yeah if it still shows memory used, more than maybe 5-15 seconds after the program exits, that's really weird.
 
(sorry still can't edit. if anyone knows why would be nice to get the Editing super-power LOL.)

oh and one question, it really shouldn't be a factor, but if you're running any funky anti-virus programs, make sure to shut them down.

If you search Google for trainz memory leak you'll see a bunch of posts all over the forum.

This one shows Trainz using nearly 20GB of RAM!


And the reaction from a Trainz veteran is, this is normal.
 
Okay, it's 7:29 AM. When I opened the route in Surveyor 2.0, it was very choppy. Setting the priority to "high" in Task Manager made it less choppy, but it's still choppy. There must be something else causing it. I don't know what because I just started the computer, so there shouldn't be anything else running.🤔
 
Back
Top