Amd power gadget mac os

Amd power gadget mac os

XNU kernel extension for power management and monitoring of AMD processors. Also comes with a plugin for VirtualSMC to export readings to other applications.

Please note that this release is at very initial stage of development, make sure you have a proper backup of your EFI folder and never run on any system that matters.

SMCAMDProcessor now comes in two separate binaries(kernel extensions):

  • AMDRyzenCPUPowerManagement.kext for all power management features. This kext is also required if you would like to use AMD Power Gadget.
  • SMCAMDProcessor.kext to publish readings to VirtualSMC, which enables macOS applications like iStat to display sensor data. This kext depends on AMDRyzenCPUPowerManagement.kext to collect sensor data, thus must be loaded after.
  1. Download the kext(s) and application from Release page
  2. Add AMDRyzenCPUPowerManagement.kext to kext folder of your bootloader.
  3. Edit your bootloader’s config file to make sure the kext is enabled.
  4. If you’re using VirtualSMC you can also load SMCAMDProcessor.kext to publish sensor data.
  5. Bootloaders like OpenCore will link each kext in the order they present in config file, so make sure AMDRyzenCPUPowerManagement.kext comes before SMCAMDProcessor.kext as it serves as a dependency.
  • CPU power management for AMD Zen processors.
  • Supports for reading of temperature, energy and frequency data on AMD Zen Processors.
  • Manual switching of processor speed.
  • PState editing.

AMD Power Gadget

Since the release 0.3.1, you can now edit your CPU PState using AMD Power Tool.

To access PState editor:

  1. Open AMD Power Tool
  2. Go to ‘Speed’ tab
  3. Click ‘Advanced Options’

Due to the amount of request an experimental feature for reading and overriding fan speed is out!

You can access this menu from menu bar «Open -> SMC Fans» or the button in Power Tool. Currently only a limited amount of SMC controllers are supported.

  • Incorrect PState setting can potentially cause permanent damage to your computer hardware.
  • For safety concern, this function was limited to root user only. You can either launch AMD Power Gadget with root user or use -amdpnopchk to disable this check.

If you like this project, please consider supporting it via:

Buy me a coffee(or a Zen 3 processsor 😝 ).

Opening up an issue if you encountered any problem or want to make suggestions.

or if you’re a coding person, feel free to submit any pull request or just DM me on Discord.

  • aluveitie for various enhancements and fixes.
  • mauricelos for IT86XXE SMC chip driver.
  • necross2 for adding support to temperature sensor offset.
  • Shaneee for the beautiful icon.

I am still fairly new to macOS kernel development, this software project was initally a hobby project, and it still is, to get some reading on my newly built AMD hackintosh computer.

With that being said, please bear with some of the spaghetti and not-idiomatic codes. Any criticism is much welcomed 🙂

About

Power management, monitoring and VirtualSMC plugin for AMD processors

Источник

Amd power gadget mac os

trulyspinach released this Jul 30, 2021

KEXTs

  • A better temperature sampling method for a smoother curve over time.
  • Various bug and stability fixes.

AMD Power Gadget

  • Many bug fixes and improvement.
  • Display basic metric data in menu bar:
    this is enabled by default, to turn it off: Click on the menu bar item to launch AMD Power Gadget, then select Appearance -> Show metrics in menu bar to toggle the display.

Notes

  • If you encountered problems with the SMCAMDProcessor.kext included in this release. Please load the one from previous release instead. The previous version of SMCAMDProcessor.kext should be compatible with 0.7. See #138 for more information.

trulyspinach released this Nov 20, 2020

KEXTs

  • Processor frequency now update correctly after waking up from sleep.
  • AMDRyzenCPUPowerManagement no longer refuse to load on Zen 3 CPUs.
    • Support for all Zen 3 models are not confirmed as AMD have not yet released their documentation for the platform. If you are having problems with Zen 3 please open up a new issue.
Читайте также:  Задать как лимитное подключение windows 10 что это такое

AMD Power Gadget

  • Power Tool now refresh correctly after hidden and reappear.

Notes:

  • SMCAMDProcessor.kext have no new changes since last release and thus was not included. You can still download the latest version from previous release.

trulyspinach released this Sep 3, 2020

KEXTs

  • Fixes issues in symbol resolving that cause panic in Big Sur.

Notes:

  • SMCAMDProcessor.kext have no new changes since last release and thus was not included. You can still download the latest version from the most recent previous release.

Known issues

* Sliders in fan control panel might not display correctly.
Workaround: you can still drag at the correct position of sliders on each row to adjust fan speed.
This was fixed since Big Sur beta 8.

trulyspinach released this May 27, 2020

