SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-11-06, 08:52 PM   #1
sonar732
The Old Man
 
Join Date: Jul 2003
Location: Central MO
Posts: 1,562
Downloads: 6
Uploads: 0
Default Dual Cored Processors

Please sticky this as it's becoming apparent that the dual cored processors is becoming an issue with DW. If you get errors with DW AFTER it starts, make sure that DW is using only one processor. This is how you set it up...

So while in the main menu screen I alt-tabbed out to the desktop. Loaded up taskmanager ( ctrl-alt-del ). Go to the apps tab and right click on the dangerous waters app. Select goto process. This will send you to the processes tab with the dangerouswaters.exe selected. Right click on the process and select affinity. Unclick one of your processors (it doesn't matter which one) so that only one processor is running DW.

If the classic Sub Command is also having problems as I've seen lately, attempt it also.
sonar732 is offline   Reply With Quote
Old 02-11-06, 10:21 PM   #2
Ramius
Commander
 
Join Date: May 2001
Location: At sea (again)
Posts: 457
Downloads: 43
Uploads: 0
Default

This isn't anything new.

Its not "becoming" an issue with DW.

Its just more and more people are getting dual processors
__________________
There is a forgotten, nay even forbidden word, which means more to me than any other.
That word is England
Ramius is offline   Reply With Quote
Old 02-11-06, 10:25 PM   #3
sonar732
The Old Man
 
Join Date: Jul 2003
Location: Central MO
Posts: 1,562
Downloads: 6
Uploads: 0
Default

Quote:
Originally Posted by Ramius
This isn't anything new.

Its not "becoming" an issue with DW.

Its just more and more people are getting dual processors
Yes, it's listed on the FAQ...

6) Unexplainable crashes : If you have a Pentium PC with HT (Hyperthreading Technology) or any other dual core CPU and you experience crashes and problems, try to disable the 2nd CPU. Even tho it should be fixed by now, it seems that some single systems still experience problems with that. And of course if you get an error message post it in the Tech Support Forum.
Possible Solution might lie within the following links :
- English : http://support.microsoft.com/kb/896256/EN-US/
- German : http://support.microsoft.com/?id=896256#kb2

- For AMD Dual Core Processors you should check this link : AMD Athlon™ 64 X2 Dual Core Processor Driver for Windows XP

However, people aren't looking at the FAQ.
sonar732 is offline   Reply With Quote
Old 02-13-06, 11:33 AM   #4
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

I use on my AMD64 dual core this command line until BindCPU.exe.
I have copied this exe into the Windows/System32 folder and use batch files to start games which have problems with dual core cpu's.

For DW I create a dangerouswaters.bat which contains only this line:
BindCPU 1 dangerouswaters.exe

that starts DW and bind the process only to CPU 0.
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote
Old 02-13-06, 08:05 PM   #5
JoGary(sco)
A-ganger
 
Join Date: May 2005
Location: Loch lomand, Scotland
Posts: 71
Downloads: 10
Uploads: 0
Default

The AMD update for the Duel core processors fixed all my problems. I can ow run without setting the Afinity
__________________
Joseph,Gary Winters
jgw28@blueyonder.co.uk
ICQ : 259-346-534
http://seawolves.org
JoGary(sco) is offline   Reply With Quote
Old 02-13-06, 08:05 PM   #6
JoGary(sco)
A-ganger
 
Join Date: May 2005
Location: Loch lomand, Scotland
Posts: 71
Downloads: 10
Uploads: 0
Default

The AMD update for the Duel core processors fixed all my problems. I can ow run without setting the Afinity
__________________
Joseph,Gary Winters
jgw28@blueyonder.co.uk
ICQ : 259-346-534
http://seawolves.org
JoGary(sco) is offline   Reply With Quote
Old 02-13-06, 09:20 PM   #7
sonar732
The Old Man
 
Join Date: Jul 2003
Location: Central MO
Posts: 1,562
Downloads: 6
Uploads: 0
Default

Awesome to hear!
sonar732 is offline   Reply With Quote
Old 02-14-06, 01:44 PM   #8
Jamie
Sonalysts Inc.
 
Join Date: Jul 2002
Location: Middletown, CT (USA)
Posts: 204
Downloads: 0
Uploads: 0
Default

So for those of you who have had this problem and corrected it...

Is this what you have been doing and DW seems to work alright afterwards?

1) Disable CPU1 - Example sequence
NOTE: Jamie's processes have been removed to protect the innocent




2) AMD dual-core patch
And somewhat related...
- Which patch have the AMD dual-core people installed?
- What is the URL to it?
Jamie is offline   Reply With Quote
Old 02-14-06, 01:45 PM   #9
Jamie
Sonalysts Inc.
 
Join Date: Jul 2002
Location: Middletown, CT (USA)
Posts: 204
Downloads: 0
Uploads: 0
Default

I will "re-Sticky" this later, I promise...
Jamie is offline   Reply With Quote
Old 02-14-06, 02:40 PM   #10
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Developers should use the Win32 API function SetProcessAffinityMask() to set the process only to CPU0 until their app is dual core optimized
Code:
// dwProcessAffinityMask = x
// x = 1 -> CPU0
// x = 2 -> CPU1
// x = 4 -> CPU2
// x = 8 -> CPU3
HANDLE hProcess;
DWORD_PTR dwProcessAffinityMask = 1;
hProcess = GetCurrentProcess();
if (hProcess)
SetProcessAffinityMask(hProcess, dwProcessAffinityMask );
Personally I do not use the AMD patch, I deactivated Cool'n'Quiet on my system because with some dual core applications I need the full power on both cores and therefore I don't let the system adjust the CPU speed through these drivers.
Seeadler is offline   Reply With Quote
Old 02-14-06, 02:43 PM   #11
JoGary(sco)
A-ganger
 
Join Date: May 2005
Location: Loch lomand, Scotland
Posts: 71
Downloads: 10
Uploads: 0
Default

I think setting the Afinity like you have shown above does sort out the problem but you dont have to do that if you download the updated XP drivers from AMD
The link to then is
http://www.amd.com/us-en/Processors/..._13118,00.html
The file you are looking for is the one called
AMD Athlon™ 64 X2 Dual Core Processor Driver for Windows XP and Windows Server 2003 Version (exe) 1.2.2.2
This fixed not only DW but some problems i had with other games.
Once i installed this DW ran fin with booth cores and no need to set afinity
__________________
Joseph,Gary Winters
jgw28@blueyonder.co.uk
ICQ : 259-346-534
http://seawolves.org
JoGary(sco) is offline   Reply With Quote
Old 02-14-06, 02:47 PM   #12
JoGary(sco)
A-ganger
 
Join Date: May 2005
Location: Loch lomand, Scotland
Posts: 71
Downloads: 10
Uploads: 0
Default

Quote:
Personally I do not use the AMD patch, I deactivated Cool'n'Quiet on my system because with some dual core applications I need the full power on both cores and therefore I don't let the system adjust the CPU speed through these drivers.
I dont use Cool n Quiet either but you can still install the patch even if you dont use it and it should fix the problems with DW and other games.
__________________
Joseph,Gary Winters
jgw28@blueyonder.co.uk
ICQ : 259-346-534
http://seawolves.org
JoGary(sco) is offline   Reply With Quote
Old 02-14-06, 03:01 PM   #13
Jamie
Sonalysts Inc.
 
Join Date: Jul 2002
Location: Middletown, CT (USA)
Posts: 204
Downloads: 0
Uploads: 0
Default

Thank you guys.
Jamie is offline   Reply With Quote
Old 02-14-06, 08:28 PM   #14
SmugFish
Swabbie
 
Join Date: Sep 2002
Location: Cambridge, MA USA
Posts: 9
Downloads: 0
Uploads: 0
Default

For what it's worth, I have had no trouble running DW on a dual CPU Opteron system, not dual core, but dual CPUs with one core each. I am using the lastest AMD drivers, but I am running Windows 2000 pro SP4 with all the subsequent patches rather than Windows XP. It seems very stable.
SmugFish is offline   Reply With Quote
Old 11-12-06, 03:18 PM   #15
Orm
Torpedoman
 
Join Date: Jun 2005
Location: Finland
Posts: 116
Downloads: 0
Uploads: 0
Default

Stupid question,

what is the path to the Windows task manager?
__________________
Orm
Orm is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.