Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005629Dwarf FortressDwarf Mode -- Invasionspublic2012-03-13 07:412014-01-26 10:14
Reporterrobertheinrich 
Assigned ToFootkerchief 
PrioritylowSeverityminorReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformPentium D 2.8GHz 4GB RAMOSWindows VistaOS VersionHome Basic
Product Version0.34.05 
Target VersionFixed in Version 
Summary0005629: massive drop in FPS, seemingly related to INVADERS:YES setting in d_init.txt
DescriptionI embarked on a map with brook and pools near a mountain. When winter came the brook froze and a snow storm started. Suddenly my fps went down from 100 to 25 and the interface became very laggy (pressing < and > would often jump between 2 z levels instead of 1).

Well, I thought that it was related to weather and/or temperature so I waited until the brook thawed and disabled both. Also disabled invaders. FPS went back to 100. I experimented a bit with the settings and found out that neither temperature nor weather seem to affect the FPS, but strangely the INVADERS:YES setting does. If I set it to NO the FPS goes to 100, if I enable invaders the game starts lagging. But that fort didn´t even have the first ambush yet, only 2-3 kobold thieves.

Since I play with the Phoebus tileset: is it enough if I upload the savegame, or should I better upload the whole DF folder?
Steps To ReproduceThe lagging can be reproduced (for my current world) by changing the INVADERS setting from NO to YES in the d_init.txt file.

I did not test yet if there is something wrong with the world itself; gonna check if it happens on another embark on the same world, too.
Additional InformationI should mention that I modified the map a little bit with DFHack and cheated me a big cluster of silver and adamantine on the map. And the first piece of adamantine was dug out approximately at the same time when the FPS drop occurred... so there might be a relation.

I set the priority to "low" because this is the first time I have this happening, maybe the world is just corrupt.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0021444)
Footkerchief (manager)
2012-03-13 08:49

Reminder sent to: robertheinrich

Please upload a save demonstrating the lag to http://dffd.wimbli.com/ [^]

The lag may be caused by dwarves trying too frequently to detect sneaking ambushers or whatever.
(0021447)
robertheinrich (reporter)
2012-03-13 12:47

I tested that embark site a bit more and made the following observations:

- It seems the massive fps drop has something to do with revealing the map using dfhack. But this is the first time that happens for me, I´ll forward that to the dfhack thread in the forums.

- After unrevealing the map the fps recovers, but not to it´s maximum. To confirm that I have set the max fps to 200 (since the standard setting of 100 was not obvious enough if it only drops to 80). On my system the map runs with solid 120-150 fps with INVADERS:NO and only 75-80 fps with INVADERS:YES

- I let the map with INVADERS:YES run for a while to see if it recovers. A werebeast arrived and was killed by my military. Afterwards the fps went back to normal (around 150 fps when most dwarves are idling around), no matter if the map was revealed or not.

I have uploaded both saves:
1. fps drop with invaders turned on, massive fps drop if map is revealed.
2. same map after some werebeast was killed, no fps problems anymore regardless of revealed map

Here´s the save (actually a full install since I thought it might be easier to test because I use Phoebus and dfhack):
http://dffd.wimbli.com/file.php?id=5873 [^]
(0021498)
robertheinrich (reporter)
2012-03-16 01:23
edited on: 2012-03-16 01:56

I have the same thing happen again on another map: sudden fps drop. After disabling invaders fps goes back to normal. No invaders on the map.

Edit: I let the map run for a while (with invaders enabled) and a siege of ca. 20 undead humans and goblins arrived. Very untimely by the way because I only had 32 dwarves and almost no wealth yet.

So together with the other map where the fps would drop before a werebeast arrived it seems that fps goes down quite a while before invaders actually arrive on the map.

And it might just be bad luck, but it´s the first time I had a siege with 20+ invaders arrive in the second year while having way less than 50 dwarves and almost no wealth.

(0021505)
Footkerchief (manager)
2012-03-16 07:47

Do you have a save that demonstrates this problem without reveal ever having been run? The use of third-party utilities kinda voids the warranty.
(0021513)
robertheinrich (reporter)
2012-03-16 13:02
edited on: 2012-03-16 13:05

Unreveal should revert the game map to the original state (i.e. before reveal was first called).

While I see where you are coming from regarding never using memory-altering tools - vanilla DF is almost unplayable without them.

But for the sake of this bug report I will try to create a completely untouched ascii fortress (when I feel masochistic enough to do that) and check if it occurs there, too.

(0024371)
Footkerchief (manager)
2014-01-26 10:14

Still need a save that hasn't been memory-hacked.

- Issue History
Date Modified Username Field Change
2012-03-13 07:41 robertheinrich New Issue
2012-03-13 08:49 Footkerchief Note Added: 0021444
2012-03-13 12:47 robertheinrich Note Added: 0021447
2012-03-16 01:23 robertheinrich Note Added: 0021498
2012-03-16 01:56 robertheinrich Note Edited: 0021498 View Revisions
2012-03-16 07:47 Footkerchief Note Added: 0021505
2012-03-16 13:02 robertheinrich Note Added: 0021513
2012-03-16 13:05 robertheinrich Note Edited: 0021513 View Revisions
2014-01-26 10:14 Footkerchief Note Added: 0024371
2014-01-26 10:14 Footkerchief Status new => resolved
2014-01-26 10:14 Footkerchief Resolution open => unable to reproduce
2014-01-26 10:14 Footkerchief Assigned To => Footkerchief


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker