Xeno69 / Domination

Domination - A MP mission for Arma 3
84 stars 36 forks source link

Question about low server fps and Headless client #473

Closed nordost8 closed 1 year ago

nordost8 commented 1 year ago

Hello! My server fps is ~8 fps during the battle for the main target :( I tried to connect the Headless client (usually this significantly increased the FPS server in other missions), but it does not help to increase the FPS in any way domination mission :(

I take it it's not supported? Can I somehow make the Headless client work?

What else can I do to increase server FPS?

Here are all my specs:

Arma 3 server (Windows 10 server 2019) 8gm orm, 3 core intel xeon

Arma 3 headless client (Ubuntu 20.04) 4gm orm, 2 core intel xeon

My mods and server startup command: C:\Games\ArmA3\A3Master\arma3server_x64.exe -port=2302 "-profiles=C:\Games\ArmA3\A3Master" -config=server.cfg -world=empty "-mod=mods/@CBA_A3;mods/@Align;mods/@EM;mods/@Immerse;mods/@Suppress;mods/@JSRS SOUNDMOD;mods/@RE;mods/@ace;ws" "-servermod=mods/@AT;mods/@ASL;mods/@AR;mods/@Suppression;" -filePatching

server.cfg (mission part):

headlessClients[] = {"213.146.41.153"};
battleyeLicense   = 1;

autoSelectMission = true;

forcedDifficulty  = "custom";

class Missions
{
    class domination
    {
        template = "co40_domination_4_64_blufor_ws.sefrouramal";
        difficulty = "custom";
        class Params 
        {
            d_enablefatigue = 1;
            d_enablesway  = 1;
            d_with_suppress = 1;
            d_retakefarps = 1;
            d_with_MainTargetEvents = 2;
            d_with_ranked = 2;
            d_no_mortar_ar = 1;
            d_show_playernames = 1;
            d_show_headshots = 3;
            d_with_3Dicon = 0;
            d_mhqvec_create_cooldown  = 60;
            d_launcher_cooldown = 0;
            d_enable_extra_cas = 1;
            d_enable_civs = 1;
            d_enable_civ_vehs = 25;
            d_enable_civ_vehs_locked  = 0;
            d_max_bar_cnt = 4;
            d_MHQDisableNearMT = 0;
            d_NoMHQTeleEnemyNear = 0;
            d_EnemySkill = 1;
            d_HALOJumpHeight = 1000;
        };
    };
};
longtimegamer commented 1 year ago

Sorry, just retyping my comment.

I've used the headless client for years with Domination and it works well. I'm not sure what would cause your slowdown. It might be the mods.

nordost8 commented 1 year ago

Hmm, maybe you are right! But it's hard for me to even guess which of the mods can conflict with Domination, usually these mods had no effect. Maybe you know which of these mods can work badly with Domination? My mod list:

0:17:48 ============================================================================================= List of mods ===============================================================================================
20:17:48 modsReadOnly = true
20:17:48 safeModsActivated = false
20:17:48 customMods = true
20:17:48 hash = '03B136DA17C403C474D5C2C83C3DCF34812653D8'
20:17:48 hashShort = 'ba6e75b3'
20:17:48                                               name |               modDir |    default |   official |               origin |                                     hash | hashShort | fullPath
20:17:48 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20:17:48                              Arma 3 Western Sahara |                   ws |      false |       true |             GAME DIR | 2612059f48d2456a62027b9689eb790d18755513 |  d1555086 | C:\Games\ArmA3\A3Master\ws
20:17:48                 Advanced Combat Environment 3.15.2 |                 @ace |      false |      false |             GAME DIR | f5413c6e60e6aa9e5bbeda3f1dcdc3e029727f68 |  56cefafc | C:\Games\ArmA3\A3Master\mods\@ace
20:17:48                                        Real Engine |                  @RE |      false |      false |             GAME DIR | 8cf43bc8ebc43404e8141a6fe6241efe0fe8c923 |  5d5b2804 | C:\Games\ArmA3\A3Master\mods\@RE
20:17:48                         JSRS Soundmod - CE.20.0423 |       @JSRS SOUNDMOD |      false |      false |             GAME DIR | 89c22d28229ca1bfa92aaae4cfc509aa70fbc33c |  397cdfa7 | C:\Games\ArmA3\A3Master\mods\@JSRS SOUNDMOD
20:17:48                                          @Suppress |            @Suppress |      false |      false |             GAME DIR | 7bc28870b81381e659f4d276fc427f2c5984b059 |  3d328019 | C:\Games\ArmA3\A3Master\mods\@Suppress
20:17:48                                           @Immerse |             @Immerse |      false |      false |             GAME DIR | c9534405bd69ef0a15ab21a36a4ae74df2b5a0bc |  7f611797 | C:\Games\ArmA3\A3Master\mods\@Immerse
20:17:48                                  Enhanced Movement |                  @EM |      false |      false |             GAME DIR | fbc1f582c89f11919f9c6ead5d842e6c1aea9b71 |  a47fddc8 | C:\Games\ArmA3\A3Master\mods\@EM
20:17:48                                             @Align |               @Align |      false |      false |             GAME DIR | 7915e83a91dac146b62107676b81f0ad457f2972 |  48ab788b | C:\Games\ArmA3\A3Master\mods\@Align
20:17:48                      Community Base Addons v3.15.8 |              @CBA_A3 |      false |      false |             GAME DIR | 1d7bc59f1f4d1d2a3604e1c33be8fdd686a5617f |  b09d9bc5 | C:\Games\ArmA3\A3Master\mods\@CBA_A3
20:17:48                                  Arma 3 Art of War |                  aow |       true |       true |             GAME DIR | 6ba7b160d357ca64590614f6a6c4579168efc1d0 |  bc4189c2 | C:\Games\ArmA3\A3Master\aow
20:17:48                          Arma 3 Contact (Platform) |                enoch |       true |       true |             GAME DIR | 9f6919562e719e9f70bf666194a7862d3274185a |  87e92527 | C:\Games\ArmA3\A3Master\enoch
20:17:48                                       Arma 3 Tanks |                 tank |       true |       true |             GAME DIR | b4f3c4faa775f1c81c77f02f97cfa1aa18da5209 |  bbdf79e2 | C:\Games\ArmA3\A3Master\tank
20:17:48                                     Arma 3 Tac-Ops |               tacops |       true |       true |             GAME DIR | 8fcf9c1f0a1fa5b8d354b64967ffd6583fc43d3e |  fb047e5c | C:\Games\ArmA3\A3Master\tacops
20:17:48                                 Arma 3 Laws of War |               orange |       true |       true |             GAME DIR | 12abb4e3868e4b3036e9cea47138bdeb4abe518d |  f564c92a | C:\Games\ArmA3\A3Master\orange
20:17:48                                      Arma 3 Malden |                 argo |       true |       true |             GAME DIR | a844aa131096258aab8c000fddcc940284385494 |  49d733fb | C:\Games\ArmA3\A3Master\argo
20:17:48                                        Arma 3 Jets |                 jets |       true |       true |             GAME DIR | 3f599a4f98ca3a0cd3c5e5e574acc16737c061ef |  aae4f413 | C:\Games\ArmA3\A3Master\jets
20:17:48                                        Arma 3 Apex |            expansion |       true |       true |             GAME DIR | 26e79f13d9a9e6ae48a6119621f73d53cf411dbd |  fe5acf19 | C:\Games\ArmA3\A3Master\expansion
20:17:48                                    Arma 3 Marksmen |                 mark |       true |       true |             GAME DIR | 6f0fbfd365214eb67dc377503d2583c6718ff19b |  21bc50ea | C:\Games\ArmA3\A3Master\mark
20:17:48                                 Arma 3 Helicopters |                 heli |       true |       true |             GAME DIR | f61b0de0ac2bd0602413e01b40b80f56b2b32130 |   5e3c056 | C:\Games\ArmA3\A3Master\heli
20:17:48                                       Arma 3 Karts |                 kart |       true |       true |             GAME DIR | 952859b5e0bac3b093582ba87f54bdafea848df9 |   e2ac0c1 | C:\Games\ArmA3\A3Master\kart
20:17:48                                        Arma 3 Zeus |              curator |       true |       true |             GAME DIR | 531b60d7d72729c65b0bb6a87f6cd48b6d6a7041 |  3cafe885 | C:\Games\ArmA3\A3Master\curator
20:17:48                                             Arma 3 |                   A3 |       true |       true |    NOT FOUND (Empty) |                                          |           | 
20:17:48                                  LAMBS Suppression |         @Suppression |      false |      false |             GAME DIR | da39a3ee5e6b4b0d3255bfef95601890afd80709 |  11fdd19c | C:\Games\ArmA3\A3Master\mods\@Suppression
20:17:48                                Advanced Rappelling |                  @AR |      false |      false |             GAME DIR | da39a3ee5e6b4b0d3255bfef95601890afd80709 |  11fdd19c | C:\Games\ArmA3\A3Master\mods\@AR
20:17:48                             Advanced Sling Loading |                 @ASL |      false |      false |             GAME DIR | da39a3ee5e6b4b0d3255bfef95601890afd80709 |  11fdd19c | C:\Games\ArmA3\A3Master\mods\@ASL
20:17:48                                    Advanced Towing |                  @AT |      false |      false |             GAME DIR | da39a3ee5e6b4b0d3255bfef95601890afd80709 |  11fdd19c | C:\Games\ArmA3\A3Master\mods\@AT
20:17:48 ==========================================================================================================================================================================================================
20:17:48 InitSound ...
longtimegamer commented 1 year ago

How does it perform without the mods? I found some mods were too heavy for the number of enemies in Domination.

longtimegamer commented 1 year ago

You can also configure Domination for bot suppression instead of using a mod. It might give better server performance for you. Check out these properties to make the AI fight harder:

d_ai_awareness_rad = 500; d_ai_pursue_rad = 100; d_ai_aggressiveshoot = 1;

I use these settings with a high number of enemy groups. With server+HC the fps is usually around 50.

longtimegamer commented 1 year ago

Those are some great mods btw, look like fun. I really like the LAMBS mods but I am not sure how they work with Domination.

Xeno69 commented 1 year ago

You normally don't need a sound mod on the server (JSRS). Check for other client only addons on your server.

What about the suppression addon? This might cause FPS issues.

Other than that check for other server settings like min/max values in basic.cfg for example. Changing some of those values can also make a great difference. https://community.bistudio.com/wiki/Arma_3:_Basic_Server_Config_File

Xeno69 commented 1 year ago

Closing this now