View Issue Details

IDProjectCategoryView StatusLast Update
0010444Dwarf FortressTechnical -- Generalpublic2018-01-11 18:07
ReporterEtherealPsyche Assigned ToToady One  
PrioritynormalSeveritymajorReproducibilityN/A
Status resolvedResolutionfixed 
Platformi3-2100, GTX 650, 8GB DDR3 RAMOSWindows 10OS VersionLatest Version
Product Version0.44.02 
Fixed in Version0.44.04 
Summary0010444: Extreme Lag and Stuttering after 7 Year Old Fort on World with Default Settings
DescriptionI had a world generated with the default settings (medium on all settings) and started a 4x4 fortress on it which ran for about 7 years. It had got to a point where it was in the single digits with FPS, stuttered frequently and was near unplayable (I assumed it was because of visitors) so I had abandoned it.

Never had stuttering like that before. Whatever had caused it, I didn't expect it to carry on to other forts, but it did. I tried a 3x3 embark somewhere and same problem. 1x1 embark, same problem. Saving and loading naturally also takes an excessively long time now so whatever caused it seems to have put a strain on history generation.

In any case, this world is pretty much rendered unplayable.
I've tested generating the exact same world again twice (once to the year 250, second time to the year 257) to try and confirm it's the history or one of my forts and it is indeed something I've unknowingly caused.

Also worth mentioning is I did a 16x16 embark in one place just to make a bridge across continents so I could raid the Elves on another continent, though I had abandoned that site too so I'm not sure how that would be putting a strain on history generation if the site is not active.
Additional InformationI've left a link here to the world that I have this problem with, in case it helps identifying the issue and/or user error.

https://drive.google.com/file/d/1v5CWW8Tqewy4UCKlCvbbRyuYZQWwrk8o/view?usp=sharing
TagsNo tags attached.

Relationships

related to 0009109 resolvedToady One Massive stutter every few seconds 
related to 0010459 resolvedToady One Game stuttering/freezing every couple of steps 
related to 0009554 resolvedlethosor Game freezes for about 10 seconds then runs for 10 seconds repeatedly 

Activities

sionlife

2017-12-13 06:01

reporter   ~0037297

I tried downloading the file but there isn't a saved game to load up. Can you save a running game with this problem? Sorry I don't have time to play a new game for 7 years to see if there could be a potential problem.

EtherealPsyche

2017-12-13 10:25

reporter   ~0037298

@Sionlife Sure thing.
I reclaimed the 1x1 embark I started earlier. Really, all embarks are affected. I think the issue may be that whatever I've done has caused the history generation to be so slow that the game has to stop to update the history.

Here is the link to the game save with an active 1x1 embark.

https://drive.google.com/file/d/19JLVe7zrALnuWLcgC7xr54nx8WvVej0y/view?usp=sharing

sionlife

2017-12-14 08:36

reporter   ~0037301

Thanks for the game save. I downloaded and I immediately saw the lag. I sealed off the caverns and it made no difference. I was getting low fps <60fps even though there were no buildings and only 7 dwarves. It should have been 100fps.

I generated a new world on medium settings to check and I found no problems with that so it looks like its something specific to your world gen.

I am at a loss for the moment as to what could be causing this :(

EtherealPsyche

2017-12-14 14:43

reporter   ~0037307

Last edited: 2017-12-14 14:43

I'm baffled myself. I don't understand how it could be that bad with so little going on.
My only guess is that the one 16x16 embark I did at one point to make a tunnel between continents might have had an effect. Though it shouldn't if it's abandoned, right?
If abandoned forts continue to have a heavy impact on history generation and FPS on the game save, that would make the prospect of sticking with a world for an extended amount of time (say 20+ years) with multiple forts and adventurers a bit of a problem. Though it could be related to civs pathing through the abandoned fort to reach another continent. I'm not entirely sure.
In any case, it is very odd.

sionlife

2017-12-14 16:44

reporter   ~0037309

I did a bit more experiment. On one of my own default medium world gens, I tried to replicate your 16x16 embark choosing a spot near the ocean. I abandoned that embark same as you. Then when I tried other normal embarks there was no fps drop. So I can say that a simple 16x16 embark doesn't automatically cause lag in other embarks.

I went back to your world gen file and I reclaimed what I think must have been your main fort. I noticed that in the NW corner you had tunneled into a murky water pool in what looks like an attempt to bring water to some farm plots nearby. But a large part of the surface was getting flooded with water. I can understand how this might cause lag but I can't see how it would impact other embarks.

Sarmatian123

2017-12-14 17:32

reporter   ~0037312

Last edited: 2017-12-14 17:40

My DF drops from 100(60) to 10(10) after all Dwarves arrive and I've build my fortress. I tried many designs, but it seems the odd pathing algorithm is not the issue in my case. Not huge one. More like 10000-20000 blocks spent on constructing my fortress may maybe have something to do with that sooner. Not fast this computer of mine is. I guess I should stay away from 44.02 like from ultimate fps ending of DF.

Loci

2018-01-11 13:16

viewer   ~0037584

This save appears to have been fixed, presumably by the stutter-bug-fixes in v0.44.04 (0010459).

Issue History

Date Modified Username Field Change
2017-12-11 16:40 EtherealPsyche New Issue
2017-12-13 06:01 sionlife Note Added: 0037297
2017-12-13 10:25 EtherealPsyche Note Added: 0037298
2017-12-14 08:36 sionlife Note Added: 0037301
2017-12-14 14:43 EtherealPsyche Note Added: 0037307
2017-12-14 14:43 EtherealPsyche Note Edited: 0037307
2017-12-14 15:38 Loci Assigned To => Loci
2017-12-14 15:38 Loci Status new => acknowledged
2017-12-14 16:44 sionlife Note Added: 0037309
2017-12-14 17:32 Sarmatian123 Note Added: 0037312
2017-12-14 17:32 Sarmatian123 Note Edited: 0037312
2017-12-14 17:33 Sarmatian123 Note Edited: 0037312
2017-12-14 17:40 Sarmatian123 Note Edited: 0037312
2017-12-21 19:26 lethosor Relationship added related to 0009109
2017-12-21 19:27 lethosor Relationship added related to 0010459
2017-12-21 19:31 lethosor Relationship added related to 0009554
2018-01-11 13:16 Loci Note Added: 0037584
2018-01-11 13:16 Loci Status acknowledged => resolved
2018-01-11 13:16 Loci Resolution open => fixed
2018-01-11 13:16 Loci Assigned To Loci => Toady One
2018-01-11 18:07 lethosor Fixed in Version => 0.44.04