Page 1 of 1

Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 12:01 am
by mrpickles
I've been getting major framerate lag in end game... actually, it might be more accurate to say things freeze completely every once in a while.

I'm using a level 49 Yeek Solipsist, and though I can't be sure, it SEEMS like Inner Demons is the cause... or at least the appearance of an inner demon copy is preceded by a massive freeze up. (Also: every rare while, the inner demon spawns in groups of two. I'm not sure if this is because of my global speed being around 160%, or if it's a glitch.)

I'd say 2 or 3 levels ago, there was no problem. But recently it's happening a lot, and the game is beginning to feel very sluggish. Saving is also taking an unusually long time. I've played a couple game winners before, and never had slow-downs like this.

I guess my question is: is this a known problem/limitation with the game? And more specifically, is it a known issue with Inner Demons?

Thanks!

Edit: I have a super fast rig that's less than a year old. Intel i7-3770 3.4 Ghz, 16GB ram etc.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 1:27 am
by HousePet
Inner Demons uses a special shader on the copy.
These shaders use OpenGL which doesn't appear to be as stable/supported as well as the commercial versions.
The exact issue hasn't yet been determined.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 1:34 am
by The Revanchist
This is probably complete speculation, but I've noticed that, after running the game nonstop for a few hours, the overall speed goes down the toilet.

It seems that taking short breaks (save, exit and re-enter) alleviates that, however.

Again, no technical knowledge backing that, unfortunately. :(

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 1:43 am
by HousePet
Yeah, there is a memory leak in there somewhere too.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 2:12 am
by mrpickles
Thanks. And I can confirm that exiting and restarting helps... but not for very long. A couple inner demons, a Dreamscape (because I like the concept, damnit), and I'm in framelock again.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 3:20 am
by HousePet
Interesting.
Could you monitor the games memory usage?

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 4:32 am
by mrpickles
I did a quick survey of my memory usage: During 45 minutes of play, I checked task manager 3 times (at roughly evenly-spaced intervals):

1: 645 Mb (this was my first check, but I'd been playing for some uncertain amount of time previously and had left the game running while afk).
2: 714 Mb
3: 1019 Mb

Also, I should note that I have a "terror" (Night Terror) in my list of party icons at the top of the screen. It's been there for a while, even though I don't see one on the screen, and I've been in and out of cities etc., i.e. many many turns have passed. Also, I got a note for "Lore Found: Chromatic Harness" even though I hadn't found one.

I don't mean this to be a bug report... I'm just sort of noticing a few weird things in conjunction with the framerate lockups.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 4:37 am
by mrpickles
Some other memory usage notes...

On fresh load, at main menu:
60 MB

On initially loading into the game, in the Gates of Morning:
185 MB

So yeah... memory leak I guess.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Mon Mar 24, 2014 5:18 am
by HousePet
Err no.
It should increase memory usage when you load a game.
The interesting number is what the memory usage is when the fps becomes bad.

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Tue Mar 25, 2014 12:31 am
by mrpickles
Sorry, I think you misunderstand me... I'm saying it starts at 185 MB when I load the game... but as previously reported, it gets up to 1019 Mb when things are starting to lock up during Inner Demons casts etc. It's that jump from 185 to 1019 over the course of a playthrough that I'm talking about.

That seems like a leak to me. But maybe I'm underestimating the size of all the assets loaded into memory from the different locales/monsters?

Re: Major Framerate Drops in End Game (Inner Demons?)

Posted: Tue Mar 25, 2014 3:10 am
by HousePet
Oh, didn't notice you had two posts there. Bad double poster. :P
Yep that is a bad memory leak.
Need to dissect that memory and see what is leaking. Unfortunately that is tricky.