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:




(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.


-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.

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

    • peter_spy

      Perhaps an unpopular opinion: TDM team might benefit from someone with actual QA experience; someone with naturally and professionally developed curiosity, who is interested in how and why things work, how they break At least to me it's kind of mind-boggling how untested some rather important features are (first the absence alert feature for items, now the rope +body carry behavior).
      · 4 replies
    • nbohr1more

      The Dark Mod is hosting an Ask Me Anything thread on the PC Gaming reddit forum:  https://www.reddit.com/r/pcgaming/comments/10nfcwj/hello_we_are_the_international_development_team/
      Feel free to join the discussion there
      · 2 replies
    • stgatilov

      Bumped into an interesting piece of wisdom called Hyrum's Law:
      With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.
      · 5 replies
    • The Black Arrow

      I love playing The Dark Mod when it's cold in my place. Bonus points when it's a bit (or even very) dark and it's raining, too.
      · 2 replies
    • The Black Arrow

      I've been having stutters in Vulkan, apparently it's Nvidia Drivers' fault, so I reverted to 512 according to this: https://www.nvidia.com/en-us/geforce/forums/geforce-graphics-cards/5/505679/regular-microstutter-in-vulkan-applications-after-/?topicPage=40

      And no, that did NOT fix it. What's going on? My GPU is an RTX 2070, by the way.
      · 4 replies
  • Create New...