Input lag in live game

Discussion in 'Support!' started by lostmekka, March 20, 2014.

  1. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    It's definitely worth exploring since they are linked.
    Would that help ? Or it's purely cosmetic ?
    Getting late here, may try tomorrow.
  2. ArchieBuld

    ArchieBuld Active Member

    Messages:
    113
    Likes Received:
    47
    Yeah I know, but it's kind of obvious. Just test it for youself. Start building like 5 factories at the same time, and let all the notifications appear on your screen. The UI lag kicks in immediately. ;)
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    ... this is a weird issues. I think I've found the following things:

    - The lag that at least I get is related to the alerts for sure.
    - The type of the alert does not matter.
    - It seems the display html contains the issue.
    - the js profilers shows close to 90% "program" during the lag. This seems to mean webkit internals. I would guess: building html stuff or the like
    - If I remove the alerts panel html and replace it with a much much simpler version there is no lag.
    - Looking at the diffs to before gw I have NO IDEA why this suddenly lags. There are changes, but even with a lot of trial and error I could not tell which one suddenly breaks performance.

    Find a live_game.html from the PTE attached that has pretty damn ugly alerts, but I think it has far less lag.
    Can someone confirm that? Maybe I am only getting sleepy, so I don't notice the lag anymore xD

    Attached Files:

    ArchieBuld likes this.
  4. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Given that PTE just moved alerts to a subscene, I think Uber agrees.
    cptconundrum and ArchieBuld like this.
  5. ArchieBuld

    ArchieBuld Active Member

    Messages:
    113
    Likes Received:
    47
    Probably it is solved now. Someone should test in the PTE, if the UI lag is still a thing, or someone who tried it could post here.
  6. thetrophysystem

    thetrophysystem Post Master General

    Messages:
    7,050
    Likes Received:
    2,874
    I get lag too. I would like to testify that it is wierd lag.

    what happens is you hold click and drag. The game continues normal pace and the selection box shows up ten seconds later, you finally drag it across your units. You release it and the units move out the box and u select, but no need to get angry, when the selection disappears even though the units moved out the way the units that were in it get selected correctly from the time of the release click.

    like the ui knows what units were in the selection on release click, and returns them to selected, but didn't react to the release click remotely on time.
  7. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I was actually noticing some lag, which I didn't have before. Especially using an avatar; needs more testing.
    ArchieBuld likes this.
  8. ArchieBuld

    ArchieBuld Active Member

    Messages:
    113
    Likes Received:
    47
    Weird. Maybe they have to work more on this, before it gets solved completely. I will test it later. I'm curious about this new lag.
  9. snierke

    snierke Active Member

    Messages:
    157
    Likes Received:
    136
    I also have this lag that makes it very hard to operate the game. Hard to choose units, especially the click and drag function. Happens after 15 minutes +-. This happens in multiplayer games. I have not had this problem until the last 2-3 (?) updates. I have played more or less every update since alpha. Played through steam, without any mods.

    I also experience more often traditional lag (short periodically freezes every 3 second, lasting 1 sec). This happens in Galactic War games.



    S.
  10. cwarner7264

    cwarner7264 Moderator Alumni

    Messages:
    4,460
    Likes Received:
    5,390
    Chatting to Cola_Colin in the IRC, he seems to think this is remedied in the latest PTE - something to do with 'moving notifications to another scene' or some technical thing like that.
  11. ArchieBuld

    ArchieBuld Active Member

    Messages:
    113
    Likes Received:
    47
    The UI lag is gone in the PTE (nice job Uber), but I had 900-1000 ping, so we have a new kind of lag here. ><
  12. lostmekka

    lostmekka Member

    Messages:
    69
    Likes Received:
    96
    Ok, I'm getting really annoyed... I am unable to play for several weeks now, I am greatly falling behind on the current meta and I really want to participate in tournaments again... PTE fixed the issue and with the modern versioning tools it is possible to push the fix to a separate branch and publish it as a hotfix. Why this is not done is a mystery to me. I really am not the person that gets mad very often, but I'm about to get really mad about this...
  13. aapl2

    aapl2 Active Member

    Messages:
    260
    Likes Received:
    175
    no one at uber seems to use middle mouse to navigate so I don't believe they see the worst of it.
  14. aapl2

    aapl2 Active Member

    Messages:
    260
    Likes Received:
    175
    The fact the no one from uber has commented on this also disappoints me.
  15. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    But they have written about it in other threads and they have fixed it in the PTE. They even had plans to release the PTE asap, but that got delayed due to other issues. In that context it makes sense that they did not bother to merge the fix into the older version, especially because code-wise the fix isn't small at all. Putting in time to merge the changes into an old build just so the old build is more playable for a few days isn't reasonable to do long term.
  16. nateious

    nateious Active Member

    Messages:
    409
    Likes Received:
    212
    Do you know if this fixes the mouse pan lag where the planet would keep spinning as if you were still holding down the middle mouse button? I took a break from PA cause this was driving me nuts and I'm super eager to get back into the game.
  17. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    The patch released a few hours ago has a pretty high chance of fixing just that, yes.
  18. nateious

    nateious Active Member

    Messages:
    409
    Likes Received:
    212
    Oh my, I missed that there was a new patch outside of PTE. Looks like I need to play very soon.
  19. elodea

    elodea Post Master General

    Messages:
    1,694
    Likes Received:
    3,040
    Not sure if its just me, but getting heaps of lag and low fps in the new build. Tried disabling all mods and it's still present. hrm
    lostmekka likes this.
  20. FSN1977

    FSN1977 Active Member

    Messages:
    657
    Likes Received:
    232
    If it was a planet with Tree's there is a "Bug" where the fps is very low.

Share This Page