CauldronDevelopmentLLC / cbang

C! (cbang) is a library for cross-platform C++ development.
GNU Lesser General Public License v2.1
56 stars 39 forks source link

Win 11 home in vmware incorrect cpu count #134

Closed kbernhagen closed 10 months ago

kbernhagen commented 10 months ago

Fresh build of fah-client v8.2.4+ Windows 11 home VMware fusion player 13.5.0 on macOS 13.6.3, cpus set to 4

Client thinks cpu count is 1. SystemInfo::getCPUCount() may be broken for Win 11.

kbernhagen commented 10 months ago

In system perf utility, two cpus are shown.

Client sees all configured vmware cpus in Win 10 pro.

kbernhagen commented 10 months ago

This may be an issue with vmware + win 11 home. Searching the web, it seems people are manually editing the VMX file.

kbernhagen commented 10 months ago

Fixed by changing a line in VMX file:

cpuid.coresPerSocket = "4"

I think win11 home thought it had 2 sockets with one core each.