Train stalls when resuming activity on Scenic Sub 2 (X2084)

Bug #1294410 reported by Basil Price
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Ryan Young

Bug Description

Route-- Scenic Sub 2

The train is moving along slowly struggling to get up the hill. The first thing I noticed was that the when I went to different views the train speed in the F4 view would fluctuate with the frame rate. The lower the frame rate the lower the projected speed and the current speed would also drop. At times the wheel slip would start with a change in camera view.

I was running about 10 MPH with the projected speed also about 10 MPH when I had to save. When the activity restarted the starting speed immediately dropped to 5 MPH and the projected to 0. within a few seconds the speed dropped to 0 and then began sliding back. Sanding had no effect. The train was running in notch 8.

Open Rails is starting...
Argument 0 = -resume
Argument 1 = C:\Users\BPrice\AppData\Roaming\Open Rails\6_CanadianImports 2014-03-17 23.23.13.save
Version = X2084
Build = 0.0.5179.33702 (2014-03-07 18:43:24Z)
Logfile = C:\Users\BPrice\Desktop\OpenRailsLog.txt
--------------------------------------------------------------------------------
AdhesionMovingAverageFilterSize = 10
Alerter = False
AvatarURL = (user set) http://www.openrails.org/images/ICONmediumOD.jpg
BrakePipeChargingRate = (user set) 30
BreakCouplers = False
Cab2DStretch = 0
CarVibratingLevel = (user set) 1
CurveResistanceOptimalSpeed = 0.75
CurveResistanceSpeedDependent = False
CurveResistanceZeroSpeedFactor = 3
DataLogger = (user set) True
DataLoggerSeparator = comma
DataLogMisc = (user set) True
DataLogPerformance = True
DataLogPhysics = (user set) True
DataLogSpeedUnits = route
DataLogStart = False
DataLogStationStops = False
DataLogTrainSpeed = False
DataLogTSContents = 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
DataLogTSInterval = 10
DayAmbientLight = (user set) 22
DistantMountains = False
DistantMountainsViewingDistance = (user set) 20000
DoubleWire = False
DynamicShadows = (user set) True
FullScreen = (user set) True
GraduatedRelease = False
Language =
LODAlwaysMaximum = (user set) True
LODViewingExtention = (user set) True
Logging = True
LoggingFilename = OpenRailsLog.txt
LoggingPath = C:\Users\BPrice\Desktop
Menu_Selection = (user set) H:\Train Simulator, H:\Train Simulator\ROUTES\BNSF_Scenic, H:\Train Simulator\ROUTES\BNSF_Scenic\ACTIVITIES\6_CanadianImports.act
MSTSBINSound = True
Multiplayer = False
Multiplayer_Host = (user set)
Multiplayer_Port = 30000
Multiplayer_UpdateInterval = 10
Multiplayer_User = (user set)
MultiplayerClient = False
MultiplayerServer = False
OverrideNonElectrifiedRoutes = False
PerformanceTuner = (user set) True
PerformanceTunerTarget = (user set) 15
Precipitation = (user set) True
PreferDDSTexture = False
Profiling = False
ProfilingFrameCount = 0
ProfilingTime = 0
ReplayPauseBeforeEnd = True
ReplayPauseBeforeEndS = 0
ScreenshotPath = C:\Users\BPrice\Pictures\Open Rails
ShaderModel = 3
ShadowAllShapes = False
ShadowMapBlur = True
ShadowMapCount = 4
ShadowMapDistance = 1000
ShadowMapResolution = 1024
ShowAvatar = False
ShowErrorDialogs = True
SoundDetailLevel = 5
SoundVolumePercent = 100
SuperElevationGauge = 1435
SuperElevationMinLen = (user set) 65
SuppressConfirmations = False
TrainLights = (user set) True
UseAdvancedAdhesion = True
UseLocationPassingPaths = False
UseMSTSEnv = False
UseSuperElevation = (user set) 10
VerticalSync = False
ViewDispatcher = (user set) True
ViewingDistance = 2000
ViewingFOV = 45
WindowGlass = False
WindowPosition_Activity = 50, 50
WindowPosition_CarOperations = 50, 50
WindowPosition_Compass = 50, 0
WindowPosition_ComposeMessage = 50, 50
WindowPosition_DriverAid = 100, 100
WindowPosition_Help = (user set) 50, 46
WindowPosition_NextStation = (user set) 100, 100
WindowPosition_Quit = (user set) 42, 38
WindowPosition_Switch = (user set) 12, 100
WindowPosition_TrackMonitor = (user set) 0, 100
WindowPosition_TrainOperations = (user set) 61, 49
WindowSize = (user set) 1360x768
Wire = False
WorldObjectDensity = 10
--------------------------------------------------------------------------------
Mode = Resume
Activity = H:\Train Simulator\ROUTES\BNSF_Scenic\ACTIVITIES\6_CanadianImports.act
--------------------------------------------------------------------------------
Loading TRK TDB SIGCFG DAT ACT RDB CARSPAWN SIGSCR WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW ENV SIGCFG TTYPE

