Page 1 of 1

[FIXED][1527] Map and game freezes

Posted: Sat Dec 21, 2024 10:08 pm
by kahta
I am having an issue with the rendering of the map. The screenshots are for OSM, but this also happens with other map options. I've confirmed that the cache for OSM and the satellite view are both loading as I zoom in, but they are just not rendering in the game.

I've got a 45MB Exception log full of entries like this that appear to be timed to when I am having this issue. It does not happen consistently and seems to happen in fits and throws. I've already updated by GPU driver (RX 580) and tinkered with the settings in the AMD controls. Nothing seemed to help and it continues to happen. When this happens, the game menu options load only after a long delay and it takes several seconds for my settings to show up in that menu.
Stack Trace: at DirectN.IDXGISwapChainExtensions.GetBuffer[T](IDXGISwapChain swapChain, UInt32 index)
at DXRenderer.Main.OnResize(Control control)
at Command.MainForm.tmqxRVJOOTf3UYprEoj6(Object , Object )
at Command.MainForm.BWF9N3PKW3()
at Command.MainForm._Lambda$__R2015-2(Object a0, EventArgs a1)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Error in Exception Handler! OnThreadException
Error in Exception Handler! theEx != null
Error in Exception Handler! e.Exception.GetType().Name: Win32Exception
Error in Exception Handler! theEx.Message: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect.
Enable the D3D debug layer in order to see details via debug messages
Error in Exception Handler! theEx.StackTrace: at DirectN.IDXGISwapChainExtensions.GetBuffer[T](IDXGISwapChain swapChain, UInt32 index)
at DXRenderer.Main.OnResize(Control control)
at Command.MainForm.tmqxRVJOOTf3UYprEoj6(Object , Object )
at Command.MainForm.BWF9N3PKW3()
at Command.MainForm._Lambda$__R2015-2(Object a0, EventArgs a1)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Error in Exception Handler! This is probably a Error in Exception Handler!. Please save a screenshot of this and submit it, along with the autosave files, for investigation.

Exception: The application made a call that is invalid. Either the parameters of the call or the state of some object was incorrect.
Enable the D3D debug layer in order to see details via debug messages

Re: [1527] Map and game freezes

Posted: Sat Dec 21, 2024 10:58 pm
by Dimitris
* Is the OS fully updated? Graphics drivers updated? Direct-X 11 installed?
* Is Command running as admin? (ie. prompting you "are you sure you want to run this program" when you launch it)
* (Steam only) Are Steam overlays disabled for Command?
* (Steam only) Is Direct-Write disabled on the Steam client?
* Are all other applications (and especially hardware-helper apps like RivaTuner, Nahimic, MSI Afterburner etc.) shut down?
* Are you using a high-DPI desktop? (ie. font size >100%)
* Are you using Norton antivirus? (This POS is very frequently silently blocking file updates)
* Can we see your DxDiag file?

Re: [1527] Map and game freezes

Posted: Sun Dec 22, 2024 2:09 am
by kahta
Dimitris wrote: Sat Dec 21, 2024 10:58 pm * Is the OS fully updated? Graphics drivers updated? Direct-X 11 installed?
OS is fully updated. Windows 10 LTSC 64 bit. Running Direct-X 12.


Dimitris wrote: Sat Dec 21, 2024 10:58 pm * Is Command running as admin? (ie. prompting you "are you sure you want to run this program" when you launch it)
Yes

Dimitris wrote: Sat Dec 21, 2024 10:58 pm * (Steam only) Are Steam overlays disabled for Command?
It wasn't. Now disabled.

Dimitris wrote: Sat Dec 21, 2024 10:58 pm * (Steam only) Is Direct-Write disabled on the Steam client?
Not sure what this is, but per the instructions below it seems that this has moved.
https://www.matrixgames.com/forums/view ... p?t=285249

Dimitris wrote: Sat Dec 21, 2024 10:58 pm * Are all other applications (and especially hardware-helper apps like RivaTuner, Nahimic, MSI Afterburner etc.) shut down?
Yes.

Dimitris wrote: Sat Dec 21, 2024 10:58 pm * Are you using a high-DPI desktop? (ie. font size >100%)
No

Dimitris wrote: Sat Dec 21, 2024 10:58 pm * Are you using Norton antivirus? (This POS is very frequently silently blocking file updates)
No

Dimitris wrote: Sat Dec 21, 2024 10:58 pm * Can we see your DxDiag file?
Attached

Re: [1527] Map and game freezes

Posted: Sun Dec 22, 2024 4:25 pm
by Dimitris
Hmmm an MSI motherboard - does this mean you have Nahimic or Afterburner installed?

Something else, most likely a "helper" app or GPU/overlay-related thing, is probably fingerbanging Command's render loop. Try closing as many processes/programs as possible and then try again.

Re: [1527] Map and game freezes

Posted: Sun Dec 22, 2024 4:36 pm
by thewood1
"fingerbanging"

My new word of the day.

Re: [1527] Map and game freezes

Posted: Mon Dec 23, 2024 9:16 pm
by kahta
Dimitris wrote: Sun Dec 22, 2024 4:25 pm Hmmm an MSI motherboard - does this mean you have Nahimic or Afterburner installed?

Something else, most likely a "helper" app or GPU/overlay-related thing, is probably fingerbanging Command's render loop. Try closing as many processes/programs as possible and then try again.
Neither. I run as few programs as possible to try to prevent this sort of issue. Based on further testing this appears to be related to being in editor and removing units.

Re: [1527] Map and game freezes

Posted: Tue Dec 24, 2024 10:44 am
by Dimitris
So in "normal single-player" mode these issues do not happen?

Re: [1527] Map and game freezes

Posted: Thu Dec 26, 2024 3:29 pm
by kahta
Dimitris wrote: Tue Dec 24, 2024 10:44 am So in "normal single-player" mode these issues do not happen?
Correct. I played for 2-3 hours in normal mode and didn't have this happen once, but once I went back to using the editor to work on something it was happening again. It's unclear if the difference is the underlying behavior of what I am doing in editor (lots of zooming in and out) or the editor itself.

Re: [1527] Map and game freezes

Posted: Fri Mar 21, 2025 7:32 am
by Dimitris
Is this still happening with the current public release ?

Re: [1527] Map and game freezes

Posted: Thu Mar 27, 2025 6:48 am
by Dimitris
bump

Re: [1527] Map and game freezes

Posted: Thu Mar 27, 2025 12:12 pm
by kahta
Dimitris wrote: Thu Mar 27, 2025 6:48 ambump
It is substantially improved. It happened a few times yesterday but was not as bad as before

Re: [1527] Map and game freezes

Posted: Thu Mar 27, 2025 3:24 pm
by Dimitris
Which build is that with ?

Re: [1527] Map and game freezes

Posted: Fri Mar 28, 2025 12:56 am
by kahta
Dimitris wrote: Thu Mar 27, 2025 3:24 pm Which build is that with ?
The latest one: XXXX.6

Re: [1527] Map and game freezes

Posted: Fri May 09, 2025 5:57 am
by Dimitris
Is this still happening with the current public beta ?

Re: [1527] Map and game freezes

Posted: Fri May 09, 2025 10:56 am
by Knightpawn
It seems to be working great now.
The topo map, which was the more challenging, now goes all the way down to 500m, whilst before it was showing nothing below 2500 m level

CORRECTION: In some instances the above is the case, while in others it still does not work at lower altitudes. The response is consistently faster though.

Re: [1527] Map and game freezes

Posted: Sat May 10, 2025 9:11 am
by Dimitris
OK, closing as fixed then.

As a reminder, we have no control over the OTM servers so we cannot provide any guarantees on tile availability from them.