Author Topic: [Rev4773 ] FPS dropping over time and hitting 10-15 fps at worst time.  (Read 1118 times)

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Revision [4773]

Basically i was playing on a map with tomreyn.

I was watching lower Left bottom corner. i could only see a bit of water.

http://www.pasteall.org/pic/62415

Later in the game i was watching some palm trees.
And it did not seem to matter much obvously the fps changed a little depending on where i was. But the trend was clear the fps was declining, During this game

I started out with 180 FPS watching the entire map(aka i was a observer). when i was in the corner my FPS changed to 250 or so.

At the worst times my FPS was down to 10. and a single time below.(i think it was below 10 as i was busy in chat.).
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
Here's the game Coldfusionstorm is discussing (which I was hosting on atibox):

Code: (lastCustomGameSettings.mgg) [Select]
Description=Eight Rivers
MapFilterIndex=8
Map=eight_rivers
Tileset=desert2
TechTree=megapack
DefaultUnits=1
DefaultResources=1
DefaultVictoryConditions=1
FogOfWar=1
AdvancedIndex=0
AllowObservers=1
FlagTypes1=0
EnableObserverModeAtEndGame=1
AiAcceptSwitchTeamPercentChance=30
FallbackCpuMultiplier=5
PathFinderType=0
EnableServerControlledAI=1
NetworkFramePeriod=20
NetworkPauseGameForLaggedClients=0
FactionThisFactionIndex=5
FactionCount=8
NetworkAllowNativeLanguageTechtree=0
FactionControlForIndex0=4
ResourceMultiplierIndex0=20
FactionTeamForIndex0=0
FactionStartLocationForIndex0=0
FactionTypeNameForIndex0=persian
FactionPlayerNameForIndex0=AI1
FactionPlayerUUIDForIndex0=
FactionControlForIndex1=5
ResourceMultiplierIndex1=5
FactionTeamForIndex1=8
FactionStartLocationForIndex1=1
FactionTypeNameForIndex1=*Observer*
FactionPlayerNameForIndex1=Coldfusionstorm
FactionPlayerUUIDForIndex1=
FactionControlForIndex2=4
ResourceMultiplierIndex2=20
FactionTeamForIndex2=1
FactionStartLocationForIndex2=2
FactionTypeNameForIndex2=persian
FactionPlayerNameForIndex2=AI2
FactionPlayerUUIDForIndex2=
FactionControlForIndex3=4
ResourceMultiplierIndex3=20
FactionTeamForIndex3=2
FactionStartLocationForIndex3=3
FactionTypeNameForIndex3=persian
FactionPlayerNameForIndex3=AI3
FactionPlayerUUIDForIndex3=
FactionControlForIndex4=4
ResourceMultiplierIndex4=20
FactionTeamForIndex4=3
FactionStartLocationForIndex4=4
FactionTypeNameForIndex4=persian
FactionPlayerNameForIndex4=AI4
FactionPlayerUUIDForIndex4=
FactionControlForIndex5=7
ResourceMultiplierIndex5=5
FactionTeamForIndex5=8
FactionStartLocationForIndex5=5
FactionTypeNameForIndex5=*Observer*
FactionPlayerNameForIndex5=tomr
FactionPlayerUUIDForIndex5=
FactionControlForIndex6=4
ResourceMultiplierIndex6=20
FactionTeamForIndex6=4
FactionStartLocationForIndex6=6
FactionTypeNameForIndex6=persian
FactionPlayerNameForIndex6=AI5
FactionPlayerUUIDForIndex6=
FactionControlForIndex7=4
ResourceMultiplierIndex7=20
FactionTeamForIndex7=5
FactionStartLocationForIndex7=7
FactionTypeNameForIndex7=persian
FactionPlayerNameForIndex7=AI6
FactionPlayerUUIDForIndex7=
(UUIDs removed)

This is the same setup I was using yesterday with Lyra. Coldfusionstorm has good hardware and a stable network link, though, so the 'n' view showed "1" for him constantly, i.e. he did not experience network or hardware / driver inflicted lag. What he did experience is decreasing graphics performance to an average of roughly 15% or 20% of his initial performance, even though he had the cameras focused on a mostly black spot of the map with no units in sight. So there should not have been much rendering work going on. He also experienced FPS drops which were severe.

My performance was ~ 55 FPS initially, dropping to ~30 FPS after the ~20 minutes we had the game running, with the lowest ever value around ~ 24 FPS. For me, the decrease was mostly constant.
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 · · ·

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Even if there is no rendering going on the computer still has to calculate for the AI and pathfinding and lots of other stuff. What hardware are you using?
Egypt Remastered!

Proof: Owner of glest@mail.com

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
my spec's are irrelevant to this situation my i was not maxed out in any sense. (i had monitoring tools on.).

Nevertheless for good measure.

AMD fx-4100 (3.6)
8 gb Ram.
AMD Gpu 7850 1gb card(so sad that i found out it only had 1 gb after i bought it).

My gpu in all test's was pretty much borred. staying in the sub 15% workload range.
cpu was some higher hitting 50% and 75% but no higher than that, and no spikes(cpu is with windows task manager tool, if you keep it open and just minimize it keeps track of cpu usage).
WiP Game developer.
I do danish translations.
"i break stuff"

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Is this still relevant given the 3.9.0 release?

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Derek reported something like this today, but I gave no details. I vote to let it open for the moment.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
What we need to know is:

a) does this only happen in network games (we must be sure)
b) if network only, does this only happen when a windows player is client only, server only or both?

With this info we could try to track this to its source.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Im downloading 3.9.0 release now. il see what i find.
WiP Game developer.
I do danish translations.
"i break stuff"