War for the Overworld

War for the Overworld

View Stats:
Ourg Jun 27, 2021 @ 11:46am
extremely low fps main menu
Why the main menu runs like a potatoe ? It runs at 10 fps while when launching a game it runs fine
Last edited by Ourg; Jun 27, 2021 @ 11:55am
Originally posted by Noontide:
I'm really pleased to announce that we managed to smash out some very significant improvements to the performance of not just this but several UI's in the game that have been mentioned in the thread.

In my tests I'm seeing a nearly 100% increase in FPS on the main menu, which should go a long way towards alleviating the problems faced by everyone who's reported issues. Obviously I can't promise that it will resolve everyone's problems but it should certainly alleviate them significantly.

To put some real numbers to this.

Some Real Numbers

My Test Setup
  • Intel i7-4770K @ 3.5GHz
  • 32GB DDR3 @ 1066Mhz 11-11-11-27
  • Asus RTX 2070 Super @1.9ghz Core
  • 7200RPM HDD for WFTO Install
  • Resolution: 2560x1440
  • Settings: Everything Maxed, no FXAA

Test Case: Post-Load Idle Main Menu - 60 Seconds

v2.0.8
UI Enabled
Min FPS: 129
Max FPS: 149
Avg FPS: 140

UI Disabled
Min FPS: 234
Max FPS: 284
Avg FPS: 274

= ~48.9% UI Overhead

New Update
UI Enabled
Min FPS: 245
Max FPS: 281
Avg FPS: 265

UI Disabled
Min FPS: 279
Max FPS: 299
Avg FPS: 285

= ~7.01% UI Overhead

FPS Gain on main menu in next update = ~103.57%

Conclusion

The next update will be a huge improvement across the board for the main menu UI and some other in-game UI's. In particular the unit panel and veins of evil which are both sore spots for some players. I'll run some numbers on those in the future, probably as part of patch notes.

When the new update releases in early April you should see similar gains to me, though of course your mileage will vary based on all sorts of hardware/software differences.

Anyway we're really happy with this, I hope you guys will be to.
< >
Showing 1-15 of 44 comments
Biervampir [AUT] Jun 27, 2021 @ 11:51am 
what are your specs and do you play on a laptop?
Ourg Jun 27, 2021 @ 11:56am 
no.

5800x + 6900xt on 4k screen.

It only runs very low fps on the main menu screen
Chook Fowler Jun 28, 2021 @ 12:30am 
Same here, it's been like it since the last dlc got added.
Noontide  [developer] Jun 30, 2021 @ 4:31am 
This is a known issue with some Linux Distros, so the first thing I'd confirm is whether you're on Linux or not. We've never seen this issue on Windows so I'd certainly like to know if it's made a leap.

Working theory is that for some reason certain distros don't render the UI (Which is HTML and is rendered by a browser based middleware, CoherentGT) with hardware acceleration. Therefore whenever the UI is complicated or dense the framerate can drop. This is either something to do with that middleware or how the drivers are handling it.

This coincides with the 2.0 update because that's when we updated the CoherentGT middleware and redid huge parts of the UI to fix several lingering UI issues on Windows.
Ourg Jun 30, 2021 @ 5:24am 
i have the issue on windows 10
Noontide  [developer] Jun 30, 2021 @ 8:00am 
Originally posted by Ourg:
i have the issue on windows 10

Hmmm interesting, your drivers are up to date? I wonder if this could be related to screen size, can you try 2560x1440 and 1920x1080 to see if the menu still causes the FPS loss.
Ourg Jun 30, 2021 @ 10:19am 
i've tried. Setting to 1440psame issue

Setting to 1080p the lag is gone and the main menu is smooth


So Ihave the issue only on 4k and 1440p.

And yes I have last AMD driver.
Last edited by Ourg; Jun 30, 2021 @ 10:19am
Thaxlsyssilyaan Jun 30, 2021 @ 11:00am 
Originally posted by Noontide:
Originally posted by Ourg:
i have the issue on windows 10

Hmmm interesting, your drivers are up to date? I wonder if this could be related to screen size, can you try 2560x1440 and 1920x1080 to see if the menu still causes the FPS loss.
Don't know if it can help pinpoint the issue, but windows 7 here, and while i got 40 fps while in display option menu, the control option menu is only 30 fps, sound and gameplay option are at 40 fps too, so something that is present in the control option panel make a 10 fps loss.
Noontide  [developer] Jul 2, 2021 @ 6:34am 
Originally posted by Thaxlsyssilyaan:
Originally posted by Noontide:

Hmmm interesting, your drivers are up to date? I wonder if this could be related to screen size, can you try 2560x1440 and 1920x1080 to see if the menu still causes the FPS loss.
Don't know if it can help pinpoint the issue, but windows 7 here, and while i got 40 fps while in display option menu, the control option menu is only 30 fps, sound and gameplay option are at 40 fps too, so something that is present in the control option panel make a 10 fps loss.

