Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Looking for suggestions for problem  (Read 985 times)

Dorm

  • Bay Watcher
    • View Profile
Looking for suggestions for problem
« on: May 17, 2014, 07:10:16 am »

Hi All,

Not sure where to post this and as it is quite general don't want to put a bug report in yet for each specific occurrence.

I have been playing Dwarf Fortress for a while but I keep getting frustrated as my fortresses get a bit bigger. I start out at 150 fps (cap) and slowly work down to ~50 fps (probably due to my inability to clean up and fortress design) which is still relatively playable but as soon as a siege starts dwarf fortress will just crash.

I have started to play on smaller and smaller embark areas as I assumed this was just my processor giving up the ghost but it is still occurring with 2x2 embark areas with ~80 dwarfs and I'm still capped at 150 fps.

I was wondering if anyone knew of some steps to try and fix it myself before I start setting up bug reports?

Thanks for any help offered!

PS: Computer is i5 @ 3GHZ and 8 GB ram (I'm aware only 1 core is used though).
Logged

WoobMonkey

  • Bay Watcher
  • High Lobster of Fluffy Wamblers
    • View Profile
Re: Looking for suggestions for problem
« Reply #1 on: May 17, 2014, 09:08:34 am »

Have you tried setting the program's priority to highest?

If you're using the LNP, there's a button for that.  If you're running a Windows PC, open the Task Manager, right-click DF, and set priority to max.

Also, what size world have you genned?  Are there many civs?
Logged
Edangzak Utharsanad Gedor - think you have what it takes?
CharmCrafted

The dog misses the ball!
The ball softly hits Urist McTrainer in the head, breaking the paper-thin skull and denting the non-existent brain!

Dorm

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #2 on: May 17, 2014, 09:55:30 am »

I'm using Masterwork DF loading tool with priority set to realtime (I am assuming that is highest but will manually force it too).

The most recent world I have created is 67x67 with I think 5-7 civ's - this one appears to be crashing even at 150 fps though with a 2x2 embark area and 77 dwarves.

Any help is greatly appreciated!
Logged

BigD145

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #3 on: May 17, 2014, 10:07:44 am »

Limit DF to a single core. Do this immediately after starting the exe. This should clear up your issue. Setting priority higher could cause even more problems.

One core IS used but your OS is constantly changing which core that is. You want DF to stay on one core.
« Last Edit: May 17, 2014, 10:09:34 am by BigD145 »
Logged

Dorm

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #4 on: May 17, 2014, 10:32:55 am »

Hi guys,

I've just tried limiting DF to my second core and also had a look in the error log (minor error was showing that I wasn't sure if it caused the crash).

Just deleted error log, re-ran my game on a single core and still crashes (and doesn't produced any new error log) - guess more serious and time to start putting in the bug reports!
Logged

BigD145

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #5 on: May 17, 2014, 10:52:32 am »

Are you overclocking your i5? Do you get the same problem if you run DF directly and not use the Masterwork loader? DF still works without the Masterwork exe. That thing just adjusts the raws, which are thereafter fine. This just sounds like a Masterwork thing. Best to ask in that part of the mod forums.
Logged

WoobMonkey

  • Bay Watcher
  • High Lobster of Fluffy Wamblers
    • View Profile
Re: Looking for suggestions for problem
« Reply #6 on: May 17, 2014, 10:59:55 am »

Another, possibly silly, question - is your CPU overheating, by any chance? 
Logged
Edangzak Utharsanad Gedor - think you have what it takes?
CharmCrafted

The dog misses the ball!
The ball softly hits Urist McTrainer in the head, breaking the paper-thin skull and denting the non-existent brain!

Dorm

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #7 on: May 17, 2014, 11:01:17 am »

Nah not overclocking at all - will go over to the masterwork forum and see if I can find anything!

Will try using vanilla DF soon and then report on bug tracker if I get crashes then.

PS: the CPU shouldn't be overheating - will try that first to rule it out though

EDIT - Just tested, my CPU is running at ~55oC in idle in the room (probably a bit hot) but is not massively affected when I run DF on that core. I would also not expect to have 150 fps (even with the small fort) if the CPU was struggling in the heat I think?
« Last Edit: May 17, 2014, 11:19:01 am by Dorm »
Logged

BigD145

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #8 on: May 17, 2014, 11:34:09 am »

FPS is not exactly what you think it is in DF.

55C idle is quite hot.
Logged

Dorm

  • Bay Watcher
    • View Profile
Re: Looking for suggestions for problem
« Reply #9 on: May 17, 2014, 03:34:09 pm »

Sorry for not getting back sooner!

I thought FPS was essentially the number of "steps" taken in DF?

I had a dig around anyway and tried hashing out all of the lines for digging invaders in dfhack.init file and worked perfectly! (strangely even though I have disabled this option)

Checked around and that seems to only be specific to MasterworkDF - so fixes current crashes and will still with masterwork for a while. This has given me a lot of info on things crashing though so might be able to fix it when vanilla DF crashes when I go back to it!

Thanks for all your help guys.
Logged