-
-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
Trrying to get scaphandre running on AMD Zen (Ryzen 5 Pro 2500U) results in thread panic.
To Reproduce
- Install
msr-tools - run
scaphandre stdout -t 15
Output:
root@host:~# ./scaphandre stdout -t 15
thread 'main' panicked at 'Couldn't find intel_rapl modules.', src/sensors/powercap_rapl.rs:72:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Expected behavior
scaphandre should work as AMD RAPL support was added to kernel 5.8 and perf seems to return sensible data:
root@host:~# perf stat -a --per-socket -I 1000 -e power/energy-pkg/
# time socket cpus counts unit events
1.001342541 S0 1 2.06 Joules power/energy-pkg/
2.002912211 S0 1 2.40 Joules power/energy-pkg/
3.004453609 S0 1 1.87 Joules power/energy-pkg/
3.837946645 S0 1 2.04 Joules power/energy-pkg/
Environment
- Debian Buster
- 5.9.15 (buster-backports)
Thank you again for creating scaphandre and please do let me know if I can help test this further.
Cheers.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Previous releases