Jump to content
The Dark Mod Forums

performance breaking after multiple mapstart


Johannes Burock

Recommended Posts

what is the problem:

 

i boot my system, start my map to look for the things what i want to do today.

i often dmap the map and start it to have a look ingame. After some times of dmapping and starting the map the fps get down trastically (f.e. in one part from ~60 to ~30 !). but i didnt create much more in this time, i even deletet 5 lights ! all other games are running fine furthermore.

after a reboot all is running ok up to 60 fps.

 

have somebody else this problem ? and why is it ?

Link to comment
Share on other sites

That sounds like you hit a memory leak of some sort.

 

I know that Greebo fixed a bunch of them for v1.03 but it's certainly possible that others persist. In addition, we have no idea what SDK actions might cause the Doom 3 executable to do something that would cause a memory leak. I know that I have seen performance improvement with fresh restarts or re-installing missions...

 

Though, it's best to restart TDM after a dmap has complete before trying to test your map updates...

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

  • 1 month later...
I've also experienced this. I restarted the whole computer and it went back to normal...Quite frustrating when you hunt every last FPS-point to optimize your map.

I was about to say just the same, its normal. but you dont have to restarte the pc 995 of the time. just shut down doom/tdm count to five and start again and you will be fine.

Link to comment
Share on other sites

It probably is a leak of some kind.

 

But I don't see why it would make it that hard to optimize. How many times do you need to compile just to check FPS?

If you're getting 45 and do some optimitizing it shouldn't be any worse right? And if you added portals merely seeing them work is enough to know it's gonna help even if your fps is lower that time around.

And if you only do enough to gain a few FPS anyway what's the point in checking that?

 

I'd say just do the work you need to do and if you really need to confirm a solid FPS then that's a good time to restart it. Only check the numbers on first run through.

Dark is the sway that mows like a harvest

Link to comment
Share on other sites

True, but as I work along, I do stuff here and there and a falling FPS COULD be the result of over enthusiastic adding-of-shit so at the end I do not know if the FPS-drop is because of too much stuff, or a performance leak.

Link to comment
Share on other sites

A leak would prevent dmapping altogether and I don't know about 'performance leak.'

 

I do, however, have a suggestion.

 

Stop looking at the fps counter. I've noticed that it is lower if you have progs open in the background. With DR running the fps is mediocre for a simple scene. After a boot with only d3 running the performance is solid.

 

So stop looking at fps, learn a nice workflow and always do efficient visportalling when working on an area, ie do not leave that to last.

 

If you're worried about performance, you could start looking tris count instead. R_showprimitives. Decide you never go over x tris in a scene and you'll be fine.

 

What x is open for discussion. 200 000? The triscount of knightons manor opening scene (with all the ai) is probably close to a good maximum. It performs still well but anything more to that starts to affect performance on my computer. Can't check the value now..

 

Anyways, the triscount is not the best meter, since drawcalls and those affect performance. But it can be a rough meter the mapper can use to avoid getting too carried away with a scene. And it is not affected by the things you have running along d3.

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

By performance leak I meant the fact that TDM/Doom slowly succumbs in FPS as you DMAP and play and edit for a while.

 

And yes, one should not totally be dependent upon the FPS as they increase the feel of sluggishness and if the counter wasn't there, one would probably not care as much...But I look because I had splendid FPS in Betrayal on most places, and then some folks couldn't play it at all...

 

I shall check out r_showprimitives

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...