ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

Performance Issues with the interaction menue

Open OnkelDisMaster opened this issue 11 years ago • 37 comments

Me and a couple others from my clan have noticed, that the FPS drops hard on opening the interaction menu. In my case it went from 65 to 23. Self interaction works flawlessly.

OnkelDisMaster avatar Apr 10 '15 12:04 OnkelDisMaster

The menu is indeed performance hungry; however you should not have such a pronounced impact. Please complete the bug report according to this guidelines:

http://acemod.github.io/ACE3/wiki/user/how-to-report-an-issue.html

A vid of the situation in wich you encountered the issue would be helpfull too.

nicolasbadano avatar Apr 10 '15 12:04 nicolasbadano

Happened for me one time as well, but i was unable to reproduce it :(

rlex avatar Apr 10 '15 13:04 rlex

It appeared on singleplayer, while interacting with an AI. On a dedicated Server it only appears on greater ammounts of players. So i think its just an issue with the performance hungryness, since there were about 40 AI soldiers around.

OnkelDisMaster avatar Apr 11 '15 14:04 OnkelDisMaster

I'm having same issue in MP. For instance when I had 45FPS, after using interaction it dropped to 24FPS. So it's really performance hungry.

Kllrt avatar Apr 12 '15 14:04 Kllrt

Mods:

  • CBA A3
  • ACE3
  • BWMod
  • RHS:Escalation
  • IslaDualaA3

Placed ACE3 Modules: None

Description: Like Kllrt and rlex said the FPS drops extremely on opening the interaction menu.

Steps to reproduce: Well, open the interaction menu i guess...

Where did the issue occur? MP/SP

OnkelDisMaster avatar Apr 12 '15 14:04 OnkelDisMaster

I say again:

The menu is indeed performance hungry; however you should not have such a pronounced impact. Please complete the bug report according to this guidelines:

http://acemod.github.io/ACE3/wiki/user/how-to-report-an-issue.html

A vid of the situation in wich you encountered the issue would be helpfull too.

Without a video of when/where this happens, an rpt log, the specs of the computer or something I really have zero relevant information to track this!

You know, this doesn't happens to everyone nor in every situation.

nicolasbadano avatar Apr 12 '15 14:04 nicolasbadano

You know, this doesn't happens to everyone nor in every situation.

This is true indeed, but it seems it happens to me all the time.

Mod list: http://ctrlv.cz/hzjn

It happens in MP, haven't tried SP yet.

BTW I happened to make fast video (FPS is in down left corner) https://www.youtube.com/watch?v=XTlXWWN7yr4 Here's RPT https://gist.github.com/Kllrt/6ff221fea23487dc8bf9

Kllrt avatar Apr 12 '15 14:04 Kllrt

@Kllrt, could you post your computer specs? This may be a thing of GPU bound FPS vs CPU bounds fps.

For example, I think I may have a worse GPU and a better CPU than you; my fps go from 34 without the menu to 33 when interacting with two nearby soldiers

nicolasbadano avatar Apr 12 '15 14:04 nicolasbadano

Well I have i5-4670k @ 4GHz and GTX770. (Do you want more specs? :P)

Kllrt avatar Apr 12 '15 14:04 Kllrt

I got i5 3570k and GeForce 780 Ti and have the same issue.. during the testing we also sometimes occur that interaction stop working on people, even after respawn, but that's an another issue

lubomirblazekcz avatar Apr 12 '15 15:04 lubomirblazekcz

Mmm, both of those processors AND gpus are better than mine.

It happens in MP, haven't tried SP yet.

The interact menu is 100% local. It doesn't have any kind of impact over the network, so performance is independent of SP vs MP.

Here's RPT https://gist.github.com/Kllrt/6ff221fea23487dc8bf9

I couldn't find anything relevant on the that log. It is however badly spammed by a lot of other addons, which probably degraded overall performance.

I may generate a more standarized test mission so we can eliminate variables. I'll let you know

nicolasbadano avatar Apr 12 '15 15:04 nicolasbadano

Cool!

Kllrt avatar Apr 12 '15 15:04 Kllrt

I really wonder what the hell is 16:37:43 Unknown attribute .1, it's spamming clients on our server like hell o.O Could be mission or addon, but don't know if it's related to these performance issues

lubomirblazekcz avatar Apr 12 '15 15:04 lubomirblazekcz

Many addons are really broken due to the changes on inheritance of 1.42, creating a lot of "Updating base class" errors. These lead to potentially inconsistent configs for different players due to load order and consequently all sort of problems.

I don't think this is related to the interact_menu performance, but it will surely give you worse overall performance.

nicolasbadano avatar Apr 12 '15 15:04 nicolasbadano

If you've found an issue with ACE3 please make sure that ACE3 is really the cause of the problem. To do this try to reproduce the issue with using only @cba_a3 and @ACE3 on a newly created mission.

bux avatar Apr 12 '15 16:04 bux

I've spent most of the day on and off trying to reproduce this issue. Haven't had any luck yet, either on SP or MP. The most I've seen is 4~5 less fps for about 0.5s inmediately after opening the menu for the first time (medical actions are computed at that point, and then cached for as long as possible).

I've timed different parts of the algorithm and found no performance bottlenecks, but that is kinda obvious given that I couldn't observe the issue.

I assume you guys are using the unofficial version uploaded to Armaholic, right? The current version has a couple of tiny differences; I wouldn't expect them to have fixed the issue, but TBH I don't know what to think.

Keep your eyes peeled for any scenario in which this can be reproduced reliably. I could maybe provide a special build with additional debug logs to run in such an scenario on the next few days.

Cheers

nicolasbadano avatar Apr 12 '15 22:04 nicolasbadano

I assume you guys are using the unofficial version uploaded to Armaholic, right?

Evro and I had like half day old build.

Kllrt avatar Apr 13 '15 04:04 Kllrt

https://github.com/acemod/ACE3/commit/7b0e7a1efb040f6373d6183108445a6b22a499b7 this was the latest commit on the build we were testing. We will update the build today and keep testing ;)

lubomirblazekcz avatar Apr 13 '15 06:04 lubomirblazekcz

During our test yesterday I had fps dropping from 30fps to 20fps when opening the menu in base.

bux avatar Apr 13 '15 08:04 bux

Which is pretty noticable drop.

Kllrt avatar Apr 13 '15 08:04 Kllrt