Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: mjacoby on 26 May 2025, 16:38:09

Title: power-profiles-daemon (with grub)
Post by: mjacoby on 26 May 2025, 16:38:09
Hello!

I've recently installed Artix (moving from EndeavourOS which was giving me issues) and was interested to see that the default bootloader seems to be grub.

I'm running a AMD laptop with a Ryzen 7 8845HS and installed power-profiles-daemon which I am accustomed to using on other Arch distros.

However, the KDE tray aspect of it doesn't actually work, so I can't select/change the profile.

I found this reddit thread about how another Artix user got it to work, but he had runit, and I just have grub, so it seems like that wouldn't work.

I am a noob, obviously, but would love any pointers

https://www.reddit.com/r/artixlinux/comments/stqhwl/guide_powerprofilesdaemon_on_nonsystemd_installs/
Title: Re: power-profiles-daemon (with grub)
Post by: belo on 26 May 2025, 17:42:43
I'm kind of confused? Grub is a bootloader, Runit is a init system, the KDE tray aspect not working means the login manager? Send some info of what you are using, like which init system, DE, maybe I can help
Title: Re: power-profiles-daemon (with grub)
Post by: mjacoby on 27 May 2025, 10:54:50
Hello, thanks!

I managed to figure it out; after reading the reddit page and then realizing that grub and runnit can be used simultaneously (and are in Artix depending on which iso you download), I decided to just download the runit flavor, reinstall, and then follow the instructions on the reddit post. Now I see that yay lists a service script which can do it automatically (nice options).

Even after PDD working and using ryzenadj to manually set the power limit -- just as I would do in EndeavourOs -- my battery life is still slightly worse. I don't know if it has to do with Artix's custom kernel or if it is a D-Bus issue or something
Title: Re: power-profiles-daemon (with grub)
Post by: mrbrklyn on 31 May 2025, 05:53:18
I am glad that what you want to work is working but you are completely confused. 

Quote
then realizing that grub and runnit can be used simultaneously

grub could care less what init system you use.  It is a boot loader.  And it is the default boot loader of the vast majority of installations... like maybe over 99%?

I am glad you realized it because it is not the exception.  It is the rule.

FWIW: https://linuxconfig.org/how-to-manage-power-profiles-over-d-bus-with-power-profiles-daemon-on-linux
Title: Re: power-profiles-daemon (with grub)
Post by: mjacoby on 04 June 2025, 13:58:28
Hey,

Thanks for this!

Yes I was coming from EndeavourOS which uses systemd as both an init and a bootloader.

I much prefer grub and like Artix's stance on the whole systemd vs the rest
Title: Re: power-profiles-daemon (with grub)
Post by: mrbrklyn on 04 June 2025, 22:30:58
systemd is not a boot loader either...

You are talking perhaps about the UEFI boot loader systemd-boot which, despite its name, has zero to do with systemd

https://wiki.archlinux.org/title/Systemd-boot
Title: Re: power-profiles-daemon (with grub)
Post by: gripped on 05 June 2025, 00:41:44
Holy mother of coincidences then.
Title: Re: power-profiles-daemon (with grub)
Post by: mrbrklyn on 05 June 2025, 03:57:47
https://www.youtube.com/watch?v=f-gpMkeU87Y
Title: Re: power-profiles-daemon (with grub)
Post by: mjacoby on 05 June 2025, 12:16:05
systemd is not a boot loader either...

You are talking perhaps about the UEFI boot loader systemd-boot which, despite its name, has zero to do with systemd

https://wiki.archlinux.org/title/Systemd-boot

Thank you🥲