View Issue Details

IDProjectCategoryLast Update
0006067Valley 1Bug - OtherMar 21, 2012 11:42 am
ReporterBluddy Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.579 
Fixed in Version0.900 (Beta Series 3) 
Summary0006067: Still having performance problems
DescriptionI'm playing on a 2011 15" Macbook Pro - a serious machine - and I still get pretty heavy performance issues every once in a while. There are a lot of pauses when moving around. I don't know if resources are still uncached or if it's a CPU spike issue. I have seen the CPU usage go up occasionally during those pauses, but usually I don't remember to look.
TagsNo tags attached.
Internal WeightFor New Player Experience

Activities

Chris_McElligottPark

Feb 22, 2012 4:34 pm

administrator   ~0019607

Any other details you can provide? Is it stuttering a bunch for a few seconds, or is it just one big stutter and then fine? Is it soon after you have entered a new screen, or just randomly?

Do you have much going on in the background with your disk? The game background-saves your world as you explore, so it might be that if your disk is under heavy contention it is having some issues there.

I might need to make some sort of "performance monitor mode" that throws up a warning to you every time a file is read or saved, something like that. That way if you enable that mode, we'd be able to at least isolate what the cause was as you were running around.

If it's just a single lag spike every so often, of course that could simply be a matter of the garbage collector kicking in, too.

Bluddy

Feb 22, 2012 4:42 pm

reporter   ~0019609

I play in windowed mode and this time I made sure there was nothing going on in the background. I'm working from memory here, but it seems like it happened more when I entered areas, or when a new type of enemy (that hasn't appeared in the chunk yet) appeared on-screen. I'll test some more when I get home.

Also, usually it's a single stutter and then things are fine. But there was one time when I had a string of them.

Chris_McElligottPark

Feb 22, 2012 4:46 pm

administrator   ~0019610

That _really_ does sound like it's loading assets in the background that it should have loaded before. I was seeing that exact behavior a few releases ago, but thought I fixed it. I'll be able to put in a test case for that, just in case, in the future.

Actually, there may be one thing I can go ahead and do... hang on...

Chris_McElligottPark

Feb 22, 2012 4:50 pm

administrator   ~0019612

No, no luck on that idea. Will have to investigate further later.

Chris_McElligottPark

Feb 29, 2012 12:19 pm

administrator   ~0020027

Okay, I finally found it:

* Fixed a rather dramatic issue with texture preloading failing to load the actual spells and abilities for players or enemies. This would lead to in-game loading lag (potentially heavy, depending on the speed of your disk) as textures were loaded during battle.
** The downside is that this required changing quite a few things that we'd rather not have changed right before a major releasem, because of the risk of bugs (enemies using the wrong spells, or not being able to cast spells, or players using one ability and getting the wrong projectile would be the risks here).
** But on the other hand, this was a rather severe performance problem for older machines in general, and we just couldn't leave this in when so many people are about to look at the game for the first time. Fingers crossed.

Bluddy

Mar 21, 2012 11:21 am

reporter   ~0021137

Sorry to be the carrier of bad news, but I still get this problem on the latest build. I still get small pauses, often when I'm about to do something new like use a new spell, or if a new enemy shows up. What usually happens then is that the game interprets my last movement input as a double tap, and that doesn't end up well.

I don't know if this is a Mac-exclusive thing.

Any debug commands you can give me would be helpful. I don't even know how to show fps, so really anything might help me investigate it.

Chris_McElligottPark

Mar 21, 2012 11:42 am

administrator   ~0021142

Depending on when you are talking about, I get this too. When monster spawners spawn new spells, it does this. And I think there may be a regression where it doesn't preload certain things properly after you've exited a region type, go to a different region, and come back to the other region type.

At any rate, for the next version the following should help you find what is happening on your case in particular:

* Added two new settings to the graphics tab of the settings menu:
** Show FPS In Chat Log
*** You can see your FPS (frames per second) in the debug menu by pressing F3 if you just want to check on it quickly. But if you're looking for a way to watch your FPS on an ongoing basis, this setting is more helpful as it doesn't cover a bunch of your screen with the debug menu.
** Show Images-Loading-During-Gameplay In Chat Log
*** Normally you would not want to turn this on. But if you're getting image-loading related lag spikes and want to see what is being loaded and when (so that you can report it to us, presumably), then this is a helpful tool. We also use this internally to try to keep such lag spikes from happening in the first place.

Issue History

Date Modified Username Field Change
Feb 22, 2012 11:22 am Bluddy New Issue
Feb 22, 2012 12:38 pm tigersfan Internal Weight => For New Player Experience
Feb 22, 2012 12:38 pm tigersfan Assigned To => Chris_McElligottPark
Feb 22, 2012 12:38 pm tigersfan Status new => assigned
Feb 22, 2012 4:34 pm Chris_McElligottPark Note Added: 0019607
Feb 22, 2012 4:42 pm Bluddy Note Added: 0019609
Feb 22, 2012 4:46 pm Chris_McElligottPark Note Added: 0019610
Feb 22, 2012 4:50 pm Chris_McElligottPark Note Added: 0019612
Feb 29, 2012 12:19 pm Chris_McElligottPark Note Added: 0020027
Feb 29, 2012 12:19 pm Chris_McElligottPark Status assigned => resolved
Feb 29, 2012 12:19 pm Chris_McElligottPark Fixed in Version => 0.900 (Beta Series 3)
Feb 29, 2012 12:19 pm Chris_McElligottPark Resolution open => fixed
Mar 21, 2012 11:21 am Bluddy Note Added: 0021137
Mar 21, 2012 11:42 am Chris_McElligottPark Note Added: 0021142