Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive lag in network + AI game (~5FPS) #88

Open
DeeeeLAN opened this issue Jul 28, 2022 · 9 comments
Open

Massive lag in network + AI game (~5FPS) #88

DeeeeLAN opened this issue Jul 28, 2022 · 9 comments

Comments

@DeeeeLAN
Copy link

Hi, I am not sure how to go about helping debug this issue. There were three of us playing against 4 AI over the network. All of us using the most recent release (7/7/22). For a significant amount of the game, it was crawling at a super low FPS. My assumption was there were too many units and structures and it was beyond what the engine could handle.

One possibility I was noticing that was kind of weird was I had built 10-15 dreadnoughts who were bombarding one of the enemy's bases, and the mini-map was constantly spamming red triangles in the area, I think every time one of the dreadnought missiles was shot down it was showing as a character lost on the mini-map.

Near the end after we had taken out 2-3 of the enemy bases the FPS picked back up a bit. I was also using the dreadnoughts a lot less at that point.

Are there any logs or anything I can share that could help diagnose?

@MustaphaTR
Copy link
Owner

MustaphaTR commented Jul 29, 2022

Which map was that? There's a known lag issue that happens when units try to path to an area accessable by low bridges that are currently destroyed. Heidelberg is a map that this can happen, but that's a 2p map so can't be the map you had the issue with, but can still be the same thing.

Perf.log can give an idea on the reason, but that file is overrideen next time you open the game, unlike exceptions or sync logs. Tho, i guess you can recreate it by watching the Replay, or even better just send the Replay to me.

@DeeeeLAN
Copy link
Author

Ah, that must have been it then, we were playing Arctic Circle and definitely had destroyed bridges all over the place.

@MustaphaTR
Copy link
Owner

Yeah, Arctic Circle is a map known for this issue. That was most likely it.

@DeeeeLAN
Copy link
Author

We will try again with a non-bridge map and hopefully things work better. For reference, where are the logs and replay files saved? I am on Linux. I will grab them next time we have an issue so I can submit them if needed.

@MustaphaTR
Copy link
Owner

Log files should be in ~/.config/openra/logs on Linux.

Also note that this is only an issue with low bridges, high bridges aren't even destroyable at the first place currently.

@DeeeeLAN
Copy link
Author

DeeeeLAN commented Jul 29, 2022

replay.tar.gz

Here is the replay, hope it helps. Slowdown starts a few minutes into it but you will know it when you see it.

@bradleysimard
Copy link

bradleysimard commented Oct 4, 2022

Can we get another compiled release soon?

The AI lag makes matches unplayable.

Also I can tell you it's not specifically related to bridges that are destroyed. I think it has more to do with water units.

@MustaphaTR
Copy link
Owner

MustaphaTR commented Oct 6, 2022

I've been meaning for a new release for weeks now, but several upstream issues came up that prevented me from it. Currently i'm waiting for #20343 and related issues that were broken by the same PR to be fixed.

@dnqbob
Copy link
Contributor

dnqbob commented Jul 8, 2023

Can we get another compiled release soon?

The AI lag makes matches unplayable.

Also I can tell you it's not specifically related to bridges that are destroyed. I think it has more to do with water units.

You are correct, units being stuck by enclosed immovable actors can cause greater lags. see OpenRA/OpenRA#20948. We are trying to fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants