[FIXED][1527] Map and game freezes

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
kahta
Posts: 571
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

[FIXED][1527] Map and game freezes

Post 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
Attachments
Example2.JPG
Example2.JPG (44.89 KiB) Viewed 1147 times
Example1.JPG
Example1.JPG (388.71 KiB) Viewed 1147 times
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post 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?
kahta
Posts: 571
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

Re: [1527] Map and game freezes

Post 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
Attachments
DxDiag.txt
(90.34 KiB) Downloaded 29 times
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post 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.
thewood1
Posts: 10366
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: [1527] Map and game freezes

Post by thewood1 »

"fingerbanging"

My new word of the day.
kahta
Posts: 571
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

Re: [1527] Map and game freezes

Post 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.
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post by Dimitris »

So in "normal single-player" mode these issues do not happen?
kahta
Posts: 571
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

Re: [1527] Map and game freezes

Post 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.
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post by Dimitris »

Is this still happening with the current public release ?
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post by Dimitris »

bump
kahta
Posts: 571
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

Re: [1527] Map and game freezes

Post 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
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post by Dimitris »

Which build is that with ?
kahta
Posts: 571
Joined: Sat Sep 21, 2019 6:42 pm
Location: Arkansas

Re: [1527] Map and game freezes

Post by kahta »

Dimitris wrote: Thu Mar 27, 2025 3:24 pm Which build is that with ?
The latest one: XXXX.6
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post by Dimitris »

Is this still happening with the current public beta ?
Knightpawn
Posts: 662
Joined: Mon Dec 02, 2024 12:28 pm

Re: [1527] Map and game freezes

Post 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.
Dimitris
Posts: 15750
Joined: Sun Jul 31, 2005 10:29 am
Contact:

Re: [1527] Map and game freezes

Post 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.
Post Reply

Return to “Tech Support”