Jump to content

A27: Very poor performance on weak hardware?


Meister
 Share

Recommended Posts

Could we perhaps monitor the time taken to handle each task (e.g. how long it takes to execute a particular C++ function) to find the source of lag?

Another idea is async the GUI from the backend engine. Let the GUI run smoothly with animations but without attaching them to the simulation update loop of the backend. 

Link to comment
Share on other sites

5 hours ago, Seleucids said:

Could we perhaps monitor the time taken to handle each task (e.g. how long it takes to execute a particular C++ function) to find the source of lag?

Another idea is async the GUI from the backend engine. Let the GUI run smoothly with animations but without attaching them to the simulation update loop of the backend. 

You can look at profiler2 see https://gitea.wildfiregames.com/0ad/0ad/wiki/Profiler2

But most importantly we need to compare with A26 or at least maybe the first RC before the release was cancelled last year.

Link to comment
Share on other sites

5 hours ago, Stan` said:

You can look at profiler2 see https://gitea.wildfiregames.com/0ad/0ad/wiki/Profiler2But most importantly we need to compare with A26 or at least maybe the first RC before the release was cancelled last year.

Thanks for the guide. My main question is: how can I re-compile the current release version of A27, as well as the released A26? 

I'm on Linux, so I assume I would have to download the source_code.zip right?

Link to comment
Share on other sites

Could we schedule a "fast PC" TG for this weekend? I expect that those with really slow computers or adversely affected setups like @Meister are slowing turns for everyone, leading to many reports from players that otherwise have good performance. However, I have never really tried to verify this is the case.

If we get a 4v4 where everyone has ideally >20 fps (min) in combat demo huge (found in scenarios -> demo maps -> combat demo (huge)), we can make sure that this is really the cause.

I'd like to do it on Sunday, maybe when we did the a27 RC test, 18:00 UTC.

@MetaPhyZic @BreakfastBurrito_007 @Ginnungagap, and any others that have good performance in a27.

  • Like 1
Link to comment
Share on other sites

22 minutes ago, real_tabasco_sauce said:

Could we schedule a "fast PC" TG for this weekend? I

minimum requirements?, A27 has performance issues even if I use good enough PC that can play AOE4 without any stuttering at all.
 

Edited by leopard
Link to comment
Share on other sites

On 31/01/2025 at 5:26 AM, Meister said:

I had up to 10 fps, but when it came to a 200 pop situation, it was more like 0.5 to 1 fps. I played with lowest graphic settings, which used to get me 20-40 fps on a26. I tried both OpenGL and Vulkan, no notable difference detected.
Any idea why it is so much slower now?

are your a26 numbers including autociv? The feature that turns off bodies is pretty impactful when big fights are happening.

Link to comment
Share on other sites

I think 0AD is not using GPU that much, uses less than 50% every time,

but AOE4 always uses 95% of GPU, when I try to change window to something else everything is stuttering, i.e, every other apps will run slow while AOE4 is running (plus I had screen recorder on).

I think we should be more greedy in terms of resources.

20 minutes ago, leopard said:

 

this was openGL, Vulkan is Better than this.

Link to comment
Share on other sites

It would interesting to compare the first RC of last year with the release. From the measurements it would seem the simulation is to blame not the graphics which is a bit weird but might be due to the spidermonkey update. The rc from last year would be closer than the release. Testing that might help us narrow it down more. So far I don't think there is a clue

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...