MacOS native binary seems slow
Posted: Sat May 16, 2015 6:33 pm
Hi.
I've compiled stratagus 2.3 on MacOS 10.9. But, surprisingly, this native build runs slower than the distributed .exe in wine on the same system and data (Aleona's Tales and Wyrmsun). This isn't only ingame issue, but can especially be seen in the loading time, it takes almost 20 seconds to load all the icons and stuff. Interestingly enough, there is no LoadProgress at the bottom of the screen when running distributed .exe package, and I have no idea how it was disabled. Playing with the game speed slider yields no significant results also, in fact, the change in speed between values 0 and 100 is hardly noticeable at all in Mac binary. Overall wine runs game in a much faster and smoother fashion, it just hard to believe that wine can do better than native.
Compile options seems to be the same for both versions. I've tried both NativeSDL and OpenGL renderers with the same results. Invoked cmake with the CMAKE_BUILD_TYPE=Release option.
The questions is how can I enable fps counter in stratagus, or maybe another ways to investigate this issue? Maybe it just seems to be this way? Maybe there is something wrong with the wine and it runs too fast? Is there any gold standard for how much game cycles should pass on default speed per second?
I've compiled stratagus 2.3 on MacOS 10.9. But, surprisingly, this native build runs slower than the distributed .exe in wine on the same system and data (Aleona's Tales and Wyrmsun). This isn't only ingame issue, but can especially be seen in the loading time, it takes almost 20 seconds to load all the icons and stuff. Interestingly enough, there is no LoadProgress at the bottom of the screen when running distributed .exe package, and I have no idea how it was disabled. Playing with the game speed slider yields no significant results also, in fact, the change in speed between values 0 and 100 is hardly noticeable at all in Mac binary. Overall wine runs game in a much faster and smoother fashion, it just hard to believe that wine can do better than native.
Compile options seems to be the same for both versions. I've tried both NativeSDL and OpenGL renderers with the same results. Invoked cmake with the CMAKE_BUILD_TYPE=Release option.
The questions is how can I enable fps counter in stratagus, or maybe another ways to investigate this issue? Maybe it just seems to be this way? Maybe there is something wrong with the wine and it runs too fast? Is there any gold standard for how much game cycles should pass on default speed per second?