Warning: Skipped extra File in H:\Train Simulator\SOUND\rain_in.sms:line 16

TTTTTTTTTWWSSS TRP(default)SSSSSSSSSSSSSSSSSSSSSSSSSS$WWWSSSSSSSSSSSSSSSSSSSSSSSSSSSS$WWWSSSSSSS$WSCSCS

Warning: 3 missing Stream(s) in H:\Train Simulator\trains\trainset\SLI.BNSF\sound\EMD645E3_ext.sms:line 312

CSCSCSCSCCCSCCSSCCSCCCCCSSCCCCCCCCCSCCCCSCSCSCSCCCCSCCCCSCCCCCCCCCCCCCCCCCCCCCCSCSCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

Information: Game.ReplaceState(GameStateViewer3D) GameStateViewer3D

Loader: Time = 00:00:10.3584182 ms
Loader: Expected = 60,724,678 bytes
Loader: Actual = 60,195,539 bytes
Loader: Difference = -529,139 bytes (-0.9 %)

Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: See in Game]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: Follow]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: Normal]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: Assist]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.ListBox, Items.Count: 2, Items[0]: To Main Route]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.ListBox, Items.Count: 4, Items[0]: System Controlled]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: Reply to Selected]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.ListBox]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: Compose MSG]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: MSG to All]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: MSG to Selected]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.TextBox, Text: ]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 1]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.CheckBox, CheckState: 0]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: Remove]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.ListView, Items.Count: 0]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Label, Text: m]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Label, Text: Res]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.UpDownBase+UpDownButtons]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.UpDownBase+UpDownEdit, Text: 5000]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.NumericUpDown, Minimum = 80, Maximum = 200000]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.Button, Text: View Train]'
Localizing '[LocalizableObjectAdapter: Source=System.Windows.Forms.PictureBox, SizeMode: Normal]'
Localizing '[LocalizableObjectAdapter: Source=ORTS.Debugging.DispatchViewer, Text: DispatchViewer]'

Information: Ignored missing animations data in shape h:\train simulator\routes\bnsf_scenic\shapes\bn_milepost.s

Information: Ignored missing animations data in shape h:\train simulator\routes\bnsf_scenic\shapes\speed_bottom.s

Information: Ignored missing animations data in shape h:\train simulator\routes\bnsf_scenic\shapes\speed_top.s

Information: Initialized OpenAL 1.1 ALSOFT 1.15.1; device 'OpenAL Soft' by 'OpenAL Community'

SSS

Information: Game.PopState()

Tags: physics
James Ross (twpol)
tags: added: physics
Changed in or:
status: New → Triaged
importance: Undecided → Medium
summary: - resuming activity train stalls
+ Train stalls when resuming activity on Scenic Sub 2
Revision history for this message
r.roeterdink (r-roeterdink) wrote : Re: Train stalls when resuming activity on Scenic Sub 2

Some more general info on this :
the problem is not restricted to this particular route and situation but actually appears - in a more innocent form - whenever an activity is resumed.
The advanced physics creates a 'wheelslip' situation when the update time is low or inconsistent - as, for instance, when the update rate is low due to low FPS.
However, on resuming a saved session there is also an inconsistency in the update time, and this causes a very short wheelslip. Normally this goes almost unnoticed, but in a critical situation as detailed above, the system does not recover from this momentary wheelslip.
In my view, the occurance of wheelslip should be suppressed in the first few seconds after restarting a session, to give the advance physics time to 'settle down'.

James Ross (twpol)
summary: - Train stalls when resuming activity on Scenic Sub 2
+ Train stalls when resuming activity on Scenic Sub 2 (X2084)
Ryan Young (rayoung)
Changed in or:
assignee: nobody → Ryan Young (rayoung)
status: Triaged → In Progress
Ryan Young (rayoung)
Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
milestone: none → 1.4
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.