Jump to content

2,031 posts in this topic

Recommended Posts

1 hour ago, vector sigma said:

mine looks good:

 

Which doesn't mean, that there is no bug somewhere.

Edited by holyfield

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, vector sigma said:

IO Accelerator->PerformanceStatistics

 

What exactly is generating these values on macOS (Catalina)? 

  • SMIMonitor.kext
  • ITEIT87x.kext
  • IntelCPUMonitor.kext
  • FakeSMC.kext
  • ACPIMonitor.kext

Share this post


Link to post
Share on other sites
22 minutes ago, holyfield said:

 

Which doesn't mean, that there is no bug somewhere.

I cannot be sure of that honestly, but:

14 minutes ago, holyfield said:

 

What exactly is generating these values on macOS (Catalina)? 

  • SMIMonitor.kext
  • ITEIT87x.kext
  • IntelCPUMonitor.kext
  • FakeSMC.kext
  • ACPIMonitor.kext

none of them. just mac OS vanilla drivers. Values published by the drivers .... has no calculations that can be misscalculated, it is just a read.

 

I'll be happy to see a ioreg from your system.

Edited by vector sigma

Share this post


Link to post
Share on other sites
On 12/15/2019 at 6:27 PM, vector sigma said:

I cannot be sure of that honestly, but:

none of them. just mac OS vanilla drivers. Values published by the drivers .... has no calculations that can be misscalculated, it is just a read.

 

I'll be happy to see a ioreg from your system.

 

Thank you vector sigma!

 

After digging deeper we figured out that original iMac (iMac19.1) has 4GB of shared memory (with 8GB of RAM). The known argument that maOS can have only up to 2GB of shared memory is an invalid myth. Value ~7GB shown in my system is actually correct has I have installed 64GB of memory.

 

 

Share this post


Link to post
Share on other sites
28 minutes ago, holyfield said:

After digging deeper we figured out that original iMac (iMac19.1) has 4GB

Yep, 4.29 GB in the vanilla ioreg We saw. Apple also state that memory can be dynamically allocated, so this also depend by the workload. However this appear to be true for newer IGPU than my HD 4000. Another things that we must to say, is that all this get measured by the Open GL/Metal drivers shipped with the OS.

Edited by vector sigma

Share this post


Link to post
Share on other sites

Hi everyone! Happy 2020.

I found out that recently Intel Power Gadget updated to v3.6.2, in the usual Intel's page.

Has anyone noticed any incompatibilities or hiccups?

There is no changelog posted.

I have just updated to this version and with HWMonitorSMC2 v2.5.0 it seems to work just fine.

Thanks

Edited by MacKonsti

Share this post


Link to post
Share on other sites
23 hours ago, MacKonsti said:

Hi everyone! Happy 2020.

I found out that recently Intel Power Gadget updated to v3.6.2, in the usual Intel's page.

Has anyone noticed any incompatibilities or hiccups?

There is no changelog posted.

I have just updated to this version and with HWMonitorSMC2 v2.5.0 it seems to work just fine.

Thanks

Yes, hwmonitorsmc2 v2.5.0, which shows the data perfectly all the time. Thank you very good vector Sigma!

Edited by jinbingmao

Share this post


Link to post
Share on other sites

Hi everyone!

 

I've got this line below with FakeSMC v3.5.3 (no plugins installed) on macOS 10.15.3 Beta 2

 

(AppleSMCLMU) AppleLMUController::smcReadKey Error: received error 0x84 when reading key 'MSLD'

 

Share this post


Link to post
Share on other sites
23 minutes ago, Matgen84 said:

Hi everyone!

 

I've got this line below with FakeSMC v3.5.3 (no plugins installed) on macOS 10.15.3 Beta 2

 


(AppleSMCLMU) AppleLMUController::smcReadKey Error: received error 0x84 when reading key 'MSLD'

 

No plugins - no MSLD.

The key can be produced by VoodooBatterySMC or manually by ACPImonitor or just add constant into FakeSMC Info.plist like LID is always opened.

Share this post


Link to post
Share on other sites
On 1/16/2020 at 7:06 PM, Andres ZeroCross said:

@vector sigma some sensor in CPU Section is missing with Intel Power Gadget 3.7.0. Maybe need new update for HWMonitorSMC2 :)
Thanks you

Test it: HWMonitorSMC2.app_2.5.1_IPG3.7.zip. This version doesn't like IntelPowerGadget.app to be opened at same time, and vice versa, because the code is set to use the PMU functionality provided:

 

