-
-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQUEST] Add support for zenpower or k10temp #48
Comments
Sure, but I would need to know some more information. Like is the package temp named "Tdie" for all ryzen cpus, whats "Tctl" temp and how many cores do you have? Is "Tccd*" temp for physical cores. I don't have a ryzen cpu so can't really experiment with it. |
I have a 3950x which has 16 physical cores and 32 threads. I believe it's the same across all Ryzen, but perhaps others with Ryzen CPU's could comment on this issue thread over time if they see something different. Later today I'll modprobe k10-temp, as I believe that is what comes by default with the kernel (though it's not as good as zenpower) and see what that outputs (as that's what most people would have). |
Here's k10temp's output: k10temp-pci-00c3 |
Ok, same sensors names anyway. But not sure what:
represents still. |
This page has info on what tCtl is supposed to represent: https://www.guru3d.com/articles-pages/amd-ryzen-threadripper-2920x-review,8.html It's in the "Temperature Reporting" section |
Good researching! Will add to TODO and take a look at implementing when I have time. |
You got any clue to how the cores are ordered? Like is Core1 a thread of Core0 and is Core0 - 15 in the first CCD module or is mixed. |
The output you posted from k10temp, was that complete? No "(high = +95.0°C)" value for tdie? |
Yes, both were complete unfortunately. k10temp's support of Ryzen in general is relatively new and I think has only been moved into the kernel very recently (I'm not even sure if it's in 5.4). But maybe my k10temp module is wonky, because from this kernel mailing list message, it looks like it should have a high value: https://lore.kernel.org/lkml/20200116141800.9828-1-linux@roeck-us.net/ |
Ok, I'm setting a fallback value of 85 for high for now, need something to compare against for colors and mini graph. |
Added in v0.8.17 |
Looks great. I've got bashtop essentially as my background in plasma running in the termoid applet and I love it! Thanks so much for your work. Fwiw, I write software for a living too, and I'm reasonably handy with the bash if you ever decide you want a bit of help. Otherwise I see you got the git sponsor going, could flip some coin your way for your great project! |
Thanks :) |
Is your feature request related to a problem? Please describe.
This is super slick, but it'd be cool if the sources for temperatures were expanded to support zenpower for newer Ryzen CPU's
Describe the solution you'd like
Here's the relevant section of sensors output for zenpower:
zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 1.40 V
SVI2_SoC: 1.08 V
Tdie: +65.6°C (high = +95.0°C)
Tctl: +65.6°C
Tccd1: +64.8°C
Tccd2: +50.2°C
SVI2_P_Core: 27.55 W
SVI2_P_SoC: 13.69 W
SVI2_C_Core: 20.42 A
SVI2_C_SoC: 12.65 A
Describe alternatives you've considered
If you're open to pull requests, I can work on adding support for this tomorrow. Just reply to this issue if you want me to take a stab at it.
Additional context
This is a wonderful project. I almost want to just run it in a plasma applet and have it be my background! Nice work!
The text was updated successfully, but these errors were encountered: