Author Topic: Svn mg slower than the stable version  (Read 1118 times)

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Svn mg slower than the stable version
« on: 9 June 2013, 13:15:10 »
Hi all, playing the svn i can see that it's way slower than the stable version, this sounds strange and talking to titi he told me that i may be caused by a bug in mg for windows 64 and asked me to report my hardware specs, so that's what i am going to do:

Processor: AMD Athlon X2 Dual-Core QL-64 2.10 GHz
Video Card: ATI 3200
Installed memory (RAM): 4gb (3,75gb usable)
Operative system: Windows 7 professional N, 64bit Service Pack 1

On the 3.7.1 i get up to 40fps in render, while the svn up to 25, but in general the game tend to reach 5fps in render quickly (i use the "windowed" mode with both stable and svn).

Anyone on windows 7 64bit who is experiencing slowness with the svn? (various revs).
« Last Edit: 9 June 2013, 13:37:33 by Pizza90 »
I translated Megaglest in italian and i keep the translation updated.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Svn mg slower than the stable version
« Reply #1 on: 10 June 2013, 16:55:40 »
Can you please run the Benchmark scenario from the ingame mod center? 
Please post your results for  3.7.1 and svn version .
( If your gfx driver has any vsync setting to limit the frame rate, please disable them before running the benchmark )

( Here are my results on Linux 64. You see they are also a bit slower with current svn version.
3.7.1 has 214 fps
svn has 203 fps  )

 
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Svn mg slower than the stable version
« Reply #2 on: 10 June 2013, 17:28:43 »
More testing Windows 7 64 bit intel gfx:
my results for 3.7.1: 39-40 fps
current svn: 36 fps

Now I try to modify the scenario until I get results that are even more worse. Maybe thats a first hint on what might be wrong. 
« Last Edit: 10 June 2013, 21:15:25 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

carolinus

  • Daemon
  • Posts: 8
    • View Profile
Re: Svn mg slower than the stable version
« Reply #3 on: 10 June 2013, 20:17:10 »
another report: win7 64 bit home

processor: B940* 
ram: 6 Giga (2+4)

-tested 3 times on Benchmark scenario:

Graphics: intelHD 3000
3.7.1               avg update: 39, render 15     (lubuntu 12.04 3.7.1         - 39/29)
3.8.1 (4408)   avg update: 39, render 11     (lubuntu 12.04; svn 4412 -  39/29)

Graphics: nvidia MX 520
3.7.1               avg update: 39, render 33-43 (lubuntu 3.7.1 -39/51)
3.8.1 (4408)   avg update: 39, render 22-23 (lubuntu svn 4412 -39/46)

*comparision chart B940 vs i3 here

my glestuser.ini
Code: [Select]
; === propertyMap File ===
AnimatedTilesetObjects=0
AutoLocaleLanguageDetect=false
ChatStaysActive=1
ColorBits=32
DisableLuaSandbox=0
DisableScreenshotConsoleText=0
EnableTextureCompression=0
EnableVideos=0
FactorySound=OpenAL
Filter=Trilinear
FilterMaxAnisotropy=1
FogOfWarSmoothing=false
FogOfWarSmoothingFrameSkip=5
FontSizeAdjustment=0
GammaValue=1.0000000000000000
Lang=english
LastSavedGame=
MapPreview=1
MaxLights=1
MouseMoveScrollsWorld=1
NetPlayerName=carolinus
No2DMouseRendering=0
PrivacyPlease=1
RainEffect=0
RainEffectMenu=0
ScreenHeight=600
ScreenShotFileType=jpg
ScreenWidth=900
;SelectionType=frustum
ServerIp=
ShadowTextureSize=256
Shadows=Disabled
SoundVolumeAmbient=0
SoundVolumeFx=80
SoundVolumeMusic=0
Textures3D=0
TilesetParticles=0
TimeDisplay=1
UnitParticles=0
VisibleHud=1
Windowed=1

