Author Topic: Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).  (Read 1232 times)

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).
« on: 3 February 2014, 20:42:40 »
I where playing with Tomryen and atze. This is the console output and attached is The World Debug log.

My CPU was not Maxed out, my GPU was downright borred,(no GPU load 14% ca), 600 VRam Used.) And around 5 Gigabyte free ram.

D:\Multimedie\MegaglestSource\megaglest-source\mk\windoze>megaglest.exe
megaglest.exe v3.10.0-dev
Compiled using: VC++: 1600 on: Feb  3 2014 20:20:18 platform: Windows endianness
: little
GIT: [Rev: 4712.497ea17] - using STREFLOP [SSE] - [no-denormals]
Game unique identifier is: a03afd40-8d0b-11e3-bc78-47480cf261de
*Note: Monitoring Network CRC NORMAL synchronization...
*ERROR* [2014-02-03 21:19:31] In [network_interface.cpp::Glest::Game::NetworkInt
erface::DisplayErrorMessage Line: 198] sErr [Player Coldfusionstorm, disconnecte
d from the game.]
Save to log debugCRCWorldLogFile = C:\Users\Frederick\AppData\Roaming\megaglest\
debugCRCWorld.log_client
===> IRC Could not run the session: Illegal operation for this state run_result
= 3

D:\Multimedie\MegaglestSource\megaglest-source\mk\windoze>


This is the download link for the appdata folder world

220MB unpacked

http://www.tempfiles.net/download/201402/335871/debugCRCWorld.html

And here is glest.ini on pastebin
http://pastebin.com/fDmukjHa

And here is the glestuser.ini
http://pastebin.com/AKSY3MKU

Also not related to this game but from another game i had some graphic artifacts.
http://i.imgur.com/kFbUfgc.jpg

These were very slowly gliding upwards and dissapearing.(the weird shadows on ground).

My system
Amd FX-4100
HD Radeon 7850 1Gb ram.
8 Gb ram.
SSD OS disk. 120 Gb.
1TB Data drive(programmes, Megaglest movies ect,ect).
Windows 7 64 bit. (32 bit MG client)
« Last Edit: 3 February 2014, 21:25:02 by Coldfusionstorm »
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).
« Reply #1 on: 3 February 2014, 21:21:10 »
So I'll try to add some context, which is missing here. This was a game where we had world CRCs enabled (EnableNetworkGameSynchMonitor=1). I was hosting this on atibox, Coldfiusionstorm (Windows 7 64-bit with 32-bit self-built client) and Atze (Opensuse 64-bit) were joining the game as clients. We played this 3 (humans) vs 3 (1 mega, 2 ultra CPU) game for ~ 20 minutes (rough guess) before Coldfusionstorm's client started lagging (I could see so on the network stats view ('n') in game), causing the game to repeatedly pause automatically. At this time there were many (I did not actually check, but I guess ~500 or more) AI controlled units in the game, calculating paths to attack us. Looking at the network statistics I could tell that the AI preparing to attack on new routes played a major role in driving up Coldfusionstorm's lag. At the same time, there was no network connection lag to his router that I could measure with 'mtr' (combines ping / traceroute).

Atze did not lag more than marginally during this time, and while I have not actually checked each CPU core and spare memory on my system, the overall CPU load was not higher than 50% and my Desktop's graphical memory load indicator suggested that no more than 50% system memory were in use. As Coldfusionstorm reported none of his CPU cores were maxed out at the time, not was his memory close to being fully loaded.

As soon as Coldfusionstorm got disconnected due to frame lag, Atze also started lagging a lot, quickly reaching a very similar level - apparently the game was still trying to catch up with something there (hadn't  this code been removed?) - but it never really did, it remained very very slow. He did not actually lag out, but it became so laggy he could not really play, and I was impacted, too.
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 · · ·

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).
« Reply #2 on: 4 February 2014, 15:12:03 »
This is absolutly nothing new. Thats what we always had when this CRC-switch was enabled. Once there were some more units in the field the game got unplayble slow.
This is a debug switch and meant to find problems by doing a lot crc calculation. So this is really no bug, just very normal behaviour.

And if in a game like this there was no CRC problem then the current state is for sure stable!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).
« Reply #3 on: 4 February 2014, 15:46:03 »
But none of my Components was maxed out titi?
WiP Game developer.
I do danish translations.
"i break stuff"

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).
« Reply #4 on: 4 February 2014, 19:16:49 »
Maybe it was only one cpu core or plain memory transferring which is not shown as cpu load. Or it was tomreyns server who fall back a bit when he had to calculate the CRCs. This results in you ( the client ) in waiting for the package with commands for the next command round.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Horrible FPS on [Rev: 4712.497ea17] (Weird behavior).
« Reply #5 on: 4 February 2014, 19:50:45 »
The load was pretty evenly distributed over all cores, so 60-70% load.

And tomreyn Also said his core load was not over 50% So thats even less.

Per your previeus post it should then be memory transferring(wich i dont know what is).
But my ram is plenty fast.

Just this day i effortlessly tabbed out between a running Starcraft 2 game and Modern Warfare running simultaniusly.

What would be really usefull here is a predefined benchmark test inside MG,Or at least some test scenario where you can go -spawn 200 Archers And the other player can go -spawn 200 Snakes.

Perhaps with some recorder that recordes certain performance specific items while units are attacking and so forth.
Stuff like that.
WiP Game developer.
I do danish translations.
"i break stuff"

 

anything