Can you confirm whether this happens when you open the same menus whilst in game, or is it purely localised to the main menu.

It'd also be good to get some reports from the people involved in here, please see the stickied topic. We'd be especially interested in knowing what hardware you're all running and whether there's a connection.
wordling Sep 24, 2021 @ 2:56am 
This sounds similar to an issue I've reported three years ago.
https://support.brightrockgames.com/de/communities/1/topics/3926-new-ui-gpu-performance
The behavior is much the same: Performance tanks when complex menus are opened, controls being the worst offender.

Over time I've upgraded the GPU (Vega 56, then 5700xt), RAM, and recently also switched the CPU/Mainboard, meaning that the Hardware is basically entirely different by now. I just reinstalled the game and what I described in the initial bug report still applies 100%
wordling Sep 24, 2021 @ 3:33am 
I just tried setting the game resolution to 1080p like OP did. It works.

When set to any resolution 1080p or lower, the FPS problems (and the weird GPU utilization I describe in my old report) instantly vanish!

1920x1200 or higher and menus get slow. And it's not getting 'worse' as you go higher, either. From 1200p onwards GPU utilization and FPS just tank in a binary fashion. So hard I might aswell go to 5120x2160 without losing more FPS...
Noontide  [developer] Sep 24, 2021 @ 8:00am 
It's certainly not as straight forward as simple resolution. I maintain a solid 60FPS at all times in all menus including the controls menu which seems to be a mentioned sore spot and I run at 1440p.

A commonality between all the reports seems to be AMD GPUs, makes me wonder if for whatever reason the drivers aren't playing nicely with the Coherent UI Middleware, perhaps not hardware accelerating the UI itself.

There might be some configuration you can try in the AMD drivers for the game, If I recall another user on a Radeon RX 580 had issues with AMD Freesync causing lag. If the control panel was set to have Freesync "Onm" or "Optimized by AMD" then they would get lag.

Maybe try having a look into those options?
Thaxlsyssilyaan Sep 24, 2021 @ 11:22am 
Originally posted by Noontide:
It's certainly not as straight forward as simple resolution. I maintain a solid 60FPS at all times in all menus including the controls menu which seems to be a mentioned sore spot and I run at 1440p.

A commonality between all the reports seems to be AMD GPUs, makes me wonder if for whatever reason the drivers aren't playing nicely with the Coherent UI Middleware, perhaps not hardware accelerating the UI itself.

There might be some configuration you can try in the AMD drivers for the game, If I recall another user on a Radeon RX 580 had issues with AMD Freesync causing lag. If the control panel was set to have Freesync "Onm" or "Optimized by AMD" then they would get lag.

Maybe try having a look into those options?
While i got reduced FPS (but still very manageable) in the control menu, i have no amd cpu, Intel cpu and Gforce Nvidia.
wordling Sep 24, 2021 @ 1:16pm 
Originally posted by Noontide:
It's certainly not as straight forward as simple resolution.[...]

Fair enough. I didn't mean to imply that it is in general, mind. Just observing that it does look like it on my system. Forcing Freesync off has no effect for me. Nor did any of the other driver options, unfortunately.

Assuming lack of hardware acceleration might be the issue. I tried to see if/when there is a clear relation between performance and CPU load, but by default no individual core ever passes 60% load. That is even with the game running at 10fps.

Then I started setting the CPU affinity to fewer Cores to better see whats going on and something weird becomes apparent once the game is limited to a single core:

First, running at FHD inside the graphics menu and not touching anything. The game will sit at a very stable ~70% load (Vsync) and, as expected, there's basically no activity on any other core. Opening the controls menu finally saturates this single core and the mouse becomes slighty hitchy. That is also where the elusive "GPU Copy" stat in my tskmgr starts to become non-zero.

Nothing about this strikes me as unusual. Other than the GPU Copy thing, as I've only ever seen it go up temporarily during load times in other games.

Now moving to 1200p. Performance immediately degrades by a lot. "GPU Copy" shoots up to a constant ~80% and CPU load on the only core the game is allowed to occupy goes... way down?!

Meanwhile, several other cores show significant activity, all of which caused by "System" (https://en.wikipedia.org/wiki/Ntoskrnl.exe). In fact, this System process is now taking up slightly more total CPU time than the game and, by the looks of it, stalling the game thread.

Back to FHD. CPU/GPU load go back to normal and the System process all but vanishes.

I frankly don't know what to make of this. I have never seen this kind of behavior. From just switching between two very similar resolutions, no less.
Last edited by wordling; Sep 24, 2021 @ 1:28pm
< >
Showing 1-15 of 44 comments
Per page: 1530 50