/*@function PG_UsePMU
* @abstract Enable or disable the use of the Performance Monitoring Unit (PMU) by the Power Gadget library.
* @discussion Enabling the use of the PMU by the Power Gadget Library allows for ReadSample to collect higher accuracy data with lower overhead; however, this also prevents the use of the PMU by other software. Disabling the use of the PMU by the Power Gadget library will enable compatibility with other software that uses the PMU.
* @param iPackage Index of Intel processor package to query. Must be less than the value from PG_GetNumPackages.
* @param flag Set to true to enable the use of the PMU, and false to disable.
* @result True on success, false on failure. */
bool PG_UsePMU(int iPackage, bool flag);

P.S. tomorrow I'll add sensors from VirtualSMC but now I need to go to bed because I've the flu:help:

 

EDIT

bugs maybe present as I've just finished writing the code.

Edited by vector sigma

Share this post


Link to post
Share on other sites
5 minutes ago, vector sigma said:

 

Pay attention to rest and take good care of yourself. Thank you

Edited by jinbingmao

Share this post


Link to post
Share on other sites
1 hour ago, vector sigma said:

Test it: HWMonitorSMC2.app_2.5.1_IPG3.7.zip. This version doesn't like IntelPowerGadget.app to be opened at same time, and vice versa, because the code is set to use the PMU functionality provided:

 


/*@function PG_UsePMU
* @abstract Enable or disable the use of the Performance Monitoring Unit (PMU) by the Power Gadget library.
* @discussion Enabling the use of the PMU by the Power Gadget Library allows for ReadSample to collect higher accuracy data with lower overhead; however, this also prevents the use of the PMU by other software. Disabling the use of the PMU by the Power Gadget library will enable compatibility with other software that uses the PMU.
* @param iPackage Index of Intel processor package to query. Must be less than the value from PG_GetNumPackages.
* @param flag Set to true to enable the use of the PMU, and false to disable.
* @result True on success, false on failure. */
bool PG_UsePMU(int iPackage, bool flag);

P.S. tomorrow I'll add sensors from VirtualSMC but now I need to go to bed because I've the flu:help:

 

EDIT

bugs maybe present as I've just finished writing the code.


It's look better

 image.thumb.png.79c2ae01a9ef4939020e639c668c254e.png

Share this post


Link to post
Share on other sites
21 hours ago, vector sigma said:

Test it: HWMonitorSMC2.app_2.5.1_IPG3.7.zip. This version doesn't like IntelPowerGadget.app to be opened at same time, and vice versa, because the code is set to use the PMU functionality provided

P.S. tomorrow I'll add sensors from VirtualSMC but now I need to go to bed because I've the flu:help:

EDIT

bugs maybe present as I've just finished writing the code.

 

Hope you are feeling better @vector sigma!

I too, confirm that using IPG v3.7.0 with 2.5.1beta on Mojave latest, the readings are back especially the cores now I see 8 (4x2 threads) instead of just the cores.

I run IPG all the time and seems 2.5.1 shared here, works well with both open and in parallel.

When I quit IPG 3.7.0, I get no frequency readings at all in HWMonitorSMC2.

Looking forward to the final release. Thank you again.

Edited by MacKonsti

Share this post


Link to post
Share on other sites
On 1/16/2020 at 3:53 PM, Slice said:

No plugins - no MSLD.

The key can be produced by VoodooBatterySMC or manually by ACPImonitor or just add constant into FakeSMC Info.plist like LID is always opened.

 

Thanks.

 

@Slice I don't understand why this error from Catalina:

 

(AppleSMCLMU) AppleLMUController::smcReadKey Error: received error 0x84 when reading key 'MSLD'

Because I've a Desktop using Imac19,1 SMBIOS, not a Laptop.

Share this post


Link to post
Share on other sites
20 hours ago, vector sigma said:

Test it: HWMonitorSMC2.app_2.5.1_IPG3.7.zip. This version doesn't like IntelPowerGadget.app to be opened at same time, and vice versa, because the code is set to use the PMU functionality provided:...

Hm... If I start and stop IGP, the HWMonitorSMC2 shows me the Temp&Freq of CPU equal 0. I don't use Clover&Fake - OC and VSMC only.

Share this post


Link to post
Share on other sites
1 minute ago, losinka said:

Sorry, I don't saw/understood. Can you say again please?

 

23 hours ago, vector sigma said:

Test it: HWMonitorSMC2.app_2.5.1_IPG3.7.zip. This version doesn't like IntelPowerGadget.app to be opened at same time, and vice versa, because the code is set to use the PMU functionality provided:

 


/*@function PG_UsePMU
* @abstract Enable or disable the use of the Performance Monitoring Unit (PMU) by the Power Gadget library.
* @discussion Enabling the use of the PMU by the Power Gadget Library allows for ReadSample to collect higher accuracy data with lower overhead; however, this also prevents the use of the PMU by other software. Disabling the use of the PMU by the Power Gadget library will enable compatibility with other software that uses the PMU.
* @param iPackage Index of Intel processor package to query. Must be less than the value from PG_GetNumPackages.
* @param flag Set to true to enable the use of the PMU, and false to disable.
* @result True on success, false on failure. */
bool PG_UsePMU(int iPackage, bool flag);

P.S. tomorrow I'll add sensors from VirtualSMC but now I need to go to bed because I've the flu:help:

 

EDIT

bugs maybe present as I've just finished writing the code.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Slice
      Guys,
      Don't mix 6.18 and 3.41.
       
      There are three different projects for monitoring temperatures, voltages, fans speed and other hardware parameters:
      Initially it was FakeSMC with plugins for producing SMC keys for hardware parameters for different hardware. But sometimes ago Kozlek separated own version of FakeSMC and producing new set of plugins while I stay with good working version 3. So..
      1. FakeSMC v3 with Hardware Sensors3  which I still supported.
      2. FakeSMC v6 (rev1800) by Kozlek and supported by Rehabman. AFAIK both are abandoned and the project is not supported. Or may be maintained by coauthors.
      3. New VirtualSMC by vit9696 with own set of sensors kexts. It depends on Lilu.kext. The project is in active development.
      All three project have incompatible interfaces sensors<->SMC so they are incompatible with each other.
       
      There are applications for monitoring hardware parameters and they commonly depends on these projects.
      1. iStat, iStatMenu, iStatPro compatible with real Macs because they use SMC keys just like those presents in real Macs.
      2. HWMonitorSMC by Navi (initial codes from Kozlek)  used in my HWSensors3.
      3. HWMonitor by Kozlek with graphics like in IntelPowerGadget used in his HWSensors version.
      4. HWMonitorSMC2 by Vector_Sigma tends to be universal supporting all project. It also may use sensors information produces by Apple graphics and by IntelPowerGadget.
       
      Let us discuss here differences and common ideas for this projects.
       
    • By Slice
      This thread devoted to share information about different SMC keys found or investigated anywhere.
       
      What are they?
      SMC keys is a somehow language to speak between macOS and hardware microcontroller presented in real Mac and absent in Hackintosh.
      They inform macOS about Hardware ID and current status. Moreover macOS can write something through SMC protocol to control hardware.
      FakeSMC ( ©Netkas) is the driver to emulate this microcontroller on PC having no such device which is necessary to boot macOS here.
      But FakeSMC contain only ~20 keys while real Mac answers ~200 keys.
      Some keys we added by HWSensors project reporting temperatures, FAN speeds, voltages etc.
      Some keys are model dependent was added by Clover to be sure if user changed model in GUI then corresponding keys will be changed automatically.
      Clover sets
      LogDataHub(&gEfiMiscSubClassGuid, L"RPlt", &gSettings.RPlt, 8);
      LogDataHub(&gEfiMiscSubClassGuid, L"RBr", &gSettings.RBr, 8);
      LogDataHub(&gEfiMiscSubClassGuid, L"EPCI", &gSettings.EPCI, 4);
      LogDataHub(&gEfiMiscSubClassGuid, L"REV", &gSettings.REV, 6);
      LogDataHub(&gEfiMiscSubClassGuid, L"BEMB", &gSettings.Mobile, 1);
      BEMB - is a mobility sign. =0 -desktop, =1 - mobile.
      REV - SMC hardware revision, changes sometimes with Apple updates.
      RPlt, RBr and EPCI is hardware capabilities, noticed used in Intel HD drivers.
       
      Structure.
      All SMC keys consists of name 4 ascii chars as 32bit integer, type and value.
      Types:
       "flag", len 1
       "ui8 ", len 1
       "ui16", len 2
       "sp78", len 2
       "ui32", len 4
      "fp2e", len 2
      "fpe2", len 2
      "{rev", and others...
       
      List of known keys
      SMC_list.plist.zip
      More keys will be discussed in the thread
       
       
      Feel free to share you knowledge and ask about noticed keys.
×