Monitor power information of Ryzen processors via the PM table of the SMU.
This tool is based on the ryzen_smu kernel module for reading the PM Table from the SMU. It is a continuation of the demo-tool provided with that project.
ryzen_monitor features support for multiple PM table versions (i.e. multiple bios versions), adds support for Ryzen 5000, and presents more fields to user. It is especially focused around providing a more realistic image of the actual power draw and hence true thermal output of the CPU package.
- Ryzen 5000 series
- Ryzen 9 5950X
- Ryzen 9 5900X
- Ryzen 7 5800X
- Ryzen 5 5600X
- Ryzen 7 5700G
- Ryzen 5 5600G
- Ryzen 3000 series
- Ryzen 7 3700X
- Ryzen 9 3900X
- Ryzen 9 3950X
- Other non-Threadripper models will probably work, but are untested
Note: Support also depends on the PM table version that ships with your BIOS and whether ryzen_monitor already knows how to read it.
First install the kernel module from leogx9r:ryzen_smu.
If you don't have any luck with the above module, try this fork: linnaea:ryzen_smu
A good indication of whether the above module works for you is by checking whether /sys/kernel/ryzen_smu_drv/pm_table is available.
Then pull and make ryzen_monitor:
git clone https://github.com/hattedsquirrel/ryzen_monitor.git
cd ryzen_monitor/
make
sudo ./src/ryzen_monitorEnjoy!
Don't rely on the information given by this tool.
To my knowledge there is no official documentation on how to do this. Everything was created by starring at numbers, a lot of guesswork and finding fragments somewhere on the web. It is possible that some assignments or calculations are incorrect.
This program is provided as is. If anything, it is a toy for the curious. Nothing more. Use it at your own risk.
