Code Monkey home page Code Monkey logo

Comments (12)

rcmaehl avatar rcmaehl commented on August 15, 2024

Are you running the application in the Hyper-V VM?

from whynotwin11.

 avatar commented on August 15, 2024

Maybe this will help:
Get-CimInstance Win32_Processor | Select-Object -Expand MaxClockSpeed

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

Maybe this will help:
Get-CimInstance Win32_Processor | Select-Object -Expand MaxClockSpeed

Pretty sure I'm already getting this value in Line 22 of \includes\WMIC.au3

from whynotwin11.

Anaerin avatar Anaerin commented on August 15, 2024

I'm not running it in a Hyper-V VM, but because of the way Hyper-V works, the "Host" OS is still a Guest, albeit one with a lot more access.

And for reference:

PS C:\WINDOWS\system32> Get-CimInstance Win32_Processor | Select-Object -Expand MaxClockSpeed
801
PS C:\WINDOWS\system32> Get-CimInstance Win32_Processor

DeviceID Name                                     Caption                              MaxClockSpeed SocketDesignation
-------- ----                                     -------                              ------------- -----------------
CPU0     Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz Intel64 Family 6 Model 60 Stepping 3 801           SOCKET 1150


PS C:\WINDOWS\system32>

The reason I mentioned Hyper-V is: https://www.hanselman.com/blog/windows-task-manager-shows-wrong-cpu-speed-when-using-hyperv

Apparently there's a "Fix": https://docs.microsoft.com/en-US/troubleshoot/windows-client/performance/task-manager-shows-incorrect-cpu-speed - Use the "\Hyper-V Hypervisor Logical Processor\Frequency" performance counter.

from whynotwin11.

 avatar commented on August 15, 2024

Hypervisor detection:
Get-CimInstance Win32_ComputerSystem | Select-Object -Expand HypervisorPresent
https://devblogs.microsoft.com/scripting/use-powershell-to-detect-if-hypervisor-is-present/

from whynotwin11.

mooms06 avatar mooms06 commented on August 15, 2024

Maybe this will help:
Get-CimInstance Win32_Processor | Select-Object -Expand MaxClockSpeed

This incorrectly detect 2101 MHz, my CPU can reach 4.8 GHz

image

image

from whynotwin11.

 avatar commented on August 15, 2024

Spent a bit of time looking for a good solution to this and pretty sure there isn't one.
Removing the CPU Frequency check is probably fine, nobody legitimately fails it, all the complaints are either because the printed number is wrong or because of virtualisation. The CPU Compatibility check indirectly covers it anyway.

from whynotwin11.

mooms06 avatar mooms06 commented on August 15, 2024

Maybe
https://www.dell.com/community/Rack-Servers/Wmic-command-to-get-cpu-current-clock-speed-is-same/td-p/6108886

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

Maybe
https://www.dell.com/community/Rack-Servers/Wmic-command-to-get-cpu-current-clock-speed-is-same/td-p/6108886

Nope

from whynotwin11.

rcmaehl avatar rcmaehl commented on August 15, 2024

What I'll do is grab the @ from the CPU string and report that if there's a discrepancy. Although this will only work for Intel CPUs

from whynotwin11.

mooms06 avatar mooms06 commented on August 15, 2024

What I'll do is grab the @ from the CPU string and report that if there's a discrepancy. Although this will only work for Intel CPUs

And only for non overclocked CPU. Look at mine, it report 2.10 GHZ, it actually runs between 800-4800 MHz.

from whynotwin11.

micwoj92 avatar micwoj92 commented on August 15, 2024

In my opinion only stock speeds should be supported, sure, you can oc many cpus to 5ghz but have fun trying to run that.

from whynotwin11.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.