From d4691c7bf2bd1d0568109c19d0db05b2def91bb1 Mon Sep 17 00:00:00 2001 From: Drath Date: Sat, 13 Dec 2025 21:18:49 +0100 Subject: [PATCH] pro tip about rapl --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ed66dfe..af21c69 100644 --- a/README.md +++ b/README.md @@ -64,4 +64,5 @@ Text04="$dll(hwinfo,1,Vcore,3)V $Right($dll(hwinfo,1,Average Effective Clock,a)M ### Additional notes - To read motherboard sensors on ASUS ROG STRIX B550-A GAMING, as of Linux 6.16 you need to booth with kernel parameter of `acpi_enforce_resources=lax`. On Fedora it can be added by appending it to `/etc/kernel/cmdline`. +- You need to be able to read RAPL as user. Create in `/etc/tmpfiles.d/intelrapl.conf` with content `z- /sys/class/powercap/intel-rapl:0/energy_uj 0440 root uucp - -`. Adjust uucp to whatever group applicable, like `dialout`. - `compile_commands.json` is so clang understands this project, so we can edit it with helix/neovim. Generated with `bear -- make`, make sure to run `make clean` beforehand.