« Last Edit: 11 June 2013, 00:55:55 by carolinus »
--
#191319 win7 home 64/ lubuntu 12.04 i686 Pentium b940 /graph: hd3000

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Svn mg slower than the stable version
« Reply #4 on: 10 June 2013, 21:11:26 »
Here are my results

... on atibox (check below for specs) at 1680x1050 (with reduced graphics settings):

Game versionUpdateFPSRenderFPS
3.7.14030
r44093929
r44143930
r44303930
r44704030
r44744049
« Last Edit: 20 June 2013, 11:06:36 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Svn mg slower than the stable version
« Reply #5 on: 10 June 2013, 21:17:22 »
I did the benchmark 3 times on the stable and 3 on the svn (4400):

3.7.1               avg update: 39, render 16-15-14

3.8.1 (4400)   avg update: 39, render 14-12-13
I translated Megaglest in italian and i keep the translation updated.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Svn mg slower than the stable version
« Reply #6 on: 11 June 2013, 00:41:58 »
Rev 4412 on Windows 7 64-bit:

Update FPS: 39; Average render FPS: 121

3.7.1:

Update FPS: 40; average render FPS: 249

More than half of the frame rate gone!

On a side note, I noticed the beginning of the game had a noticeable stutter in the SVN HEAD. The fire golem animations visible near the edge of the screen stuttered for the first few seconds before smoothing out.

Also, the particles on the fire golems (and possibly other units) were completely bugged. The SVN HEAD doesn't appear to be displaying unit particles correctly.
« Last Edit: 11 June 2013, 00:48:59 by Omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Svn mg slower than the stable version
« Reply #7 on: 11 June 2013, 02:46:00 »
Try svn head again that build # was a bad revision.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Svn mg slower than the stable version
« Reply #8 on: 11 June 2013, 06:02:32 »
Rev 4413:

Render frame rate has not improved. Still the same halved levels. The particles are fixed. The screen had a black flicker several times when testing.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Svn mg slower than the stable version
« Reply #9 on: 11 June 2013, 20:08:04 »
Rev 4414:

Ubuntu 12.04    (64bit)
Nvidia geforce 650ti
AMD Phenom(tm) II X4 965 Processor

3.7.1:    208fps
Rev 4114:  240fps

For me its a lot faster now than 3.7.1, but I still have tiny black flickers especially in the beginning of multiplayer games. ( I have those flickers since colorpicking was improved by softcoder( a long time ago, but after 3.7.1). Its not related to my work on the colorpicking code ).
« Last Edit: 11 June 2013, 20:51:21 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Svn mg slower than the stable version
« Reply #10 on: 11 June 2013, 20:42:04 »
results for rev 4414
OS: Windows 7 64bit:
GFX: nvidia 555M / Intel HD gfx 3000
CPU: Intel core i3 2333M

intel gfx:
3.7.1:       39fps render
svn4414: 41fps render

Nvidia gfx:
3.7.1:       110fps render
svn4414: 114fps render
« Last Edit: 11 June 2013, 20:51:02 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Svn mg slower than the stable version
« Reply #11 on: 12 June 2013, 22:39:51 »
I've experienced no change in r4430.

Is there any way I can build past revisions to try and narrow down when a change occured that caused this slow down? I know how to checkout a specific revision, but can't figure out how to compile it, since the windows batch script automatically download the SVN HEAD when run.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: Svn mg slower than the stable version
« Reply #12 on: 12 June 2013, 23:24:32 »
After checking out manually from the mk/windoze folder run:

msbuild /p:Configuration=Release Glest_vc2010.sln

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Re: Svn mg slower than the stable version
« Reply #13 on: 20 June 2013, 17:06:25 »
I think this problem is fixed, at the least for me (full screen):

3.7.1   render: 40   update 22
r4472  render: 39   update 24
r4474  render 40:   update 27
I translated Megaglest in italian and i keep the translation updated.