Page 1 of 2
Performance issues after the War Planner patch
Posted: Mon Feb 27, 2023 3:57 pm
by SmilingDodger
After the War Planner patch, there was a performance problem. The game lags a lot if you don't press pause. Also the game lags a lot if a unit is selected.
At the same time, the game consumes little RAM (~1 gb), and used only ~10% of CPU.
My PC - Ryzen 7 3800x, GTX 1060, 32 gb RAM
Re: Performance issues after the War Planner patch
Posted: Mon Feb 27, 2023 6:38 pm
by KnightHawk75
I do have the issue/lag with having a unit selected, and reported it separately, they did apparently try to do something to address it in 1307.3 but the problem remained for myself. Just wanted to let you know you were not alone in that.
We should both try 1307.4 just released right now (
https://www.matrixgames.com/forums/view ... 1&t=393182 )and see if it helps as the release notes suggest more changes have been made to try to address it, sadly they can't reproduce it on their end.
Edit: For me 1307.4
didn't resolve the own unit selected lag. darn, I wonder what you and I and some other have in common that devs systems don't.
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 5:36 am
by Dimitris
GPU or graphics drivers that don't hardware-accelerate WinForms or WPF properly?
(The issue _appears_ to be that certain elements of the UI are slow to re-render as part of the "refresh UI for currently selected unit" cycle)
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 6:43 am
by Dimitris
Come to think of it: Can we get DxDiag files from both of you? Won't hurt to compare in case there is a discernible pattern.
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 9:06 am
by SmilingDodger
Dimitris wrote: Tue Feb 28, 2023 6:43 am
Come to think of it: Can we get DxDiag files from both of you? Won't hurt to compare in case there is a discernible pattern.
Sure. The problem appeared after the War planner patch. Before that, everything worked well. I note the Steam library is on my other disk, not on the disk С.
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 9:16 am
by SmilingDodger
KnightHawk75 wrote: Mon Feb 27, 2023 6:38 pm
I do have the issue/lag with having a unit selected, and reported it separately, they did apparently try to do something to address it in 1307.3 but the problem remained for myself. Just wanted to let you know you were not alone in that.
We should both try 1307.4 just released right now (
https://www.matrixgames.com/forums/view ... 1&t=393182 )and see if it helps as the release notes suggest more changes have been made to try to address it, sadly they can't reproduce it on their end.
Edit: For me 1307.4
didn't resolve the own unit selected lag. darn, I wonder what you and I and some other have in common that devs systems don't.
Your game is installed on the disk С? My game is not, I used the disk F.
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 1:06 pm
by Dimitris
SmilingDodger wrote: Tue Feb 28, 2023 9:06 am
Dimitris wrote: Tue Feb 28, 2023 6:43 am
Come to think of it: Can we get DxDiag files from both of you? Won't hurt to compare in case there is a discernible pattern.
Sure. The problem appeared after the War planner patch. Before that, everything worked well. I note the Steam library is on my other disk, not on the disk С.
When you say "before that", which was your previous state? Had you been using any of the public betas, or did you move straight from B1147.xx to B1307.xx ?
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 2:53 pm
by SmilingDodger
Dimitris wrote: Tue Feb 28, 2023 1:06 pm
SmilingDodger wrote: Tue Feb 28, 2023 9:06 am
Dimitris wrote: Tue Feb 28, 2023 6:43 am
Come to think of it: Can we get DxDiag files from both of you? Won't hurt to compare in case there is a discernible pattern.
Sure. The problem appeared after the War planner patch. Before that, everything worked well. I note the Steam library is on my other disk, not on the disk С.
When you say "before that", which was your previous state? Had you been using any of the public betas, or did you move straight from B1147.xx to B1307.xx ?
I did move straight from B1147.xx to B1307.xx. In B1147.xx everything worked well.
Re: Performance issues after the War Planner patch
Posted: Tue Feb 28, 2023 4:06 pm
by SmilingDodger
KnightHawk75 wrote: Mon Feb 27, 2023 6:38 pm
I do have the issue/lag with having a unit selected, and reported it separately, they did apparently try to do something to address it in 1307.3 but the problem remained for myself. Just wanted to let you know you were not alone in that.
We should both try 1307.4 just released right now (
https://www.matrixgames.com/forums/view ... 1&t=393182 )and see if it helps as the release notes suggest more changes have been made to try to address it, sadly they can't reproduce it on their end.
Edit: For me 1307.4
didn't resolve the own unit selected lag. darn, I wonder what you and I and some other have in common that devs systems don't.
Same
Re: Performance issues after the War Planner patch
Posted: Wed Mar 01, 2023 1:41 am
by KnightHawk75
Your game is installed on the disk С?
Mine is on spinning platter hard-disk D:\games\cmo_tiny (fresh install of tiny to that folder around time of build 1297, applying the original tiny, then 1297 if memory serves, and every beta and release since for tiny applied to that folder structure) that folder has never seen build 11xx files.
Winsrv2008r2 (for practical purposes consider it win7), ancient i7 950 3ghz,24GB, ancient but still barely not heavily utilized R200 video. 125% scaling and resolution of 2560x1440, throw it out just cause looking for common factors.
I do have a d:\games\cmo for playing with 1147.52, which btw does not show the problem (or if it's there it's barely perceptible level). I still have 1147.52 if you want similar to the below from that.
Pics of test scene for pics that follow - about as simple as can be. (windowed mode, though I've tested full screen and the graphs don't change much, it's just easier to test windowed mode.)

- cmo_selectionissueSimpleTestScene.jpg (428.66 KiB) Viewed 2055 times
Pic of the cpu graph.... before and after the selection of a unit at 1x speed, starts out paused no selection, then 1x, then I select the unit, you see it bump significantly and in kernel time, then last second or so is de-selection but still 1x.

- cmo_1x_unit-un-selected_selected-thenunselected.jpg (85.75 KiB) Viewed 2055 times
Pic of similar in taskmanager just showing from when it was selected to un-selecting it.

- cmo_unitDEselected_taskman.jpg (208.16 KiB) Viewed 2055 times
hmm..forum didn't like it when I uploaded more than 5 pics I think..
Can say it's primarily the main thread where the cpu time taken is increased.
(selected 1x)
(unselected 1x)
IDK if any of that helps. edited for added images and screen resolution
Re: Performance issues after the War Planner patch
Posted: Wed Mar 01, 2023 2:07 am
by KnightHawk75
crap I forgot the dxdiags (32 and 64):
Would our command.ini's matter at all either?
Re: Performance issues after the War Planner patch
Posted: Thu Mar 02, 2023 2:04 pm
by artao5
I'm getting the lag when own units are selected as well. I just bought the game last Wednesday, a week ago. As with others, it's fine when paused. Doesn't matter how many or few units there are. Even with zero map view layers on, no range symbols, no datablocks, nothing; just the NTDS unit symbols. Not much RAM or CPU usage; nor GPU or VRAM. I have tried shutting down all extraneous processes and services to no avail.
I'm getting pretty used to pausing the game to give orders. LOL
System: (8ish yrs old, self built)
Win 7 64-bit Pro
CPU - AMD FX6300
RAM - 16 gigs DDR3 1333
GFX - AMD Radeon RX580 w/8 gigs VRAM
OS on 500 gig SSD
C:MO on separate 128 gig SSD
Dual monitors: One 22" 1080 and one 27" 1440
Audio: Focusrite Scarlett 2i4 2nd gen ASIO audio interface
PSU: 750W
I had scaling (in the OS) set to 125% but have set it back down to 100%.
DXDIAG
Re: Performance issues after the War Planner patch
Posted: Thu Mar 02, 2023 6:49 pm
by thewood1
Is the common parameter Win 7?
Re: Performance issues after the War Planner patch
Posted: Fri Mar 03, 2023 5:38 pm
by KnightHawk75
thewood1 wrote: Thu Mar 02, 2023 6:49 pm
Is the common parameter Win 7?
Doesn't seem it since OP has win 10, which I think rules that itself out, yourself I think reproduced the issue in the past (my older thread about it) in your own testing (granted to a lessor degree than some of us), and as I recall were on w10.
Re: Performance issues after the War Planner patch
Posted: Fri Mar 03, 2023 6:21 pm
by thewood1
Yeah, but that was a couple updates ago. JUst ran a benchmark on the same PC and they were within 1-2% of each other in time comparisons.
Re: Performance issues after the War Planner patch
Posted: Sat Mar 04, 2023 10:29 am
by artao5
I'm wondering if still being 32-bit (in 2023? o.O) might have something to do with it.
.... and people give ME crap for still running Win 7. At least it's 64-bit

Re: Performance issues after the War Planner patch
Posted: Sat Mar 04, 2023 11:56 am
by Dimitris
artao5 wrote: Sat Mar 04, 2023 10:29 am
I'm wondering if still being 32-bit (in 2023? o.O) might have something to do with it.
If that was the case, the issue would manifest on everyone's installation, not on a handful of rigs.
Re: Performance issues after the War Planner patch
Posted: Sat Mar 04, 2023 11:56 am
by Dimitris
thewood1 wrote: Thu Mar 02, 2023 6:49 pm
Is the common parameter Win 7?
An astute observation, thanks. Building now a Win 7 x64 VM to see if I can reproduce it there.
Re: Performance issues after the War Planner patch
Posted: Sat Mar 04, 2023 12:21 pm
by artao5
Dimitris wrote: Sat Mar 04, 2023 11:56 am
artao5 wrote: Sat Mar 04, 2023 10:29 am
I'm wondering if still being 32-bit (in 2023? o.O) might have something to do with it.
If that was the case, the issue would manifest on everyone's installation, not on a handful of rigs.
Running 32-bit on a 64-bit platform can sometimes do weird and inexplicable things. I have this problem with some music/audio plugins for my DAWs as well. Some people can get Fleet Command to run on 64-bit systems, some can't. <shrug> It's pretty annoying. A 32-bit spectral-panning audio effect that I used a LOT totally crashes my DAWs now when I try to use it.
Just a thought

Re: Performance issues after the War Planner patch
Posted: Sat Mar 04, 2023 1:08 pm
by thewood1
Not sure if its applicable, but I run a ton of 32 bit programs on win11/10 with no issues. I am very doubtful thats the issue. Especially considering that it wasn't a big issue in previous versions. I also think we should clarify if everyone posting is only having the slow down when a unit is selected. Or are some having the issue with general performance?