Is it possible to add auto-cpufreq (https://github.com/AdnanHodzic/auto-cpufreq) to the artix repositories?
As far as I understand, in addition to systemd, it can work with s6, dinit, runit and openrc, everything needed for this is in the scripts directory, but its installation is complex and unclear.
Or recommend an analogue that is not so terribly designed and written ;)
I recommend intel-undervolt if you are on intel and messing with some of the cpu governor tunables (or switching the entire gov. around) for instance for ondemand or on newer hardware schedutil, then changing some kernel params. for swap/caches/etc maybe changing the kernel to one with different parameters already set.
This does 75% what that tool does but it requires some manual labour :-)
As far as I understand, intel-undervolt supports processors starting from the 4th generation of intel (I have the 3rd).
I built it once and tested it on a 9.5Gen Intel system; it failed to start properly but did not give any indication why. IIRC there were many similar bug reports but no fix nor help. So after an hour or so I moved it to /dev/null
What purpose does the package need to serve? Maybe there is another solution.
artist
I think the project page says it better than I can...
I found this (https://github.com/AdnanHodzic/auto-cpufreq/discussions/506) page. I'll go read up on these tools.
Artist, can you add thinkfan (https://github.com/vmatare/thinkfan) for now?
thinkfan (https://aur.archlinux.org/packages/thinkfan) is in the AUR
You realistically only need thinkpad-acpi driver and a fan control utility for that (in link above, thinkfan includes it).
Right, just throttle control unfortunately.
There's also https://aur.archlinux.org/packages/thinkfan-openrc (https://aur.archlinux.org/packages/thinkfan-openrc) in AUR.
as a maybe lighter weight alternative to auto-cpufreq there is: afreq.sh (https://github.com/eylles/afreq.sh) it does the whole governor tuning on ac and battery while allowing you to configure thresholds and governors, also sets some kernel tunables to improve battery life and performance, as far as dependencies go it can work with just busybox and procps.
What about corectrl? It's not automatic (you need to set up how you want your cpu and stuff to work) but it might help you achieve what you want/need to do. If I remember correctly, you can get it through pacman, but I am not sure on what of the repositories corectrl is.