ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Huge performance drop when using explosive ammo on destructible objects

Open jayjay213 opened this issue 11 years ago • 26 comments

ACE3 Version: 3.2.1 stable

Mods:

  • @cba_a3
  • @ace3

Placed ACE3 Modules:

  • None

Description: *There is a huge performance drop when using explosive ammo like mortar shells on destructible objects and buildings. *

Steps to reproduce:

  • *Set up a mk6 mortar, shoot a building and watch the slideshow. However, it works with every weapon that can destroy buildings *

Where did the issue occur? "Multiplayer", "Singleplayer"

RPT log file: ----

jayjay213 avatar Sep 02 '15 20:09 jayjay213

I can confirm this when I was testing artillery, as soon as an explosion goes off. Could it be spooling trying to work out values or some such through a large multi-walled object?

Khaosmatic avatar Sep 03 '15 14:09 Khaosmatic

i cant reproduce please try to add more information and if its posible a video and RTP file this is important for this issue

jokoho48 avatar Sep 06 '15 22:09 jokoho48

Do you use a Soundmod? (e.g. LAxemann's Enhanced Soundscape or JSRS3: DragonFyre)?

We had the same problem with the enhanced soundscape and huge explosions.

Knight1981 avatar Sep 10 '15 05:09 Knight1981

No, only @cba_a3 @ace3. without ace3 i dont have this problem. I don't have an RTP file, but it happens in editor too. It seems i am not the only who has this problem, Khaosmatic has it too. The stutter appears when destroying a building with a mortar or tank, any explosive weapon that can destroy buildings.

jayjay213 avatar Sep 10 '15 17:09 jayjay213

Ok, after some more testing, i can say that the lag appears not every time. when you shoot a single house, everthing is good, no stutter. It seems to happen more often, when multiple objects are destroyed or damaged from the same shell. (walls, trees, buildings frome the same explosion) Maybe it depends on what you hit exactely or how many objects are damaged, i don't know. But it happend a few times too, when the shells just hit the dirt ouside the town. The stutter is most obvious when you shoot a small town with the Sholef. Sometimes when the shell hits the traget there is a short heavy framdrop or some sort of lag, about 1-2 seconds. But its not happening every time. After that short lag the framerate is normal again. I can't really pin it down to a certain situation. When you place a Sholef near Syrta and shoot some rounds across the town, you should see this lag at least a couple of times.

jayjay213 avatar Sep 10 '15 22:09 jayjay213

R P T

commy2 avatar Sep 12 '15 14:09 commy2

i tested this on a server, only to get a RPT. But, on the server everything is fine. It seems that this issue only occurs in the editor or singleplayer. I played the mission i used for server testing in the editor, and the problem was there again. Strange.

jayjay213 avatar Sep 12 '15 22:09 jayjay213

Give us your singleplayer / editor RPT then?

bux avatar Sep 13 '15 17:09 bux

... snip ....

Edit: http://pastebin.com/NzKDsxxS

jayjay213 avatar Sep 14 '15 17:09 jayjay213

With a 155mm mortar, your going to get a lot of frags, that and the building blowing up do cause some frag drop.

You can disable frags with the following in description.ext:

class ACE_Settings {
    class ace_frag_Enabled {
         value = 0;
   };
};

PabstMirror avatar Sep 19 '15 20:09 PabstMirror

thanks for the workaround. i hope this will be fixed in next release, with a 980 ti there shouldn't be such heavy frame drops, even if there are a lot of frags. with a slower card the stutter must be even more worse. its strange somehow, that this isn't occurring when playing on a server. shouldn't this happen in both cases, if it's really a performance problem?

jayjay213 avatar Sep 20 '15 15:09 jayjay213

The fragmentation subAmmo calculations and creation are only run on the server.

PabstMirror avatar Sep 20 '15 15:09 PabstMirror

so its not the GPU but the extra CPU load when playing offline, because everything is calculated by one machine? Just for my understanding...

jayjay213 avatar Sep 20 '15 15:09 jayjay213

I never had that problem though.

bux avatar Sep 21 '15 06:09 bux

@bux578 is your CPU or GPU overclocked?

jayjay213 avatar Sep 21 '15 13:09 jayjay213

no

bux avatar Sep 21 '15 13:09 bux

What CPU/GPU do you have?

I thought its maybe related to overclocking, so i set all values to stock values, but no change. think there is no doubt that it must be a bug. I don't believe that a 4770k @4ghz and a 980 ti lack the power to calculate some additional frags without breaking the framerate. Besides that, i don't have any framedrops in vanilla arma, even if there are massive amounts of explosions and gunfire at the same time. Tested this too already.

jayjay213 avatar Sep 21 '15 19:09 jayjay213

i7 4790k, GTX 780 Going from 62 fps to 37 fps per detonation with 8 rounds fired from Stratis airbase to random places in Agia Marina with a MK6 mortar using only cba and ace3 in the editor

bux avatar Sep 21 '15 20:09 bux

I tested this only on altis so far, but i got similar results on stratis. 78 fps to 35 fps. but when the round hits the right spot, the fps goes down to 7 or 9 fps (on stratis, feels like its even worse on altis) it really depends on where the round detonates, as you can see in the video i posted earlier (http://www.filedropper.com/a3-ace). i suspect that its happening only when many structures are damaged by one explosion. As PapstMirror said, its related to the frags and the building blowing up. But it confuses me that you, with a similar hardware config, didn't have that problem.

jayjay213 avatar Sep 22 '15 00:09 jayjay213

bug is still there with ace3.3.2

jayjay213 avatar Sep 27 '15 14:09 jayjay213