Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

New laptop doesn't play well....lag

 
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 >> New laptop doesn't play well....lag Page: [1]
Login
Message << Older Topic   Newer Topic >>
New laptop doesn't play well....lag - 1/2/2018 9:17:21 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
My last head to head game ended in 2015, now thinking of getting back in. However, new laptop (2017) doesn't like the game, as there is massive lag. In going through the forums I have found and tried several "switches" if that is the correct term. I am not a techno wizard. I have tried:

"C:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -f -pxf1920 -pyf1080 -archive -deepColor -multiaudio -dd_sw -altFont

-f -dd_sw -deepColor -fixArt -SingleCpuOrders -altFont

-wd -pxf1920 -pyf1080 -archive -deepColor -multiaudio -dd_sw -altFont

None of these have solved the lag problem.


I have a HP Pavilion 15-bc051nr, it's a somewhat fast unit for video editing.

specs are......

Intel® Core™ i7-6700HQ with Intel® HD Graphics 530 (2.6 GHz, up to 3.5 GHz, 6 MB cache, 4 cores),

6 GB DDR4-2133 SDRAM (2 x 8 GB),

and graphics 6 GB DDR4-2133 SDRAM (2 x 8 GB)

Massive thank you if any one has any ideas.

regards,
Terry

_____________________________

Post #: 1
RE: New laptop doesn't play well....lag - 1/2/2018 9:29:19 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
If you have the latest update to Windows 10 (version 1709 a.k.a. Fall Creator's Update) initial reports are that removing -dd_sw clears up the lag. This version of Win 10 is the only instance I've heard of where -dd_sw isn't a help; otherwise it's a standard recommendation to use it.

You can find out what version you have by hitting the 'windows' key, typing in 'cmd' clicking on "Command Prompt" that pops up at the top of the Start Menu, and then typing at the prompt 'winver'.

(in reply to Mark VII)
Post #: 2
RE: New laptop doesn't play well....lag - 1/2/2018 9:37:25 PM   
wdolson

 

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

Try -cpu2 or another cpu# switch. The problem is the game doesn't work well with multi-core processors. The game engine makes calls that create another thread and then waits for the other thread to finish. On a single core machine, the other thread runs on the same core, so it just waits for a tiny fraction of a second and the other thread finishes. On a multi-core machine, the other thread is spawned on a different core and while the first thread is going into wait, the second core is done and every core sits around waiting for the other to do something. Finally after a timeout of something like a second, the first thread makes the call again and discovers the answer is sitting there waiting and continues.

I've really wanted to fix this problem for some time and Michael and I took a shot at it about 2 years ago. We made some progress but both of us got called away with our "day jobs" and we never managed to get it completely working. It's a case where I know what's happening, but I can't quite figure out how to fix it.

cpu2 will force the game to only use the 2nd core. The first core is often used for Windows functions and some people have had problems with -cpu1, but -cpu2, -cpu3, or -cpu4 should work better.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to Mark VII)
Post #: 3
RE: New laptop doesn't play well....lag - 1/2/2018 9:37:44 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
I have version 1709 (OS build 16299.125)

Trying your recommendation directly.

_____________________________


(in reply to Korvar)
Post #: 4
RE: New laptop doesn't play well....lag - 1/2/2018 9:44:18 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
removing -dd_sw didn't work. currently on...
"C:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -f -pxf1920 -pyf1080 -archive -deepColor -multiaudio -altFont


quote:

ORIGINAL: Korvar

