About OR Monogame versions
#1
Posted 04 March 2021 - 02:35 AM
For the sake of uniformity, I tried to apply the official Monogame-related code to OR NewYear MG. However, at least on my computer, I got lower frame rates (and this is a problem for me, because I have a slow computer).
I show here a comparison between the picture I get with the Testing release X.308
ORTestingX308.jpg (372.16K)
Number of downloads: 36
and the same with release NewYear 92
ORNYMG92_32.jpg (365.03K)
Number of downloads: 36
As can be seen, the difference is significant. In this particular case, deselecting the "Run at 32 bit on Win64" would lead to an even bigger difference, but that wouldn't be a fair comparison.
Here I attach the two logfiles, to show that the comparison is done with equivalent settings
OpenRailsLog308.txt (16.71K)
Number of downloads: 10
OpenRailsLog92.txt (16.96K)
Number of downloads: 10
The only thing I noticed is that in the official release the frame rate drops if option "Glass on in-game windows" is selected.
So by the moment I stick with the MG interface used in OR NewYear MG (even if switching later could be more cumbersome), and would be happy to know if this is a specific problem of my computer or not, or if I did something wrong in the comparison.
#2
Posted 04 March 2021 - 11:13 AM
Csantucci, on 04 March 2021 - 02:35 AM, said:
I agree - 25 to 19 is a poor outcome.
I've tried to reproduce this using 308 and 92 on a slow PC and I get 30 FPS on both versions. Is there an option I should change before switching from Testing to OR_NewYEar_MG ?
OpenRailsLog308.txt (13.35K)
Number of downloads: 1
OpenRailsLog92.txt (13.65K)
Number of downloads: 1
#3
Posted 04 March 2021 - 11:54 AM
Moreover you should set the "Glass on in-game windows" option to true in both versions, because it's an option that reduces framerate in the Testing version, and I assume that it's a widely used option.
This way you should see a difference in the FPS.
#4
Posted 04 March 2021 - 12:41 PM
Csantucci, on 04 March 2021 - 11:54 AM, said:
Moreover you should set the "Glass on in-game windows" option to true in both versions, because it's an option that reduces framerate in the Testing version, and I assume that it's a widely used option.
This way you should see a difference in the FPS.
I could confirm this behavior on my machines as well. Running Unstable or Testing version of OR, framerate is 20-40% less than ORNYMG, less difference on the machines with more powerful GPU.
Similar behavior compared to ORTS-MG ("OR Ultimate"), but thats a different story as it's much more aggresively optimized...
#5
Posted 04 March 2021 - 12:50 PM
thanks for confirmation. What do you mean with ORTS-MG? Your Ultimate OR version?
#6
Posted 04 March 2021 - 01:03 PM
#7
Posted 04 March 2021 - 02:31 PM
Csantucci, on 04 March 2021 - 11:54 AM, said:
Moreover you should set the "Glass on in-game windows" option to true in both versions, because it's an option that reduces framerate in the Testing version, and I assume that it's a widely used option.
This way you should see a difference in the FPS.
Thanks for the detailed instructions, Carlo.
I now get 30 => 27 (for OR_NewYear_MG => Testing), so a drop of 10%.
#8
Posted 04 March 2021 - 03:47 PM
With the glass on windows disabled, I get the same kind of results so I don't think it's connected to that. (By the way, I generally leave this option off as I dislike the effect.)
I noticed that New Year is using more of my GPU, but about the same CPU as the official versions. Something might be bottlenecking the official version more than New Year.
#9
Posted 06 March 2021 - 03:09 PM
Csantucci, on 04 March 2021 - 02:35 AM, said:
Partial investigation (more to follow)
I have done some analysis of the performance of the Stable Version, Testing Version, and NewYearMG version on my two computers: a laptop with integrated graphics, and a desktop with discrete graphics.
- Discrete desktop, default* settings: Stable 172, Testing 370, NewYearMG 298
- Discrete desktop, high* settings: Stable 163, Testing 371, NewYearMG 270
- Integrated laptop, default* settings: Stable 118, Testing 121, NewYearMG 133
- Integrated laptop, high* settings: Stable 61, Testing 55, NewYearMG 78
What's interesting here is that NewYearMG is performing better on integrated graphic, but the Testing Version is ahead on discrete graphics.
My guess at this point is that NewYearMG is doing something better on the GPU/graphics side, while the Testing Version is doing something better on the CPU/computation side (it may even be one thing that changes the CPU/GPU balance).
Settings used:
- Default settings are /MultisamplingCount=2
- High settings are /MultisamplingCount=2 /ConditionalLoadOfDayOrNightTextures /DistantMountainsViewingDistance=60000 /DynamicShadows /ModelInstancing /PreferDDSTexture /ReduceMemory /SaveCommands=False /SimpleControlPhysics /ViewDispatcher /WindowGlass
I will do further analysis tomorrow into the differences.
#10
Posted 06 March 2021 - 04:50 PM