Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Intermittent lock up

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> Intermittent lock up Page: [1]
Login
Message << Older Topic   Newer Topic >>
Intermittent lock up - 4/26/2016 9:44:53 AM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
Windows 10, game patched to all the latest, playing Iron babes.

This happens randomly when setting something e.g I set the unit to rest and the game locked. Task manager show the game is still running but mouse and K/B do nothing. This is not an isolated incident but appears totally random. I lost on hours this time.

Post #: 1
RE: Intermittent lock up - 4/26/2016 12:11:22 PM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
What are your command line switches and which shortcut are you using to start the game? There are many threads here on switches for Windows 10.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to Chris21wen)
Post #: 2
RE: Intermittent lock up - 4/27/2016 2:22:27 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: wdolson

What are your command line switches and which shortcut are you using to start the game? There are many threads here on switches for Windows 10.

Bill


"C:\Matrix Games\WitP AE\Beta2\War in the Pacific Admiral Edition.exe" -px1600 -py900 -cpu4 -dd_sw -altFont -skipVideo -archive -w

(in reply to wdolson)
Post #: 3
RE: Intermittent lock up - 4/27/2016 2:35:01 PM   
BillBrown


Posts: 2335
Joined: 6/15/2002
Status: offline
Try adding -multiaudio

-multiaudio : Invokes a fix that changes audio timing for multicore machines.

(in reply to Chris21wen)
Post #: 4
RE: Intermittent lock up - 4/27/2016 2:43:10 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
I'll try it, thanks.

Command line switches have changes since I last looked. I have two questions:

What does -r Road do?
What's the difference between -px and -pxf etc.

I can find no info in the what's new file.

(in reply to BillBrown)
Post #: 5
RE: Intermittent lock up - 4/27/2016 3:05:20 PM   
BillBrown


Posts: 2335
Joined: 6/15/2002
Status: offline
I think the -r just sets the road map on to start.

Also, I believe the -pxf and -pyf switches allow you to use non standard display resolution settings.

< Message edited by BillBrown -- 4/27/2016 3:06:46 PM >

(in reply to Chris21wen)
Post #: 6
RE: Intermittent lock up - 4/27/2016 3:17:26 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
Thanks

Just locked again using

"C:\Matrix Games\WitP AE\Beta2\War in the Pacific Admiral Edition.exe" -px1600 -py900 -cpu4 -dd_sw -altFont -multiaudio -deepColor -skipVideo -archive -wd"

This time I was setting LCU OpMode within an LCU list.

(in reply to BillBrown)
Post #: 7
RE: Intermittent lock up - 4/27/2016 3:27:55 PM   
BBfanboy


Posts: 17842
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline
Maybe we need to start looking at your system. How much RAM and Video RAM do you have. What is your video card? How much space is left on your HD? Stuff like that.
Not sure if the monitor can cause lock-up if it can't handle what the vid card throws at it but might as well look at its max resolution vis à vis the card too.

Did you upgrade the video drivers for both card and monitor when you switched to Win 10?

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to Chris21wen)
Post #: 8
RE: Intermittent lock up - 4/27/2016 3:51:30 PM   
witpqs


Posts: 25990
Joined: 10/4/2004
From: Argleton
Status: offline
Try adding "-SingleCpuOrders"

_____________________________


(in reply to BBfanboy)
Post #: 9
RE: Intermittent lock up - 4/27/2016 4:01:10 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: BBfanboy

Maybe we need to start looking at your system. How much RAM and Video RAM do you have. What is your video card? How much space is left on your HD? Stuff like that.
Not sure if the monitor can cause lock-up if it can't handle what the vid card throws at it but might as well look at its max resolution vis à vis the card too.

Did you upgrade the video drivers for both card and monitor when you switched to Win 10?


New window 10 machine with all bells and whistles.

(in reply to BBfanboy)
Post #: 10
RE: Intermittent lock up - 4/27/2016 4:02:39 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: witpqs

Try adding "-SingleCpuOrders"


Is that in lieu of -cpu4 or as well as. The two seem directly opposed.

(in reply to witpqs)
Post #: 11
RE: Intermittent lock up - 4/27/2016 8:45:56 PM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline

quote:

ORIGINAL: witpqs

Try adding "-SingleCpuOrders"


quote:

ORIGINAL: Chris H
Is that in lieu of -cpu4 or as well as. The two seem directly opposed.


They aren't. I wrote that code.

The cpu# commands tell the game which processor to use exclusively. If you have a 4+ core processor, it will use core #4 as the only core it uses. If you have fewer than 4, it will default to core #1 instead. Using -cpu4 and -SingleCpuOrders will only use a single core for the orders phase and will then will use all the cores to process the turn. Some computers only see the slow down when entering orders and runs fine, but others process turns slow too. Using -cpu# without -SingleCpuOrders will use a single core for everything.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to Chris21wen)
Post #: 12
RE: Intermittent lock up - 4/27/2016 10:32:49 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
Impressive, I'll try it.

(in reply to wdolson)
Post #: 13
RE: Intermittent lock up - 4/28/2016 1:02:23 AM   
BBfanboy


Posts: 17842
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline
I see a potential problem with the core usage defaulting to 1. Earlier in this thread or in another thread it was recommended NOT to use 1 because the Windows OS uses that one to do background stuff while the game is running. If your processor is a 2 core type, I would set the CPU to 2.

Did I get that right Bill?

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to Chris21wen)
Post #: 14
RE: Intermittent lock up - 4/28/2016 6:12:14 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
I would use 2 or higher, but the game should work OK as long as everything is running on one processor.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to BBfanboy)
Post #: 15
RE: Intermittent lock up - 4/28/2016 9:11:57 PM   
IJV

 

Posts: 34
Joined: 11/18/2015
Status: offline
Q: Are you certain the program is actually freezing? I occasionally (like...1/500) find that WITPAE 'hangs' on alttabbing back from something, or less commonly just at random (I tend to fidget with my mouse and it seems to dislike tons of random clicking) - but I have never, literally never in, uh, four years? had an actual proper hangup, it's always either been a full CTD (very rare) or more often just been a case of the graphics ceasing to render - everything is still working, you can do whatever you like, you just won't see anything happen (the giveaway if this is happening to you is that although rendering stops sound doesn't, so you can, say, open the map with a keyboard shortcut and listen for the associated tick sound).

Now, obviously this isn't a great deal of use as far as playing the game, BUT, if you launch another instance of the program and position it exactly on top of the 'frozen' one you can alt-tab between them and use the first one as a reference for where buttons etc are and save a game 'blind' (so to speak). Which...can save a lot of time.

e: obviously you can't exactly test for this since it isn't likely to be something that happens often, but it is worth trying if you happen to experience the game freezing on you.

< Message edited by IJV -- 4/28/2016 9:17:56 PM >

(in reply to wdolson)
Post #: 16
RE: Intermittent lock up - 4/29/2016 7:11:36 AM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
Absolutely sure.

(in reply to IJV)
Post #: 17
RE: Intermittent lock up - 4/29/2016 1:44:11 PM   
HansBolter


Posts: 7704
Joined: 7/6/2006
From: United States
Status: offline
Bill,

Is the cpu# switch limited to 4?

I am also experiencing lock ups on my new 8 core beast running Win7.

Been mostly playing AE on my old slow dog machine due to the frustration of getting 2/3's of the way through a turn resolution only to lose the time to a lock up.

My lock ups only happen during turn resolution, never while issuing orders.

_____________________________

Hans


(in reply to Chris21wen)
Post #: 18
RE: Intermittent lock up - 4/29/2016 2:08:46 PM   
BBfanboy


Posts: 17842
Joined: 8/4/2010
From: Winnipeg, MB
Status: offline
I am also running Win 7 and the only time I have had lock-up issues with the game is when my Anti-Virus program was accessing the internet or screening an incoming internet communication. Most often it just minimizes the game screen while the modem flashes away and the AV program logo flashes once in a while.

When my internet line was down for a couple of days and I played WITP-AE, it ran with no interruptions and was much faster getting through turns than when connected. Makes me think the issue is that the game needs total control of the OS but the AV program won't let it when it is doing something in the background and especially when the latter is updating itself. Just tossing out an idea - no technical expertise behind it!

_____________________________

No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth

(in reply to HansBolter)
Post #: 19
RE: Intermittent lock up - 4/29/2016 10:29:26 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
-SingleCpuOrders seems to have fixed it.

Thanks

(in reply to BBfanboy)
Post #: 20
RE: Intermittent lock up - 4/29/2016 11:35:19 PM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline

quote:

ORIGINAL: HansBolter

Bill,

Is the cpu# switch limited to 4?

I am also experiencing lock ups on my new 8 core beast running Win7.

Been mostly playing AE on my old slow dog machine due to the frustration of getting 2/3's of the way through a turn resolution only to lose the time to a lock up.

My lock ups only happen during turn resolution, never while issuing orders.


Yes, it only goes to 4. On an 8 core you can still set the processor to any of the first 4.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to HansBolter)
Post #: 21
RE: Intermittent lock up - 4/30/2016 8:44:20 AM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
I spoke too soon.  Did it again, and again it was when I was setting LCU opmodes in the LCU list?

(in reply to wdolson)
Post #: 22
RE: Intermittent lock up - 4/30/2016 3:22:36 PM   
witpqs


Posts: 25990
Joined: 10/4/2004
From: Argleton
Status: offline

quote:

ORIGINAL: Chris H

I spoke too soon.  Did it again, and again it was when I was setting LCU opmodes in the LCU list?

Just a thought - maybe it's not AE. Maybe it's some other software that's running in the background. Maybe it's your hard drive having fits.

_____________________________


(in reply to Chris21wen)
Post #: 23
RE: Intermittent lock up - 4/30/2016 4:21:44 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: witpqs


quote:

ORIGINAL: Chris H

I spoke too soon.  Did it again, and again it was when I was setting LCU opmodes in the LCU list?

Just a thought - maybe it's not AE. Maybe it's some other software that's running in the background. Maybe it's your hard drive having fits.



I was coming to that conclusion but I doubt it as I can click and do anything else on the machine except click or use the k/b in the game. It's a new computer and I sincerely hope the drive is not having fits as I might join it, as that's the reason I have a new one.

(in reply to witpqs)
Post #: 24
RE: Intermittent lock up - 5/1/2016 9:34:17 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
If it's a new computer, most computer makers load up their machines with junk-ware, some of which can eat up a lot of computing power. You can run Task Manager to see what is taking up CPU time. You can start Task Manager by clicking Ctrl+Alt+Del and selecting Task Manager from the screen that pops up. On the Processes tab, you can then for to View->Select Columns and set a check by CPU and CPU Time. This will show you what programs are taking the most CPU power. The game will show up as running one processor core all the time (for example if you have a quad core machine, and the game is running, it will show 25 in the CPU column), but anything else that shows a lot of CPU time or has flurries of high CPU % activity, that could be what's slowing the game down to nothing.

There is always the chance a virus is running in the background too. Some viruses are good at hiding from virus scanners.

_____________________________

WitP AE - Test team lead, programmer

(in reply to Chris21wen)
Post #: 25
RE: Intermittent lock up - 5/1/2016 11:32:45 PM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
First thing I did was too get rid of all the crap.

No virus.

I'll have too have look at the Task Manager,

(in reply to wdolson)
Post #: 26
RE: Intermittent lock up - 5/2/2016 7:27:24 AM   
Chris21wen

 

Posts: 6208
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: wdolson

On the Processes tab, you can then for to View->Select Columns and set a check by CPU and CPU Time.


Sorry to be a pain but I cannot find this. This is for Windows 10 and not an earlier version?

(in reply to wdolson)
Post #: 27
RE: Intermittent lock up - 5/2/2016 7:54:46 AM   
wdolson

 

Posts: 10398
Joined: 6/28/2006
From: Near Portland, OR
Status: offline
It looks like they changed things with Windows 8, but it appears to be the same in Windows 10:

http://www.howtogeek.com/108742/how-to-use-the-new-task-manager-in-windows-8/

_____________________________

WitP AE - Test team lead, programmer

(in reply to Chris21wen)
Post #: 28
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> Intermittent lock up Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.391