[H]ard|Forum

Go Back   [H]ard|Forum > [H]ard|Ware > AMD Processors

Reply
 
Thread Tools Search this Thread
  #1  
Old 11-27-2005, 01:38 PM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
Dual Core Gaming Fix Guide

Dual Core Gaming Fix Guide

Introduction
Since I purchased my X2 and then my dual core Opteron, I noticed that gaming performance suffers while running certain games. [H]ardOCP noted this in one of their reviews as the "Benny Hill Effect." There is a certain amount of stuttering or random speedup/slowdowns while running dual core CPU's in single threaded games. The reason for these problems has to do with power state management in some form or another, as these fixes are designed to address specific power state management issues. For more info, read this document at AMD's website here and Microsoft's software engineers acknowledgment of the problem and solutions here. This thread is intended to consolidate a number of fixes I've come across in this forum and elsewhere.

Fix #1 - The AMD Dual Core Optimizer

AMD Dual-Core Optimizer - The AMD Dual-Core Optimizer can help improve some PC gaming video performance by compensating for those applications that bypass the Windows API for timing by directly using the RDTSC (Read Time Stamp Counter) instruction. Applications that rely on RDTSC do not benefit from the logic in the operating system to properly account for the affect of power management mechanisms on the rate at which a processor core's Time Stamp Counter (TSC) is incremented. The AMD Dual-Core Optimizer helps to correct the resulting video performance effects or other incorrect timing effects that these applications may experience on dual-core or multiple processor systems.

You can download it here:
http://www.amd.com/us-en/Processors/..._13118,00.html

Fix #2 - The AMD Driver ( /usepmtimer switch)

1. Install the AMD Processor driver found here:
http://www.amd.com/us-en/Processors/..._13118,00.html
AMD Athlon™ 64 X2 Dual Core Processor Driver for Windows XP and Windows Server 2003 Version (exe) 1.3.2 (or other driver depending on your OS).

This driver will add the /usepmtimer line to your boot.ini file. This will both fix problems in some games (BF2) and will raise problems in others (WoW). So depending on what games you are playing, you might have to edit your boot.ini to reflect the game you are playing.

2. Add the /usepmtimer switch to your boot.ini file manually
Right Click My Computer
Properties
Advanced Tab
Startup and Recovery -> Settings
To edit the startup options manually, click edit -> Edit

This should bring up a .txt file with your boot.ini file

Quote:
Originally Posted by kirbyrj's boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /bootlogo /usepmtimer
Add the /usepmtimer as noted above and it will do what the driver does for you. If it is already there and you still have problems, you might want to take it out and try again, or try one of the other fixes.

Fix #3 - The Microsoft Hotfix

NOTE: This Hotfix is only for Windows XP w/SP2 per the documentation at the link below

Here is the official Microsoft link to v.4 of the Hotfix.
http://www.microsoft.com/downloads/d...8-34FB8A0FCE3B

Other versions (v.3) can be found at one of these mirrors:
http://exphose.com/upfiles/1/Windows...v3-x86-ENU.exe
http://www.evilkitty.org/misc/Window...v3-x86-ENU.exe
http://static.hardwareluxx.de:443/ha...v3-x86-ENU.exe
http://techtype.msfnhosting.com/wind...v3-x86-enu.exe
http://www.perambula.net/res/Windows...v3-x86-ENU.exe