If you have the latest update to Windows 10 (version 1709 a.k.a. Fall Creator's Update) initial reports are that removing -dd_sw clears up the lag. This version of Win 10 is the only instance I've heard of where -dd_sw isn't a help; otherwise it's a standard recommendation to use it.

You can find out what version you have by hitting the 'windows' key, typing in 'cmd' clicking on "Command Prompt" that pops up at the top of the Start Menu, and then typing at the prompt 'winver'.



_____________________________


(in reply to Korvar)
Post #: 5
RE: New laptop doesn't play well....lag - 1/2/2018 9:45:55 PM   
MakeeLearn


Posts: 4278
Joined: 9/11/2016
Status: offline
quote:

...video editing



Conflicting software in background / video settings?...screensaver?


(in reply to Mark VII)
Post #: 6
RE: New laptop doesn't play well....lag - 1/2/2018 9:46:53 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
Where do I put in the "-cpu2"

Yes, I suspected the 4 cores was a likely problem.

quote:

ORIGINAL: wdolson


Try -cpu2 or another cpu# switch. The problem is the game doesn't work well with multi-core processors. The game engine makes calls that create another thread and then waits for the other thread to finish. On a single core machine, the other thread runs on the same core, so it just waits for a tiny fraction of a second and the other thread finishes. On a multi-core machine, the other thread is spawned on a different core and while the first thread is going into wait, the second core is done and every core sits around waiting for the other to do something. Finally after a timeout of something like a second, the first thread makes the call again and discovers the answer is sitting there waiting and continues.

I've really wanted to fix this problem for some time and Michael and I took a shot at it about 2 years ago. We made some progress but both of us got called away with our "day jobs" and we never managed to get it completely working. It's a case where I know what's happening, but I can't quite figure out how to fix it.

cpu2 will force the game to only use the 2nd core. The first core is often used for Windows functions and some people have had problems with -cpu1, but -cpu2, -cpu3, or -cpu4 should work better.

Bill



_____________________________


(in reply to wdolson)
Post #: 7
RE: New laptop doesn't play well....lag - 1/2/2018 9:47:56 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
I would give wdolson's suggestions a go - I've always thought of the cpu switches as more of an AMD thing, but the truth is there are so many multicore processors out there now (both Intel and AMD) that it's really a case-by-case basis to find the "sweet spot" for your PC. Of course, you can experiment with and without the -dd_sw switch along with the cpu switch.

(in reply to Mark VII)
Post #: 8
RE: New laptop doesn't play well....lag - 1/2/2018 9:52:33 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline

quote:

ORIGINAL: Mark VII

Where do I put in the "-cpu2"

Yes, I suspected the 4 cores was a likely problem.




I haven't seen any ordering requirement for shortcut switches in WitPAE. I also have a quad core system and have never had any issue once I began using -dd_sw. I also froze my Win 10 version at 1607, two versions older than 1709 (for reasons unrelated to WitPAE, but I don't mind avoiding the issues some folks have been experiencing).

Another key difference between our processors is that I have an i5 while you have an i7. Your processor has what's called "hyperthreading", which is basically a way to treat a physical core as two (so in theory you have up to 8 cores). Hyperthreading might make the -cpu switches more valuable to your PC.

(in reply to Mark VII)
Post #: 9
RE: New laptop doesn't play well....lag - 1/2/2018 9:58:53 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
To be as straightforward as possible, I would try:

-cpu2 -fd -archive -deepColor -dd_sw -altFont 


Then delete -dd_sw if that doesn't work.

(in reply to Korvar)
Post #: 10
RE: New laptop doesn't play well....lag - 1/2/2018 10:05:44 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
Just remembered something - it's also worth a try to turn off Win 10's transparency settings.


(in reply to Korvar)
Post #: 11
RE: New laptop doesn't play well....lag - 1/2/2018 10:10:47 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
currently on....."C:\Matrix Games\War in the Pacific Admiral's Edition\War in the Pacific Admiral Edition.exe" -cpu2 -f -pxf1920 -pyf1080 -archive -deepColor -multiaudio -altFont

Lag seems mostly gone but game loads "offset" to the lower right and I don't see everything.






Attachment (1)

_____________________________


(in reply to Korvar)
Post #: 12
RE: New laptop doesn't play well....lag - 1/2/2018 10:14:54 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
Try:

-cpu2 -wd -pxf1920 -pyf1080 -archive -deepColor -multiaudio -altFont


You'll have a title bar at the top, but it should center the screen.


Edit: Another thought - are you using a resolution other than 1920 x 1080? That could be a cause for the non-centered game window. You'd want to have the resolution switches match whatever you're actually using.

< Message edited by Korvar -- 1/2/2018 10:20:39 PM >

(in reply to Mark VII)
Post #: 13
RE: New laptop doesn't play well....lag - 1/2/2018 10:26:54 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
Now game image is way larger than my screen, I can move game around by grabbing top bar but can't see all of game at same time. I guess some kind of resolution issue.

quote:

ORIGINAL: Korvar

Try:

-cpu2 -wd -pxf1920 -pyf1080 -archive -deepColor -multiaudio -altFont


You'll have a title bar at the top, but it should center the screen.


Edit: Another thought - are you using a resolution other than 1920 x 1080? That could be a cause for the non-centered game window. You'd want to have the resolution switches match whatever you're actually using.



_____________________________


(in reply to Korvar)
Post #: 14
RE: New laptop doesn't play well....lag - 1/2/2018 10:30:00 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
just checked, I'm on 1920 x 1080

_____________________________


(in reply to Mark VII)
Post #: 15
RE: New laptop doesn't play well....lag - 1/2/2018 10:30:10 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
Right-click anywhere on an "unoccupied" area of your desktop on the wallpaper directly (not on an icon, etc.).

Then left click:
Display Settings --> Advanced Display Settings (blue link towards bottom)

It should then show you the actual resolution in the "Resolution" drop-down box.


Edit: You beat me.

(in reply to Mark VII)
Post #: 16
RE: New laptop doesn't play well....lag - 1/2/2018 10:36:30 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
See how this looks:

-cpu2 -f -archive -deepColor -multiaudio -altFont

(in reply to Korvar)
Post #: 17
RE: New laptop doesn't play well....lag - 1/2/2018 10:40:24 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
THAT'S IT!!!! Thank you so much. lighting in a bottle.


quote:

ORIGINAL: Korvar

See how this looks:

-cpu2 -f -archive -deepColor -multiaudio -altFont




_____________________________


(in reply to Korvar)
Post #: 18
RE: New laptop doesn't play well....lag - 1/2/2018 10:41:41 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline

thank you for your time and patience!


quote:

ORIGINAL: Mark VII

THAT'S IT!!!! Thank you so much. lighting in a bottle.


quote:

ORIGINAL: Korvar

See how this looks:

-cpu2 -f -archive -deepColor -multiaudio -altFont






_____________________________


(in reply to Mark VII)
Post #: 19
RE: New laptop doesn't play well....lag - 1/2/2018 10:44:32 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
You're welcome.

You might want to tweak it to:

-cpu2 -fd -archive -deepColor -multiaudio -altFont


IF you'd like daily (in game terms) autosaves - I've found it to be a good idea. Adding -skipVideo will also automatically skip the opening video if you get tired clicking through it.

(in reply to Mark VII)
Post #: 20
RE: New laptop doesn't play well....lag - 1/2/2018 10:51:47 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
I'll try that later, but once again thanks Kovar and wdolson for your thoughts.


quote:

ORIGINAL: Korvar

You're welcome.

You might want to tweak it to:

-cpu2 -fd -archive -deepColor -multiaudio -altFont


IF you'd like daily (in game terms) autosaves - I've found it to be a good idea. Adding -skipVideo will also automatically skip the opening video if you get tired clicking through it.


< Message edited by Mark VII -- 1/2/2018 10:52:09 PM >


_____________________________


(in reply to Korvar)
Post #: 21
RE: New laptop doesn't play well....lag - 1/2/2018 10:55:30 PM   
Korvar


Posts: 813
Joined: 9/3/2014
Status: offline
Enjoy the game!

It's the least we could do to help after you shared all those awesome Palau and Peleliu photos.

(in reply to Mark VII)
Post #: 22
RE: New laptop doesn't play well....lag - 1/2/2018 11:52:43 PM   
Mark VII


Posts: 1838
Joined: 8/11/2003
From: Brentwood,TN
Status: offline
I played WitP alot since it first came out. Stopped playing humans in 2015 after Dave resigned after we reached March 1944, just didn't have time. Not sure I'm going to start again but want to be able.

Thanks on the Palau comment. There's alot more coming once I reduce more pics. Maybe 3/5's done with this day trip to Peleliu. The next day we dived a shot down Jake seaplane and then there was a second trip to Peleliu off our live aboard dive boat later in the week where I saw even more.

quote:

ORIGINAL: Korvar

Enjoy the game!

It's the least we could do to help after you shared all those awesome Palau and Peleliu photos.



< Message edited by Mark VII -- 1/2/2018 11:53:38 PM >


_____________________________


(in reply to Korvar)
Post #: 23
RE: New laptop doesn't play well....lag - 1/3/2018 1:11:02 AM   
wdolson

 

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

ORIGINAL: wdolson


Try -cpu2 or another cpu# switch. The problem is the game doesn't work well with multi-core processors. The game engine makes calls that create another thread and then waits for the other thread to finish. On a single core machine, the other thread runs on the same core, so it just waits for a tiny fraction of a second and the other thread finishes. On a multi-core machine, the other thread is spawned on a different core and while the first thread is going into wait, the second core is done and every core sits around waiting for the other to do something. Finally after a timeout of something like a second, the first thread makes the call again and discovers the answer is sitting there waiting and continues.

I've really wanted to fix this problem for some time and Michael and I took a shot at it about 2 years ago. We made some progress but both of us got called away with our "day jobs" and we never managed to get it completely working. It's a case where I know what's happening, but I can't quite figure out how to fix it.

cpu2 will force the game to only use the 2nd core. The first core is often used for Windows functions and some people have had problems with -cpu1, but -cpu2, -cpu3, or -cpu4 should work better.

Bill


quote:

ORIGINAL: Mark VII

Where do I put in the "-cpu2"

Yes, I suspected the 4 cores was a likely problem.



It can be anywhere in the string of switches, but I'd put it near the beginning.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to Mark VII)
Post #: 24
RE: New laptop doesn't play well....lag - 1/3/2018 1:12:29 AM   
wdolson

 

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

quote:

ORIGINAL: Korvar

I would give wdolson's suggestions a go - I've always thought of the cpu switches as more of an AMD thing, but the truth is there are so many multicore processors out there now (both Intel and AMD) that it's really a case-by-case basis to find the "sweet spot" for your PC. Of course, you can experiment with and without the -dd_sw switch along with the cpu switch.


When we put those switches in we were seeing a lot more problems with Intel processors than AMD. The video card can contribute to it too.

Bill

_____________________________

WitP AE - Test team lead, programmer

(in reply to Korvar)
Post #: 25
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support >> New laptop doesn't play well....lag 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

1.078