Seleucids Posted February 4 Report Share Posted February 4 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. Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 4 Report Share Posted February 4 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. Quote Link to comment Share on other sites More sharing options...
Seleucids Posted February 4 Report Share Posted February 4 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? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 4 Report Share Posted February 4 11 minutes ago, Seleucids said: I'm on Linux, so I assume I would have to download the source_code.zip right? Yeah that's correct. Although if your repos still have it you might install it from there Quote Link to comment Share on other sites More sharing options...
Dakara Posted February 4 Report Share Posted February 4 I don't feel any difference personally but many people complain about it amd ryzen 3600 (it funny i remember i had a lot of weird bug in 2020 but the kind staff 0AD fix it !) 1 Quote Link to comment Share on other sites More sharing options...
borg- Posted February 4 Report Share Posted February 4 I also didn't notice any changes in performance, although I thought we would see a significant improvement in this alpha. Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 4 Report Share Posted February 4 31 minutes ago, borg- said: I also didn't notice any changes in performance, although I thought we would see a significant improvement in this alpha. Do you use GL or Vulkan? Quote Link to comment Share on other sites More sharing options...
borg- Posted February 4 Report Share Posted February 4 4 minutes ago, Stan` said: Do you use GL or Vulkan? Both, it made no difference to me. Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 4 Report Share Posted February 4 Just now, borg- said: Both, it made no difference to me. Usually vulkan should have more stable fps than GL. I guess the users which will see the biggest difference are mac users (up to x5 fps) Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 5 Report Share Posted February 5 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. 1 Quote Link to comment Share on other sites More sharing options...
leopard Posted February 5 Report Share Posted February 5 (edited) 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 February 5 by leopard Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 5 Report Share Posted February 5 @leopard if you can do combat demo huge with better than 20 fps at minimum, please join us. Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 5 Report Share Posted February 5 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. Quote Link to comment Share on other sites More sharing options...
leopard Posted February 6 Report Share Posted February 6 1 Quote Link to comment Share on other sites More sharing options...
leopard Posted February 6 Report Share Posted February 6 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. Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 6 Report Share Posted February 6 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 we have a clue. On macos I get up to 5 times the framerate of A26 with vulkan 1 Quote Link to comment Share on other sites More sharing options...
Dunedan Posted February 6 Report Share Posted February 6 12 hours ago, leopard said: That's a very good example of the problem (kudos for the idea of making a video out of it. so obvious, but nobody did it so far). Just watch the first 20 seconds, when the blue spearmen are moving prior to engaging in the fight. FPS are ~30, but it looks really choppy. 2 Quote Link to comment Share on other sites More sharing options...
guerringuerrin Posted February 6 Report Share Posted February 6 6 hours ago, Stan` said: It would interesting to compare the first RC of last year with the release. I'd be glad to do it, but RCs are not available any more here: https://releases.wildfiregames.com/rc/ Is there any way to get them again? 1 Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 6 Report Share Posted February 6 24 minutes ago, Dunedan said: That's a very good example of the problem (kudos for the idea of making a video out of it. so obvious, but nobody did it so far). Just watch the first 20 seconds, when the blue spearmen are moving prior to engaging in the fight. FPS are ~30, but it looks really choppy. Without F11 it's hard to tell if it's simulation lag or graphics lag. 10 minutes ago, guerringuerrin said: I'd be glad to do it, but RCs are not available any more here: https://releases.wildfiregames.com/rc/ Is there any way to get them again? Right maybe someone has a copy somewhere. Else might be possible to recompile 2 Quote Link to comment Share on other sites More sharing options...
real_tabasco_sauce Posted February 6 Report Share Posted February 6 I recommend doing combat demo huge without the petra AI. It helps to have that variable out of the picture. Same for profiling. 1 Quote Link to comment Share on other sites More sharing options...
Genava55 Posted February 6 Report Share Posted February 6 (edited) 13 hours ago, leopard said: 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. this was openGL, Vulkan is Better than this. Is it happening when there is no battle formation as well? Edited February 6 by Genava55 Quote Link to comment Share on other sites More sharing options...
Dunedan Posted February 7 Report Share Posted February 7 14 hours ago, Genava55 said: Is it happening when there is no battle formation as well? For me it happens without formations as well. 1 Quote Link to comment Share on other sites More sharing options...
0 calories Posted February 7 Report Share Posted February 7 can we revert back to 0.26? until this is resolved? Quote Link to comment Share on other sites More sharing options...
Stan` Posted February 7 Report Share Posted February 7 6 hours ago, 0 calories said: can we revert back to 0.26? until this is resolved? You can download any version of the game 1 Quote Link to comment Share on other sites More sharing options...
0 calories Posted February 8 Report Share Posted February 8 1 hour ago, Stan` said: You can download any version of the game sure but no players will be there when buggy 0.27 is released... that was the point.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.