SMCAMDProcessor AMD 电源管理驱动


介绍

针对 AMD 处理器电源管理的 XNU 内核扩展。还带有VirtualSMC的插件,可将读数导出到其他应用程序。

请注意,此版本处于开发的初始阶段,请确保已正确备份了EFI文件夹,并且切勿在任何重要的系统上运行。

安装

SMCAMDProcessor现在包含两个单独的二进制文件(内核扩展):

  • AMDRyzenCPUPowerManagement.kext : 用于所有电源管理功能。 如果您想使用** AMD Power Gadget **,则也需要此kext。
  • SMCAMDProcessor.kext : 将读取的数据发布到VirtualSMC,它使 iStat 之类的 macOS 应用程序能够显示传感器数据。该扩展程序依赖于 AMDRyzenCPUPowerManagement.kext 来收集传感器数据,因此必须在之后加载。

1.从Release页面下载kext和应用程序
2.将 AMDRyzenCPUPowerManagement.kext 添加到引导加载程序的 kext 文件夹中。
3.编辑您的引导加载程序的配置文件,以确保启用了 kext。
4.如果您正在使用VirtualSMC,则还可以加载 SMCAMDProcessor.kext 来发布传感器数据。
5.像 OpenCore 这样的引导程序会按照在配置文件中出现的顺序链接每个 kext,因此请确保将 AMDRyzenCPUPowerManagement.kext 放在 SMCAMDProcessor.kext 之前,因为它是一个依赖项。

AMD Power Gadget

特性

  • AMD 17h 处理器的 CPU 电源管理。
  • 支持在 AMD 17h 处理器上读取温度,电压和频率数据。
  • 手动切换处理器速度。
  • PState 编辑。

PState 编辑

从 0.3.1 版本开始,可以使用 AMD Power Tool 编辑 CPU PState。

要访问 PState 编辑器:

  1. 打开 AMD Power Tool
  2. 前往 Speed 标签
  3. 点击 Advanced Options

安全说明

  • 错误的 PState 设置可能会永久损坏您的计算机硬件。
  • 出于安全考虑,此功能仅限于 root 用户。 您可以使用 root 用户启动 AMD Power Gadget,也可以使用 -amdpnopchk 禁用此检查。

已测试的处理器

  • Ryzen 9 3900X
  • Ryzen 7 3700X
  • Ryzen 7 2700X
  • Ryzen 5 3600
  • Threadripper 2990WX

版本历史

v0.6.6

  • 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.
  • 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.

v0.6.5

  • 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.

v0.6.4

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.

v0.6.3

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
    • Fixes support for NCT6798D.
  • AMD Power Gadget
    • Refine visual elements.

v0.6.1

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.

v0.6

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

Note
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.

  • KEXTs
    • Implements a better idle thread to reduce idle energy consumption and increase system performance(a little).
    • Dynamic PState stepping on demand.
    • Power reading now have a better accuracy.
    • Fixes issues with instructions retired counter.
  • AMD Power Gadget
    • Minor adjustments in UI to adapt to changes in Kext :).
  • Known issues
    • GraphView might not display as rounded corner on older version of macOS
    • Some sensor data will not show up in iStat depending on SMBios type. Refer to #10

v0.3.4

  • KEXT
    • SMC keys now registered correctly, again.
    • Fixes some issues preventing the reading of OEM board information.
  • AMD Power Gadget
    • Finally have an icon.
  • Known issues
    • GraphView might not display as rounded corner on older version of macOS
    • Some sensor data will not show up in iStat depending on SMBios type. Refer to #10
    • Instructions retired might not includes instructions from hyper threaded cores. This is due to some bug in underlying dependences.
    • Motherboard data may still failed to read on some system causes AMD Power Tool to displays it as unknown.

v0.3.3

  • KEXT
    • Introduced a new method for authorizing user process to perform dangerous changes.
    • Fixes temperature offset problem on some processor.
  • AMD Power Tool
    • Applying changes in PState Editor no longer require root user. A confirmation will be prompted by kernel when AMD Power Tool was launched by a normal user. You can still use boot-arg -amdpnopchk to disable this check.
  • Known issues
    • GraphView might not display as rounded corner on older version of macOS
    • Some sensor data will not show up in iStat depending on SMBios type. Refer to #10
    • Instructions retired might not includes instructions from hyper threaded cores. This is due to some bug in underlying dependences.
    • Motherboard data may failed to read on some system causes AMD Power Tool to displays it as unknown.

v0.3.2

  • KEXT
    • Added support for reading OEM board information.
  • AMD Power Tool
    • More system configurations, such as motherboard name, now displays in Overview tab.
    • PStateDef can now be saved as file and imported from a file using PState Editor
  • Known issues
    • GraphView might not display as rounded corner on older version of macOS
    • Some sensor data will not show up in iStat depending on SMBios type. Refer to #10
    • Instructions retired might not includes instructions from hyper threaded cores. This is due to some bug in underlying dependences.

v0.3.1

  • KEXT
    • Effective frequency calculated now have better accuracy(+/- 50MHz).
    • Added support for writing PStateDef.
  • AMD Power Tool
    • PState Editor is now available.
  • Known issues
    • GraphView might not display as rounded corner on older version of macOS
    • Some sensor data will not show up in iStat depending on SMBios type. Refer to #10
    • Instructions retired might not includes instructions from hyper threaded cores. This is due to some bug in underlying dependences.
    • System might panic when invalid PState are provided during apply.

下载链接

地址: https://taolu.lanzous.com/b01bdtqof
密码: dec2

资源来源

SMCAMDProcessor


文章作者: 套陆
版权声明: 本博客所有文章除特別声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 套陆 !
评论
  目录