Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Legitimate FPS question what is the source?  (Read 1050 times)

SimRobert2001

  • Bay Watcher
    • View Profile
Legitimate FPS question what is the source?
« on: September 12, 2014, 01:56:08 pm »

OKay, so i have heard two arguments as to what is causing the massive FPS drops in df.  One argument states that this is due to the way DF is working the new processes in the game.  HOWEVER, i've also heard people say that most of the FP loss is related to old bugs that aren't fixed yet. (Such as the ones relating to the path finding issues. ) Can someone ehlp me understand where the truth lies.  Can someone help shed some light on the situation?

edit: I've actually identified a few items that may be a large cause:
1) Contaminants aren't cleaned properly.  The blood (and now leaves, fruits, ect) are never cleared off the map properly, and as such, are constantly eating CPU power.
2) Monsters that can't reach everyone are constantly eating CPU power. This means that anything trapped in say, the caves, will constantly eat up CPU power trying to get to you.
3) All items constantly eat up CPU power as the system asks "are you still here? are you still here are you still here? whats that on you? Is that mud still there? is you still there?"

Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Legitimate FPS question what is the source?
« Reply #1 on: September 12, 2014, 02:02:37 pm »

I don't believe contaminants cause much trouble. I use DFHack to remove them religiously, and get maybe two extra FPS. Old bugs would mean that 34.11 would've had he same FPS decrease, which is obviously not the case. The only things that could be causing it are the pathing, which has always been a problem, or, the most likely scenario, the world simulation.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

cephalo

  • Bay Watcher
    • View Profile
Re: Legitimate FPS question what is the source?
« Reply #2 on: September 12, 2014, 02:55:36 pm »


1) Contaminants aren't cleaned properly.  The blood (and now leaves, fruits, ect) are never cleared off the map properly, and as such, are constantly eating CPU power.
2) Monsters that can't reach everyone are constantly eating CPU power. This means that anything trapped in say, the caves, will constantly eat up CPU power trying to get to you.
3) All items constantly eat up CPU power as the system asks "are you still here? are you still here are you still here? whats that on you? Is that mud still there? is you still there?"

Pure speculation.
Logged
PerfectWorldDF World creator utility for Dwarf Fortress.

My latest forts:
Praisegems - Snarlingtool - Walledwar

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Legitimate FPS question what is the source?
« Reply #3 on: September 12, 2014, 03:19:34 pm »

The source of the FPS drain is pretty obvious, though there's no hard evidence.

Huge parts of the code have been opened up, tinkered with, and stuffed back in with a focus on features rather than optimization.  I would have been shocked if there wasn't a huge hit to FPS, at least until the bug-squashing phase is finished.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

SimRobert2001

  • Bay Watcher
    • View Profile
Re: Legitimate FPS question what is the source?
« Reply #4 on: September 12, 2014, 03:23:42 pm »

I don't believe contaminants cause much trouble. I use DFHack to remove them religiously, and get maybe two extra FPS. Old bugs would mean that 34.11 would've had he same FPS decrease, which is obviously not the case. The only things that could be causing it are the pathing, which has always been a problem, or, the most likely scenario, the world simulation.

actully, i've gotten 7-8, depending on what command i've used, and whats been cleaned, and how long its been.  I've seen 10 fps jumps before. Besides you proved one of my points. If the contaminants aren't cleaned regularly, they will slow down FPS. Meaning, its NOT simply the new features.


1) Contaminants aren't cleaned properly.  The blood (and now leaves, fruits, ect) are never cleared off the map properly, and as such, are constantly eating CPU power.
2) Monsters that can't reach everyone are constantly eating CPU power. This means that anything trapped in say, the caves, will constantly eat up CPU power trying to get to you.
3) All items constantly eat up CPU power as the system asks "are you still here? are you still here are you still here? whats that on you? Is that mud still there? is you still there?"

Pure speculation.
[/quote]
can you provide proof? i've seen this consonantly. Why do you think atom smashing items  keeps FPS high, and DF hacks removal of contaminants speeds up the game?
Logged