video of ui lag due to severe net lag

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

video of ui lag due to severe net lag

Postby SeraphimLeftNut » 09 Jan 2016, 08:55

Unlike the usual slowness in sim that you can mediate by playing with thread priorities, this lag cannot be improved by assigning different priorities to different threads(at leaast I couldn't figure it out).
https://youtu.be/Bc7eyysHkyU
The plot on bottom right:
red line: how much stuff you can send
orange line: how much stuff you are sending
dark blue: how much you can receive
light blue how much you are receiving

when red line dips below orange or dark blue under light blue things like unit selection, factory que updates, etc. are not possible

interestingly you can see how the red line would dip down during times when a lot of information was being sent my way, limiting how many orders I can send back.

Ideas? I do have a feeling that this could be related to either the gpu based frame limiter as well as nvidia's love for throwing interrupts all over the place. Or it maybe related to network settings...

This was an extreme example, because the ping kept spiking pretty hard, but this kind of lag is present against all players with connections that jump up and down.
no ui lag: https://www.youtube.com/watch?v=3MdcVdL2kIY
I think this is going to be fun
User avatar
SeraphimLeftNut
Contributor
 
Posts: 975
Joined: 10 Jul 2012, 19:46
Has liked: 3 times
Been liked: 219 times
FAF User Name: TA4Life

Re: video of ui lag due to severe net lag

Postby Morax » 12 Jan 2016, 17:47

Suggestion: Build the same PC as someone who doesn't have UI lag as clearly the new features on current hardware are too confusing to this game engine and the FAF code.

I'm fully convinced newer is not better in this game as you have illustrated by needing to babysit the thread affinities and priorities.
Maps and Modifications Councilor

M&M Discord Channel

Come join us and help create content with the artists of FAF.
User avatar
Morax
Councillor - Maps and Mods
 
Posts: 2865
Joined: 25 Jul 2014, 18:00
Has liked: 1167 times
Been liked: 662 times
FAF User Name: Morax

Re: video of ui lag due to severe net lag

Postby Col_Walter_Kurtz » 12 Jan 2016, 18:21

There simply isn't a single online game, current or past, that hasn't suffered from some form of "lag". It comes in fancy new names but boils down to the same idea. Visual information and reality are out of sync. Sending information over a network will always have delays. Battlefield is suffering from "netlag" or 'netcode' because of update times server side, CS:GO has the same discussion, even though you have 128 tick servers. The amount of graphs, analysis and college level essays is absurd. Dedicated servers lag, P2P systems with proxies even more.

In the end all speculation all bullshit. I would honestly stop trying to look for solutions on your end. There are just too much variables to reach any kind of useful conclusion in topics like this. The inherent lag through networking issue, the underwater software complexity (reducing driver overhead is the next big thing in the industry) and hardware configuration like Morax is suggesting. Then there is the shady code of FA itself, left for dead by GPG and further complicated by a million mods and a lobby platform that is buggy at best (sorry people, I know it's your free time, but it's getting worse since Zep departed).

In the mid of this mess you are trying to make sense of a vague issue. I admire your perseverance, but maybe the whole thing has become like a red rag on a bull. Unless you somehow enjoy tinkering with this crap, I would suggest you stop trying to solve it unless you gain access to some brilliant mind with access to the source code, an engineer from Nvidia/AMD and a lab environment.
Col_Walter_Kurtz
Priest
 
Posts: 497
Joined: 28 Jul 2014, 10:42
Has liked: 42 times
Been liked: 45 times
FAF User Name: Apocalypse_Now

Re: video of ui lag due to severe net lag

Postby Morax » 12 Jan 2016, 18:44

They're working on some new server code that will eventually be released so I'm holding judgement until that is done. I have zero idea how often or what progress has been made on it, but I will definitely say the "care-o-meter" is questionable.

Let's give one last server update a chance before we judge...

TA, I think your performance issues are out of your hands. I gave the tweaks Com, yourself, and etc suggested and decided I'd rather wait until the game is updated. Sometimes I enter a 1v1 and the fps is at like 10-20 at best for no apparent reason other than some glitch in PVP code. It's frustrating as hell but it really is just going to take admittance that it's not my fault.

I was hoping to donate some more $ to the community but since there is little information about progress other than posting an issue tracker I'm not convinced. I'll take what we got, though, and be happy with it. This isn't specifically a threat or target against anyone working on the code. I know everyone has busy lives and etc and I guess we just don't have enough interest to move things forward faster.

It sucks, TA. I feel ya, though.
Maps and Modifications Councilor

M&M Discord Channel

Come join us and help create content with the artists of FAF.
User avatar
Morax
Councillor - Maps and Mods
 
Posts: 2865
Joined: 25 Jul 2014, 18:00
Has liked: 1167 times
Been liked: 662 times
FAF User Name: Morax


Return to General Discussions

Who is online

Users browsing this forum: Google [Bot] and 1 guest