The experimental fan speed control was included in this release. At current stage only a very limited set of controllers are supported. You can open fan control menu to find out what SMC chip you have or whether your board is supported.
Please refer to this(#66) discussion for more updates or request for support.

KEXTs

  • Added fan control support for some IT86XXE Family SuperIO SMC devices.

AMD Power Gadget

  • Added new translucent appearance that can be switched from menu bar.
  • Fixes a crash when no GPU was detected on the system.

trulyspinach released this May 18, 2020

The experimental fan speed control was included in this release. At current stage only a very limited set of controllers are supported. You can open fan control menu to find out what SMC chip you have or whether your board is supported.
Please refer to this(#66) discussion for more updates or request for support.

KEXTs

AMD Power Gadget

trulyspinach released this May 17, 2020

The experimental fan speed control was included in this release. At current stage only a very limited set of controllers are supported. You can open fan control menu to find out what SMC chip you have or whether your board is supported.
Please refer to this(#66) discussion for more updates or request for support.

KEXTs

  • Added fan control support for NCT67XX Family SuperIO SMC devices.

AMD Power Gadget

  • Added max line in CPU frequency graph
  • Fixes crash when «Cancel» was selected during export of PState file
  • Added menu for reading and adjusting fan speed.

trulyspinach released this May 6, 2020

This new release contains many bug fixes.

KEXTs

  • System will no longer panic when SMT is disabled or not supported

AMD Power Gadget

  • Minor adjustments, typo fixes in UI elements.

trulyspinach released this Apr 2, 2020

This new release contains important changes.
Please read carefully before you proceed.

SMCAMDProcessor now comes in two separate binaries(kernel extensions) to allow the use of standalone features without VirtualSMC as a dependency. Please refer to the installation section in README for more instructions on upgrading.

Источник

Intel® Power Gadget

Last Updated: 05/02/2019

Download

Development Team

  • Windows*: Joe Olivas, Timo Kleimola, Mark Price, Timothy McKay
  • MacOS*: Patrick Konsor

Previous Contributors

  • Windows*: Seung-Woo Kim, Karthik Krishnan, Vardhan Dugar, Joseph Jin-Sung Lee, Jun De Vega

Introduction

Intel® Power Gadget is a software-based power usage monitoring tool enabled for Intel® Core™ processors (from 2nd Generation up to 10th Generation Intel® Core™ processors). Intel® Atom™ processors are not supported. It is supported on Windows* and macOS* and includes an application, driver, and libraries to monitor and estimate real-time processor package power information in watts using the energy counters in the processor. With this release, we are providing functionality to evaluate power information on various platforms including notebooks, desktops and servers. Windows 7* and 32-bit versions of the Intel® Power Gadget for Windows* has ceased development from 3.0.7. Starting with version 3.5 and going forward, only the 64-bit version and Windows 8* will be supported.

Background

Traditional methods to estimate power/energy usage of the processor has always been a cumbersome task that included special purpose tools or instrumentation on the platform along with third party equipment. The motivation for the tool was to assist end-users, ISV’s, OEM’s, developers, and others interested in a more precise estimation of power from a software level without any H/W instrumentation.

New Features

In version 3.0 there are additional features that include estimation of power on multi-socket systems as well as externally callable APIs to extract power information within sections of code. The multi-socket support essentially evaluates the Energy MSR on a per-socket basis and provides an estimate of power draw per socket. The API layer is a set of libraries and dlls that can be called and offers the flexibility to build the tool within code sections of an application. Latest release also includes support for Windows 10*.

Читайте также:  Обзор от intel windows 10

Brief Description (Windows*)

Intel® Power Gadget 3.5 consists of the following components. Set of driver and libraries which access and post process the processor energy counter to calculate the power usage in Watts, temperate in Celsius and frequency in GHz (default install directory will be

Program FilesIntelPower Gadget 3.5). A command line version of the tool (PowerLog3.0.exe) is also included

System Requirements (Windows*)

  • Windows 8*
  • Windows 10*
  • Windows Server 2008, Windows Server 2012
  • Microsoft .NET* Framework 4
  • Microsoft Visual C++ 2017 Redistributable package
  • 2nd Generation Intel® Core™ Processor or later, older processors not supported
    • Single socket
    • Multi-socket

System Requirements (macOS*)

  • macOS* 10.11 or later
  • 2nd Generation Intel® Core™ processor or later

Known Limitations / Issues

  • Graphs will not appear if your processor does not have the appropriate hardware counters
  • Discrete graphics cards are not supported and GPU graphs will not appear unless Intel graphics is in use
  • Windows 7* supported builds are below in the Archive section

Installation / Setup (Windows*)

  1. Run the msi package as an administrator. Accept the UAC, if one appears
  2. Follow the installer prompt instructions to complete installation
    1. .Net Framework 4 (will automatically be downloaded from Microsoft* site if not yet installed in your system) needs Internet connection
    2. Microsoft* Visual C++ 2017 Redistributable Package (will automatically get installed if not yet installed)

Installation / Setup (macOS*)

  1. Double click the downloaded DMG (Intel Power Gadget.dmg)
  2. Double click the package (Install Intel Power Gadget.pkg)
  3. Follow the installer prompt instructions to complete installation

On recent macOS versions, after installation users need to explicitly allow the Power Gadget driver to load:

  1. Open System Preferences, and click on «Security and Privacy»
  2. Click the lock at the bottom of the page to unlock changes
  3. Click «Allow» to allow system software from Intel Corporation:
  4. Restart your computer to apply the changes

On macOS Catalina (10.15), users may need to perform additional steps to enable the Power Gadget driver to automatically load (this is due to a bug in macOS).

  1. Open the Terminal application
  2. Enter the following command, and press Enter (requires a password to complete):
  1. Restart your computer to apply the changes

Usages (Windows*)

Common use of Intel® Power Gadget is to monitor energy usage of the processor

  • Provides processor power (Watts), temperature (Celsius) and frequency (MHz) in real-time via graph displayed in the GUI
  • Let you log the power and frequency measurements and save it in a csv format.
  • Double click on the desktop shortcut and the GUI will launch
  • Drag to move the GUI.
  • Right click the GUI and a pop-up menu will show up allowing you to choose options or close the application. Options have the following parameters. Click “Start Log” button in the GUI to start logging. Press the same button “Stop Log” to stop logging. While it’s logging, red label “REC” will blink in the power chart area.
  • You can choose to add time-stamp to the log file name or not.
  • You can choose the log file name.
  • You can choose to resize the GUI from 100% to 300% by dragging the slider and testing the new size with the “Apply Size” button and accept the changes by pressing “Ok”.
  • Screen Update Resolution lets you change how often the GUI is updated at runtime. This may range from 50 ms to 1000 ms. (Default set to 1000 ms)
  • Log Sampling Resolution lets you change the logging sampling resolution ranging from 1 ms to 1000 ms. (Default set to 100 ms)
  • In a multi-socket system, you can choose which package information to display in the GUI. The log will record all package information in a csv file.
  • Click «Start Log» button in the GUI to start logging. Press the same button «Stop Log» to stop logging. While it’s logging, red label «REC» will blink in the power chart area

Using Intel® Power Gadget 3.0 in a Script

In order to start and stop the logging in a script, first launch the GUI as usual.

  • At the beginning of the script, call «IntelPowerGadget.exe -start» and it will trigger the logging in the GUI.
  • At the end of the script, call “IntelPowerGadget.exe -stop” and it will stop the logging.
Читайте также:  Средство диагностики памяти windows зависает

The parameters for the log are based on the options set in the GUI.

PowerLog3.0

PowerLog3.0.exe is the command line version of Intel® Power Gadget in logging power usage

  • Log power data to logfile for a period of time:

  • Start a command a log power data to logfile until the command finish:

Logfile Data

Logfile will include the elapsed timed, package power limit, processor frequency, GT frequency, processor temperature, average and cumulative power of the processor

  • Processor Energy (Total energy of the processor) = IA Energy + GT Energy (if applicable) + Others (not measured)
  • IA Energy (Energy of the CPU/processor cores)
  • GT Energy (Energy of the processor graphics) – If applicable , some processors for desktops and servers don’t have it or may have use discrete graphics

Only works on 2nd Generation Intel® Core™ processor family or newer. Atom processors not yet supported.

Use only 32-bit installer for 32-bit OS and 64-bit installer for 64-bit OS

Application may hang after running for a long period of time (just close and restart application)

Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.

This document contains information on products in the design phase of development.

All products, platforms, dates, and figures specified are preliminary based on current expectations, and are subject to change without notice. All dates specified are target dates, are provided for planning purposes only and are subject to change.

This document contains information on products in the design phase of development. Do not finalize a design with this information. Revised information will be published when the product is available. Verify with your local sales office that you have the latest datasheet before finalizing a design.

Code names featured are used internally within Intel to identify products that are in development and not yet publicly announced for release. Customers, licensees and other third parties are not authorized by Intel to use code names in advertising, promotion or marketing of any product or services and any such use of Intel’s internal code names is at the sole risk of the user.

Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries.

*Other names and brands may be claimed as the property of others.

Copyright © 2019, Intel Corporation. All rights reserved.

Intel® Power Gadget also provides a C/C++ Application Programming Interface (API) for accessing this power and frequency data in your program; the API is supported on Windows and Mac OS X. For more information on the API’s, see:

End User License Agreement included in Windows* download

Notices

INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.

Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked «reserved» or «undefined.» Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.

The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.

Источник

Оцените статью