Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Very slow framerate?  (Read 1142 times)

Keiseth

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #15 on: October 29, 2007, 09:17:00 pm »

Moving it down to 3x3 makes a difference. Above ground! >_< Below ground I get 20 FPS. Which is a helluva lot better then 5 FPS, but strange nonetheless.

So I set up digging assignments and hide up in the sunlight. Hrm. Should of done 4x3 to get more of that big mountain I started next to.

EDIT: That was short lived. Now I'm getting ~5 FPS underground, low to the extent that while designating some space to clear, one single arrow keypress results in two. Guh.

[ October 29, 2007: Message edited by: Keiseth ]

Logged

chaswick

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #16 on: October 29, 2007, 10:19:00 pm »

I never was able to run it more than around 30-40 fps (with temp/weather off), but now it seems I get around 20-25 on surface, and 15ish underground with the same settings.  I have dug to the bottom (just to see) and also experience slower framerates on lower levels.  I noticed to that after saving and loading it seemed to be even lower (9 sustained!) but that may have been due to full screen being selected instead of windowed.  My system  is a roughly 3 year old laptop, not a powerhouse but I was hoping to see some performance increases with the new version, not decreases.  Oh well  :) I hope the people with new systems love the game enough for me too.  It was tolerable at 40, but I don't think I have patience at 15.  Maybe I'll keep plugging away though.
Logged
quot;@"@""i"

"A most unusual fungal rot," Mul observed, rubbing the greasy white mass between his gloved fingers.  It left a foul-smelling blue residue.

"But how can I get rid of it?" Doran said urgently.  "I''ve lost half of my crop to the blight al

BurnedToast

  • Bay Watcher
  • Personal Text
    • View Profile
Re: Very slow framerate?
« Reply #17 on: October 29, 2007, 10:25:00 pm »

There is definitely some sort of subterranean slowdown going on. I made a new fort on a 3x3 map, and I get 100 fps fine. I go down a level and get ~30.

It seems to be related to how many underground (or maybe undug?) tiles are on the screen. Roughly half my map is mountain, the other half outside. Viewing the outside gives me ~100 fps, moving over (on the same z level) so I can only see 'inside' the mountain is enough to drop it down.

Logged
An ambush! curse all friends of nature!

Name Lips

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #18 on: October 29, 2007, 10:34:00 pm »

This gets my vote for first bug to squash. It nearly makes the game unplayable.
Logged

axus

  • Bay Watcher
  • Axe Murderer
    • View Profile
Re: Very slow framerate?
« Reply #19 on: October 29, 2007, 11:38:00 pm »

Weird thing happened, it turned to autumn, some migrants arrived, and then my frame rate shot up to 70ish

OK its back down again.  Looking at pretty forest ill go to 100fps while the game plays on.

[ October 30, 2007: Message edited by: axus ]

Logged

Name Lips

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #20 on: October 29, 2007, 11:41:00 pm »

My migrants did not change my underground frame rate.
Logged

Griz

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #21 on: October 29, 2007, 11:50:00 pm »

Athlon X2 3800 at 2.4GHz, 2GB RAM, weather/temperature/etc on, vsync off.

default size map gives 100 fps on the surface and drops to 20-30 underground. 4x4 map gives 40 underground. I expect this to become unplayable in the late game so I'm going to restart with 3x3.

Logged

axus

  • Bay Watcher
  • Axe Murderer
    • View Profile
Re: Very slow framerate?
« Reply #22 on: October 30, 2007, 12:01:00 am »

Yeah, it seems even a small area underground will have low FPS... almost like the lower it is the lower the FPS.

EDIT: yeah FPS seems proportional to the number of unseen spaces on the screen.  Z-level doesn't matter, just how many unseen spaces there are.  Maybe the number is just incorrect?

EDIT: dwarf does move slower when FPS is lower.  solution: more mining?

[ October 30, 2007: Message edited by: axus ]

[ October 30, 2007: Message edited by: axus ]

Logged

oolon1

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #23 on: October 30, 2007, 12:05:00 am »

I actually have a top of the line CPU, a Core 2 Duo, and I'm having framerate surges.  It seems to oscillate from ~50 to ~100 and results in a jumpy sort of game.  Old version was flawless computation, this version seems to be lagging just slightly.

I'm going to try capping the framerate and see what happens, but hopefully this isn't a big issue.


edit:  the more I play, the more the lags seem to coincide with dwarves moving up and down levels.

[ October 30, 2007: Message edited by: oolon1 ]

Logged

Mzbundifund

  • Bay Watcher
  • Doesn't play adventurer mode
    • View Profile
Re: Very slow framerate?
« Reply #24 on: October 30, 2007, 12:45:00 am »

Could the sheer number of creatures be a major cause?  My fortress started with 160+ antmen, ratmen, caveswallowmen, and the like visible on the (u)nit summary screen.
Logged

oolon1

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #25 on: October 30, 2007, 12:55:00 am »

After another hour of playing, the lag is definitely being caused by dwarves moving up or down levels.  The game locks up very briefly every time a dwarf changes z-level.
Logged

Griz

  • Bay Watcher
    • View Profile
Re: Very slow framerate?
« Reply #26 on: October 30, 2007, 01:14:00 am »

quote:
Originally posted by oolon1:
<STRONG>After another hour of playing, the lag is definitely being caused by dwarves moving up or down levels.  The game locks up very briefly every time a dwarf changes z-level.</STRONG>

3x3 map
all dwarves currently sleeping
100 fps on surface, 35-45 underground

3x3 is not significantly faster than 4x4 and the map is tiny so I'm probably missing out on chasm/magma/etc.

Logged

Mzbundifund

  • Bay Watcher
  • Doesn't play adventurer mode
    • View Profile
Re: Very slow framerate?
« Reply #27 on: October 30, 2007, 01:24:00 am »

Yeah, the game does freeze for a moment when dwarves change z-levels (but not every time), but the real framerate problem seems to be caused by viewing certain z-levels.  Usually those with lots of underground space.

EDIT: It seems unexplored space is a big factor in the framerate.  If we got an updated reveal.exe that worked with this version, perhaps it would be a good temporary workaround?

[ October 30, 2007: Message edited by: Mzbundifund ]

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Very slow framerate?
« Reply #28 on: October 30, 2007, 01:36:00 am »

Yeah, this sounds like the sort of thing that'll be easy to fix once I find the problem location.  It's probably doing something really stupid when it's trying to figure out whether to display sky or ground for an unallocated map area.  Most likely will be fixed for the next version.
Logged
The Toad, a Natural Resource:  Preserve yours today!
Pages: 1 [2]