Page 1 of 1

Unit screen freeze

Posted: Sun Apr 21, 2019 2:53 am
by Courtenay
While setting up China, I tried to bring up the unit screen (cntl-U). The unit window came up, printed about half
of outine of the unit screen and the single word "Infantry" at upper left, and then went into a strange state where the window was sort of randomly flashing at me. Eventually windows put up a window saying that the application appeared to have frozen, and should I continue, restart, or quit. I tried continuing, and nothing came of it. Has anyone experienced anything like this? Any ideas what I should do about it? I have done cnel-U many times on this machine.

RE: Unit screen freeze

Posted: Sun Apr 21, 2019 2:01 pm
by paulderynck
I've seen it in NetPlay games and it's been attributed to the game having lost connection to the NetPlay server, although on those occasions there would be an attempt to show a dialog box but the flashing was so rapid, you could not read the message.

RE: Unit screen freeze

Posted: Sun Apr 21, 2019 2:12 pm
by Courtenay
Mine was in in a solitaire game.

I think I figured it out. Windows 10 is supposed to use all computer cores by default, but I noticed that my CPU usage was hanging around 24%. This made me suspicious, so I ran msconfig. It said I was using the default settting, but I changed that to manually force four cores. This greatly improved the performance of MWiF.

RE: Unit screen freeze

Posted: Mon Apr 22, 2019 8:38 am
by Centuur
ORIGINAL: Courtenay

Mine was in in a solitaire game.

I think I figured it out. Windows 10 is supposed to use all computer cores by default, but I noticed that my CPU usage was hanging around 24%. This made me suspicious, so I ran msconfig. It said I was using the default settting, but I changed that to manually force four cores. This greatly improved the performance of MWiF.

I've seen this also. But I'm not a computer guy, so if you can post a detailed work around when this happens, that would be very helpfull...

RE: Unit screen freeze

Posted: Mon Apr 22, 2019 8:19 pm
by Courtenay
Run msconfig. If using Windows 10, just type msconfig in the "Type here to search" box, and click on the app; on earlier versions you might have to make use a command prompt. You will get a window with tabs at the top. Pick "Boot". In boot, pick "Advanced options..." At the top left there will be box labeled "Number of Processors"; it will probably be unchecked. Check it. Below that there is a drop down window, with numbers from 1 to the number of cores on your machine. Mine has four. Pick the highest one you have, unless you have some good reason not to. (The only good reason I can think of is compatibility problems with older software.) Then click OK, and keep clicking on OK buttons until all window are closed. You may or may not have to restart your computer.

This SHOULD not do anything, because the highest number should be the default. However, when I did it, it helped a lot. Computers are strange.

Image

RE: Unit screen freeze

Posted: Tue Apr 23, 2019 8:56 am
by Centuur
Thanks.