If you need to disable the hotfix, edit the registry as noted here (specifically note #7 which details how to deactivate/activate the hotfix):
http://support.microsoft.com/Default.aspx?id=896256
Quote:
Originally Posted by Microsoft.com
1. Click Start, click Run, type regedit, and then click OK.
2. Right-click HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager, point to New, and then click Key.
3. Type Throttle for the new key name.
4. Right-click Throttle, point to New, and then click DWORD Value.
5. Type PerfEnablePackageIdle for the value name.
6. Right-click PerfEnablePackageIdle, and then click Modify.
7. In the Value data box, type 0. Make sure that Hexadecimal is selected in the Edit DWORD Value dialog box, and then click OK.
Note You can type 1 in the Value data box to enable the new performance state policy behavior.
8. Quit Registry Editor.
Specifics as to what is being done from the power management side of things can be read at the link above. These are just the changes that need to be made in the registry. Also note that in the DWORD value box, you enter a "0" to disable the power state created by the hotfix and enter a "1" to enable it. For the purposes of fixing the games, enter a "1".

Fix #4 - Set the Affinity Manually

Finally, the last and least glorious of the fixes is to manually set the CPU affinity of certain programs. This can be done in several ways.
1. Alt-Tab out of your game, CTRL-ALT-DEL to the Task Manager, Under the Processes tab, right click the .exe file for your game and go to Set Affinity, Uncheck CPU 1.

2. Use a program to launch games
Win2000/WinXP Launcher to load games. (Available here: http://www.majorgeeks.com/Win2000_Launcher_d438.html or http://www.majorgeeks.com/WinLauncherXP_d870.html). This will allow you to set the CPU affinity before loading the game, which is useful for games that don't respond well to Alt-Tabbing.

3. Use an affinity masking tool such as
ImageCFG (http://www.robpol86.com/Pages/imagecfg.php for instructions on how to use). Backup your .exe before using this program. Imagecfg has a problem with some directories with spaces in them, so its easiest to stick it in the folder with the *.exe file you want to change. Then use the command you need (knowledge of the DOS prompt is a must ):

imagecfg -a 0x1 game.exe for core 1
imagecfg -a 0x2 game.exe for core 2

This will alter your .exe file, so make a backup of it. Especially since future game patches might not work with a patched .exe.

RunFirst - http://www.activeplus.com/us/freeware/runfirst/

Affinity Set Command by JakFrost
http://www.hardforum.com/showpost.ph...&postcount=431


Alternate Fix #5 - Newer video drivers for your graphics card
If you're using an Nvidia video card. Download one of the Forceware 80 or 90 series drivers which are dual core optimized. Latest are available here:
http://www.nvidia.com/content/drivers/drivers.asp
Some older drivers may/may not work with some games/benchmarks and dual core processors.

Nvidia Beta drivers have been clearing up some dual core crashing problems and some other games without having to go through the optimizations below.
http://www.nzone.com/object/nzone_do...etadriver.html

ATI drivers available here:
https://support.ati.com/ics/support/...ge&folderID=27
I would assume dual core support to be forthcoming in future Catalyst releases.

Nvidia Dual Core Driver Optimization
Warning, still testing this, if you have results please post
If you are experiencing problems with the Nvidia dual core driver optimizations, you can turn them off in the registry by using the following steps (or use the older 77.77 drivers). As always, backup your registry before editing.

Quote:
Originally Posted by Nvidia Forums
1. Go into Regedit and determine the current primary display card by looking in HKey_Local_Machine\Hardware/DeviceMap\Video and note the GUID (global unique indentifier assigned by Windows) for the entry "\device\video0" which is the long string at the end of the entry in brackets { }.

2. Edit HKey_Local_Machine\SYSTEM\CurrentControlSet\Control\Video\{g uid}\0000, where {guid} is the number derived from the above step.

3. Open the "0000" directory and enter a new key called OGL_ThreadControl and give it a value of 2. This will disable multithreading in the driver for all OGL apps.

4. In the same "0000" directory, to disable driver multithreading for all D3D apps, you can enter WTD_EXECMODEL and give a value of 0.
Conclusion
One of the above solutions should fix 98% of your gaming problems with dual core CPU's. Any comments or suggestions are welcome.

Last edited by kirbyrj; 04-21-2007 at 11:25 PM..
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #2  
Old 11-27-2005, 02:04 PM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
Games and Solutions

Feel free to post telling which games are fixed by one of the solutions if you've had problems. Note: Not all systems will be affected in the same way.

Games Fixed by #1
Morrowind
HalfLife2 (Source Engine games)
BF2

Games Fixed by #2
FarCry
HalfLife1 (CS/DoD)
Need For Speed:MW
Unreal Tournament (Original)
Lineage 2 (in some cases)
Serious Sam 2

Games Fixed by #3
If the above fixes don't work
Lineage 2 (in some cases)
Warcraft 3
Call of Duty 1
HL2 Engine w/HDR enabled (Nvidia video cards)

Games/Benchmarks Fixed by #4
Aquamark3
3dMark2001
KOTOR/KOTOR II with Nvidia Beta 84.12 drivers

Last edited by kirbyrj; 03-11-2006 at 09:44 AM..
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #3  
Old 11-27-2005, 02:04 PM
Bona Fide 2[H]4U, 4.5 Years
 
Bona Fide is offline
Great job Kirby. Sticky!
__________________
Core 2 Duo E6550 | Asus P5K-E Deluxe | 4GB OCZ Gold EV DDR2-800 | eVGA 8800GTS 640MB
WD Caviar SE16 320GB & 500GB | Coolermaster Centurion 532 | Corsair 520HX 520W PSU | Samsung 206BW

Upgrades (to be completed 01/2010)
Intel Core i7 920 | ASRock X58 Extreme | 6GB G.Skill DDR3-1600 | Sapphire Radeon 5850

  #4  
Old 11-27-2005, 02:09 PM
NKDietrich 2[H]4U, 5.6 Years
 
NKDietrich is online now
STICKY! STICKY!
  #5  
Old 11-27-2005, 02:13 PM
JustinSane [H]ard|Gawd, 4.6 Years
 
JustinSane is offline
This was a much needed thread. Nicely done.

One question though. What does the AMD Driver do to WoW?
__________________
Abit IP35 Pro
Q6600 @ 3.4
XFX Radeon 5870 XXX
2x2 Patriot Extreme
Corsair 620
Creative Labs X-Fi
WD 500 gig 16mb cache
Vista x64 Ultimate
Dell 2005FPW
  #6  
Old 11-27-2005, 02:16 PM
NKDietrich 2[H]4U, 5.6 Years
 
NKDietrich is online now
Quote:
Originally Posted by JustinSane
This was a much needed thread. Nicely done.

One question though. What does the AMD Driver do to WoW?
It saves you from playing that awful awful waste of time!

<--Retired 60 Rogue + 60 Warrior
  #7  
Old 11-27-2005, 02:16 PM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
From what I've read, WoW doesn't respond well to the /usepmtimer. It creates a problem rather than fixes it.
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #8  
Old 11-27-2005, 03:11 PM
Strikemaster [H]ard|Gawd, 8.9 Years
 
Strikemaster is offline
Quote:
Originally Posted by kirbyrj
From what I've read, WoW doesn't respond well to the /usepmtimer. It creates a problem rather than fixes it.
Unreal Tournament (pre-2003/4) also reacts poorly to the AMD driver installation. #1 a no-go.

Goes from speedy stuttering to smooth as molasses. Cold, slushy molasses.

Item #3 (processor affinity) does the trick at the moment.
__________________
Your system stats mean nothing unless the machine DOES something.
Support a DC project, make the difference!

Distributed Computing callsigns: [H]Striker, Strikemaster

Windows Vista: XP with a push-up bra, lip gloss and PMS
  #9  
Old 11-27-2005, 03:13 PM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
Quote:
Originally Posted by Strikemaster
Unreal Tournament (pre-2003/4) also reacts poorly to the AMD driver installation. #1 a no-go.

Goes from speedy stuttering to smooth as molasses. Cold, slushy molasses.

Item #3 (processor affinity) does the trick at the moment.
Did the hotfix work with original UT? I have it around here somewhere and I might reinstall .
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #10  
Old 11-27-2005, 07:10 PM
Strikemaster [H]ard|Gawd, 8.9 Years
 
Strikemaster is offline
Quote:
Originally Posted by kirbyrj
Did the hotfix work with original UT? I have it around here somewhere and I might reinstall .
Currently testing the hotfix. So far, not bad. Then again, a clean load of XP usually runs UT fairly well on the X2 4400+ / A8N-SLI Deluxe combo, but the ability to run smoothly degrades over the uptime of the computer. I also run two instances of Folding@Home on this crate (to justify leaving it on 24/7 ).

UT is the premier "old school" FPS. Get it out, man, get it out!

__________________
Your system stats mean nothing unless the machine DOES something.
Support a DC project, make the difference!

Distributed Computing callsigns: [H]Striker, Strikemaster

Windows Vista: XP with a push-up bra, lip gloss and PMS
  #11  
Old 11-27-2005, 07:13 PM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
Quote:
Originally Posted by Strikemaster
Currently testing the hotfix. So far, not bad. Then again, a clean load of XP usually runs UT fairly well on the X2 4400+ / A8N-SLI Deluxe combo, but the ability to run smoothly degrades over the uptime of the computer. I also run two instances of Folding@Home on this crate (to justify leaving it on 24/7 ).

UT is the premier "old school" FPS. Get it out, man, get it out!

LOL...I'll add it to my list of games fixed by #3 . Let me know how the hotfix holds up with it.
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #12  
Old 11-27-2005, 07:21 PM
Bona Fide 2[H]4U, 4.5 Years
 
Bona Fide is offline
Games fixed with #1 : Morrowind, HL2, BF2

*Note : These are on a dual-core Opteron, not an X2. YMMV with an X2.
__________________
Core 2 Duo E6550 | Asus P5K-E Deluxe | 4GB OCZ Gold EV DDR2-800 | eVGA 8800GTS 640MB
WD Caviar SE16 320GB & 500GB | Coolermaster Centurion 532 | Corsair 520HX 520W PSU | Samsung 206BW

Upgrades (to be completed 01/2010)
Intel Core i7 920 | ASRock X58 Extreme | 6GB G.Skill DDR3-1600 | Sapphire Radeon 5850

  #13  
Old 11-27-2005, 07:32 PM
discochan [H]ard|Gawd, 4.4 Years
 
discochan is offline
Wow this thread could have saved me hours of headache a couple of months ago.

Thank you
__________________
Core i7 860 Lynnfield || ASUS P7P55D Evo
Sapphire 5870 || Allessandro MS-1 || Rega Ear
8 gb Corsair Dominator DDR3 1600 || WD Raptor 300 gb || Corsair CMPSU-750W
Coolermaster HAF || Windows 7 x64 || Logitech G5 || Samsung 2333SW || Razor Lycosa
  #14  
Old 11-27-2005, 09:35 PM
seanmcd [H]ard|Gawd, 7.1 Years
 
seanmcd is offline
I had to search for this stuff this weekend. I hadn't applied anything but the latest Nvidia drvers, and the new Need For Speed MW game played horribly. I eventually discovered that setting the affinity was a possible fix (i've had several SMP systems in the past) as well as using "Windows 2000 Compatibility" mode on the shortcut. I performed the #1-3 fixes Friday night and finally got NFS running perfect. I did come accross some confusion with the registry fix. Some people claimed that it SHOULD be set to ONE and not zero... I don't see a difference either way on my machine.
__________________
3rdoct.org Custom TF2 Server! (tf2.3rdoct.org)
GA-EP45-UD3R, E8600 @ 4.0Ghz, 4 gb Mushkin 996593, BFG GTX285OC, Antec P180, Corsair 650tx PSU, Asus Sata Burner, (2) WD740ADFD, (1) Seagate ST3750330AS (OSX86 10.5.7 and Win 7 7100)
  #15  
Old 11-27-2005, 10:03 PM
Strikemaster [H]ard|Gawd, 8.9 Years
 
Strikemaster is offline
Quote:
Originally Posted by seanmcd
I did come across some confusion with the registry fix. Some people claimed that it SHOULD be set to ONE and not zero... I don't see a difference either way on my machine.
The registry entry is to disable the hotfix, should you need to. Setting a zero disables it (as per the instructions from Microsoft.)

__________________
Your system stats mean nothing unless the machine DOES something.
Support a DC project, make the difference!

Distributed Computing callsigns: [H]Striker, Strikemaster

Windows Vista: XP with a push-up bra, lip gloss and PMS
  #16  
Old 11-27-2005, 10:05 PM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
Quote:
Originally Posted by Strikemaster
The registry entry is to disable the hotfix, should you need to. Setting a zero disables it (as per the instructions from Microsoft.)

beat me to it .
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #17  
Old 11-27-2005, 10:31 PM
seanmcd [H]ard|Gawd, 7.1 Years
 
seanmcd is offline
Quote:
Originally Posted by Strikemaster
The registry entry is to disable the hotfix, should you need to. Setting a zero disables it (as per the instructions from Microsoft.)
That's where the confusion steps in. The steps above would then indicate - install this hotfix, and then on the next step, make a change in the registry to effectively disable the previously installed hotfix...?
__________________
3rdoct.org Custom TF2 Server! (tf2.3rdoct.org)
GA-EP45-UD3R, E8600 @ 4.0Ghz, 4 gb Mushkin 996593, BFG GTX285OC, Antec P180, Corsair 650tx PSU, Asus Sata Burner, (2) WD740ADFD, (1) Seagate ST3750330AS (OSX86 10.5.7 and Win 7 7100)
  #18  
Old 11-28-2005, 12:09 AM
kirbyrj [H]ardForum Junkie, 5.0 Years
 
kirbyrj is online now
Quote:
Originally Posted by seanmcd
That's where the confusion steps in. The steps above would then indicate - install this hotfix, and then on the next step, make a change in the registry to effectively disable the previously installed hotfix...?
I'll change the wording a little to make it clearer...thanks for the input.
__________________
Q9550@3.8Ghz 1.3V Scythe Mugen 2
Asus P5Q Pro (Open Box)
4x2GB G.Skill DDR2 1066
Asus 4870 512mb
WD 640GB Black / 2x1TB Samsung F1 RAID 1
LG 32" 1080P 32LH30 / Dell ST2310
  #19  
Old 11-28-2005, 12:47 AM
hero123 [H]Lite, 4.5 Years
 
hero123 is offline
nice work mate, will most certainly fix alot of people's problems, well done.
  #20  
Old 11-28-2005, 12:54 AM
Unknown-One 2[H]4U, 4.9 Years
 
Unknown-One is offline
STICKY THIS!!!!11111
__________________
::Gaming Desktop: sAM2+ Deneb Phenom II X4 920 @ 3.4GHz // 6GB RAM // 1.3TB Total Drive Space // GeForce GTX 260::
::Media Center PC: sAM2 Brisbane Athlon X2 5600+ @ 2.8GHz // 4GB RAM // 5.0 TB Total Drive Space // GeForce 9600GT::
::Gaming Laptop: sS1 Taylor Turion 64 X2 TL52 @ 1.6GHz // 2GB RAM // 420GB Total Drive Space // GeForce Go 7600::
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:14 PM.


Valid XHTML 1.0 Transitional

Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2000 - 2009 KB Networks, Inc.