Forsaken Heroes of DragonLance
 
HomeRegisterLog in

Share | 
 

 CPU spiking

View previous topic View next topic Go down 
AuthorMessage
lilmarcat
Dragon Trainer
Dragon Trainer
avatar

Number of posts : 128
Points : 165
Registration date : 2011-07-28
Age : 24
Location : Australia

PostSubject: CPU spiking   Sun Apr 15, 2012 9:02 pm

Basic PC Specs!
Windows 7 64bit
16gb ram
AMD 6 core 3.5ghz+
AMD Radeon 7850HD.


Point is I should be able to run and use to run NWN with absolute ease.
Recently however the computer freezes up with playing NWN as NWN causes the CPU to spike every 30 or so seconds.
Was wondering if anyone had any suggestions/fixes or had encountered this problem before
Back to top Go down
lilmarcat
Dragon Trainer
Dragon Trainer
avatar

Number of posts : 128
Points : 165
Registration date : 2011-07-28
Age : 24
Location : Australia

PostSubject: Re: CPU spiking   Sun Apr 22, 2012 10:23 pm

How to fix CPU spiking on multi-core pc's!

Dual Core Processor and NWN Edit
NWN doesn't support multiple processors and that manifests itself as unplayable lag. You have to set NWN's affinity so that it only wants to run on a single core.
Quick temporary solution Edit
If you are already running NWN, then hit Ctrl+Alt+Delete to pull up the task manager. Then, on that task manager, select NWN and there should be something labeled 'affinity' or something like that. Once you hit that, there should be a few boxes that are checked and you should uncheck one of them to get it working.
You have to do this every time you start the game, and that is not very convenient.

Permanent solution Edit
Set a processor affinity in the configuration file.
To fix it permanently, open your nwnplayer.ini file (it is located in same directory as the game) and in [Game Options] section add this line (or change existing one to =1):

Client CPU Affinity=1
Now the NWN game will always use your second core.

SourceEdit
source : patch note 1.67 : Added a new option to the nwnplayer.ini file under [Game Options] "Client CPU Affinity" (for Windows only). If you have more than one CPU on your PC, then you can use this setting to make the game run on only one of the CPUs by specifying the number of the CPU (0-31). Setting "Client CPU Affinity=-1" will turn off CPU affinity.



There was another update for multi-core processors (4 cores+) aswell. Setting it to -2 should make you use all your cores.
Back to top Go down
 
CPU spiking
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» G27 Pedal Spiking Fix

Permissions in this forum:You cannot reply to topics in this forum
Forsaken Heroes of DragonLance :: Player Archives-
Jump to: