Bug: Win 7 x64 compatibility mode makes program run on only one core

Seraiel

New member
Local time
5:46 PM
Messages
8
Hi...

I have a problem when trying to run a certain program in compatibiility mode. Whichever compatibility mode I use (tested Win XP SP2+3 and Win 7 compatibility mode) , it makes the program only use 1 of 8 cores (4 with HT) . When I run the program normally, so without compatibility mode, it uses all cores, but then the process remains in the task-explorer forcing me to manually remove it, if I want to re-start the program without rebooting.
I've googled compatibility mode Windows 7 and program only using one core but didn't find anything, which is why I ask for help.

Seraiel
 

My Computer

Computer type
Laptop
OS
Win 7 Pro x64
Is this an older program? I'm confused why it would run properly on all cores but be stuck in the task manager like that. Which program is it?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Mellon Labs (custom build)
OS
Win 7 Pro x64/Win 10 Pro x64 dual boot
CPU
AMD FX 8350 Vishera @ 4200
Motherboard
ASUS M5A97 R2.0
Memory
16 GB Mushkin Blackline DDR3-2400 @ 1866 (9-10-10-10-31)
Graphics Card(s)
XFX Radeon R9 280 Double D Black Edition
Sound Card
Realtek HD Audio on MB. Sounds great.
Monitor(s) Displays
Acer 24", Acer 22"
Screen Resolution
3840 x 1080
Hard Drives
1 x Mushkin Chronos 120 GB SSD (Win 10)
1 x Samsung 850 EVO 250 GB SSD (Win 7)
1 x WD 1TB SATA Blue
1 x WD 1TB SATA Green
PSU
Corsair TX-750
Case
CoolerMaster HAF 912+
Cooling
Coolermaster Seidon 240M Liquid AIO. 6 case fans
Keyboard
Logitech G710+
Mouse
Logitech G500s
Internet Speed
Much better since I got fiber, but still way overpriced.
Antivirus
MSE, Malware Bytes for scanning
Browser
Firefox
Other Info
Corsair VOID USB headphones.

A Mellon Labs X-1 - LCD Smartie driven system status display.

Brought to you by the letter E
The program is Civilization 4 - Beyond the Sword. That game is many years old, but it's still the (imo.) best game of the whole TBS-genre.
 

My Computer

Computer type
Laptop
OS
Win 7 Pro x64

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway DX4831-01e (Mid-Tower Desktop)
OS
Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
CPU
Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors
Motherboard
Gateway H57M01 133 megahertz
Memory
6GB of 1,333MHz DDR3 SDRAM
Graphics Card(s)
32MB Intel Graphics Media Accelerator HD IGChip
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Gateway HX2000 20inch TFT active matrix TN
Screen Resolution
1600 x 900 x 59 hertz
Hard Drives
WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
Four card readers, and Four USB 2.0
PSU
300watts.
Case
Mid-Tower Desktop
Cooling
Stock from Gateway
Keyboard
Natural Ergonomic Keyboard 4000, see Other Info
Mouse
Orig. Gateway wore out now using Insignia USB wired optical
Internet Speed
Vz FIOS 10ms png 57.64Mbps down 65.53Mbps up Speedtest.org
Antivirus
Zamana Anti-logger with Anti-malware, MSE, Windows Firewall,
Browser
IE11.0.9600.19399-Upd ver11.0.135, Firefox 68.0.1 x64
Other Info
System Specs by Belarc.

BIOS: American Megatrends Inc. P01-A0 11/17/2009

Replaced the MS 'Natural' Standard PS/2 Enhanced 101-102 Keyboard with a new Natural Ergonomic Keyboard 4000 on August 1st 2014.

Canon Pixma MG3222 Printer.

Updated to IE11 on 12102015 | Fios Quantum Router g1100

Additional AV: SpywareBlaster, manual Mbam, SAS
  • #7, I'd still check the settings for users, C4-BtS was designed for more than one core.
Actually, Civ4-BTS is single threaded, however, using a multicore machine allows Windows to use more cores for housekeeping, freeing up the Civ4 core for the game. I've done extensive testing for my mod and found this to be the case. Civ4 will only use one core.

The program is Civilization 4 - Beyond the Sword. That game is many years old, but it's still the (imo.) best game of the whole TBS-genre.
You're right, it is the best TBS game ever. :D

I'm curious why your game would stay in the task manager and that you have to end it manually. I never have this problem. My computer lets go of Civ as soon as I end it.

I know that you play a lot of HOF games, I wonder if it could be something with BUFFY? Or does this happen in standard BTS?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Mellon Labs (custom build)
OS
Win 7 Pro x64/Win 10 Pro x64 dual boot
CPU
AMD FX 8350 Vishera @ 4200
Motherboard
ASUS M5A97 R2.0
Memory
16 GB Mushkin Blackline DDR3-2400 @ 1866 (9-10-10-10-31)
Graphics Card(s)
XFX Radeon R9 280 Double D Black Edition
Sound Card
Realtek HD Audio on MB. Sounds great.
Monitor(s) Displays
Acer 24", Acer 22"
Screen Resolution
3840 x 1080
Hard Drives
1 x Mushkin Chronos 120 GB SSD (Win 10)
1 x Samsung 850 EVO 250 GB SSD (Win 7)
1 x WD 1TB SATA Blue
1 x WD 1TB SATA Green
PSU
Corsair TX-750
Case
CoolerMaster HAF 912+
Cooling
Coolermaster Seidon 240M Liquid AIO. 6 case fans
Keyboard
Logitech G710+
Mouse
Logitech G500s
Internet Speed
Much better since I got fiber, but still way overpriced.
Antivirus
MSE, Malware Bytes for scanning
Browser
Firefox
Other Info
Corsair VOID USB headphones.

A Mellon Labs X-1 - LCD Smartie driven system status display.

Brought to you by the letter E
Thanks for the clarification MH.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway DX4831-01e (Mid-Tower Desktop)
OS
Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
CPU
Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors
Motherboard
Gateway H57M01 133 megahertz
Memory
6GB of 1,333MHz DDR3 SDRAM
Graphics Card(s)
32MB Intel Graphics Media Accelerator HD IGChip
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Gateway HX2000 20inch TFT active matrix TN
Screen Resolution
1600 x 900 x 59 hertz
Hard Drives
WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
Four card readers, and Four USB 2.0
PSU
300watts.
Case
Mid-Tower Desktop
Cooling
Stock from Gateway
Keyboard
Natural Ergonomic Keyboard 4000, see Other Info
Mouse
Orig. Gateway wore out now using Insignia USB wired optical
Internet Speed
Vz FIOS 10ms png 57.64Mbps down 65.53Mbps up Speedtest.org
Antivirus
Zamana Anti-logger with Anti-malware, MSE, Windows Firewall,
Browser
IE11.0.9600.19399-Upd ver11.0.135, Firefox 68.0.1 x64
Other Info
System Specs by Belarc.

BIOS: American Megatrends Inc. P01-A0 11/17/2009

Replaced the MS 'Natural' Standard PS/2 Enhanced 101-102 Keyboard with a new Natural Ergonomic Keyboard 4000 on August 1st 2014.

Canon Pixma MG3222 Printer.

Updated to IE11 on 12102015 | Fios Quantum Router g1100

Additional AV: SpywareBlaster, manual Mbam, SAS
This is one approach for Fallout3 to run, but it may be of some help, see if the steps look familiar especially:

  • #6, the affinity setting

  • #7, I'd still check the settings for users, C4-BtS was designed for more than one core.

  • And #8's suggestions.
https://Getting Fallout 3 to run on Windows 7 - 64 Bit | steamcommunity.com


Here's a reddit discussion: How Civilization V was built for multi-core processors

Thx, but I cannot change anything about the game process, because I play competetively and need to use a mod, that disallows any alteration towards the game.


  • #7, I'd still check the settings for users, C4-BtS was designed for more than one core.
Actually, Civ4-BTS is single threaded, however, using a multicore machine allows Windows to use more cores for housekeeping, freeing up the Civ4 core for the game. I've done extensive testing for my mod and found this to be the case. Civ4 will only use one core.

The program is Civilization 4 - Beyond the Sword. That game is many years old, but it's still the (imo.) best game of the whole TBS-genre.
You're right, it is the best TBS game ever. :D

I'm curious why your game would stay in the task manager and that you have to end it manually. I never have this problem. My computer lets go of Civ as soon as I end it.

I know that you play a lot of HOF games, I wonder if it could be something with BUFFY? Or does this happen in standard BTS?

I also thought it would be single threaded, but when I run CIV normally, so Win 7 x64, no compatibility mode, all cores are used at about the same %. When I use compatibility mode, 7 cores are quiet and one is at 100%. To me, this actually doesn't look, like it were really single threaded. I know, the game is very old, but maybe Win 7 x64 and higher simply have sort of a trick to divert the handles of a game towards multiple cores.

And interestingly, the problem with the process not getting removed out of the task-manager isn't a 100% bug anymore. It was at first, but the last 3 times I exited CIV, it properly shut down.

Btw.: Nice to see other players from CFC being active here aswell :) .
 

My Computer

Computer type
Laptop
OS
Win 7 Pro x64
I am guessing that setting the compatibility mode either directly or indirectly is setting CPU affinity to 1 core. Many of the details of what the compatibility modes do are not officially documented. When XP was released there were no multi core CPUs for the PC market and multiple CPUs were generally limited to servers and high end workstations. Some applications of that era, and newer as well, have issues on multi core systems. Restricting affinity is not an unreasonable thing to do in such cases. Windows makes accommodations for applications with known issues and that may play a part as well.

I know this is a lot of guessing but many of of this is undocumented and that is all we have.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
I also thought it would be single threaded, but when I run CIV normally, so Win 7 x64, no compatibility mode, all cores are used at about the same %. When I use compatibility mode, 7 cores are quiet and one is at 100%. To me, this actually doesn't look, like it were really single threaded. I know, the game is very old, but maybe Win 7 x64 and higher simply have sort of a trick to divert the handles of a game towards multiple cores.
Ok. I did some testing with BAT 5.0 (not released yet). As you know, BAT has almost the same CvGameCore.DLL as BUFFY, but it's more memory intensive. That's why I used it.

Anyway, I found that with my 8 core CPU, one core really jumps up (to about 70%) when in run BTS in normal mode, and goes to zero when I ALT-TAB out of the game. The other cores behave normally, and seem to run independently of the single core which shows activity with BTS. One thing... a second core shows significantly increased activity once the game begins to run, that is after the save is loaded. I used a large save, from 2008 game time, and there are lots of units in play. I don't think this core is running the game, but is picking up the normal processes from the PC that are no longer being used on the core that is running BTS.

On the other hand... you may be right. Win 7 x64 might be dividing the workload among cores. That second core dramatically drops in activity when ALT-Tabbing out of the game. Then again, it could be this stupid CPU of mine not being a real 8 core, and the virtual core might be shadowing the real core. Note that I only have two cores with really significant activity, the others are idling during play. I'm not convinced that Civ4 is actually multithreaded.

Note that I can't get BTS to run in compatibility mode. It fails on start up.


Btw.: Nice to see other players from CFC being active here aswell :) .
Of course it is. Quality people are everywhere. :p
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Mellon Labs (custom build)
OS
Win 7 Pro x64/Win 10 Pro x64 dual boot
CPU
AMD FX 8350 Vishera @ 4200
Motherboard
ASUS M5A97 R2.0
Memory
16 GB Mushkin Blackline DDR3-2400 @ 1866 (9-10-10-10-31)
Graphics Card(s)
XFX Radeon R9 280 Double D Black Edition
Sound Card
Realtek HD Audio on MB. Sounds great.
Monitor(s) Displays
Acer 24", Acer 22"
Screen Resolution
3840 x 1080
Hard Drives
1 x Mushkin Chronos 120 GB SSD (Win 10)
1 x Samsung 850 EVO 250 GB SSD (Win 7)
1 x WD 1TB SATA Blue
1 x WD 1TB SATA Green
PSU
Corsair TX-750
Case
CoolerMaster HAF 912+
Cooling
Coolermaster Seidon 240M Liquid AIO. 6 case fans
Keyboard
Logitech G710+
Mouse
Logitech G500s
Internet Speed
Much better since I got fiber, but still way overpriced.
Antivirus
MSE, Malware Bytes for scanning
Browser
Firefox
Other Info
Corsair VOID USB headphones.

A Mellon Labs X-1 - LCD Smartie driven system status display.

Brought to you by the letter E
Back
Top