-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
adjustor: init at 3.6.1 #347279
base: master
Are you sure you want to change the base?
adjustor: init at 3.6.1 #347279
Conversation
This has been working well for me! Is there a reason it's still marked as a draft? |
I still need to add an option to enable adjustor from Iirc power profiles would only apply when you changed the tdp, as well as some errors showing up. |
I'm not sure how to tackle adjustor's energy management feature, since it does different things depending on the hardware you run it on. On handhelds it emulates power-profiles-daemon, while on everything else it uses it. EDIT: Energy management can be disabled separately, very first option too so I'm not sure how I missed it 😅 |
This seems like a good solution, it ought to also conflict with tuned (not yet merged into nixpkgs) and other power management daemons. Looking into Bazzite, Bazzite masks tuned on handhelds that use adjustor, while it's unmasked on laptops and other devices. Adjustor is only installed on handhelds afaict. I know they have plans for other types of devices but for now it seems like everyone is using tuned or PPD. |
Also, iirc PPD emulation is an option within the HHD UI, not sure how that factors in here but it seems optional. |
Yeah, PPD emulation can be turned off as well as energy management, which I missed initially.
Adjustor does have some logic to deal with this with |
Refactored adjustor to be more similar to handheld-daemon
Adjustor is a plugin for handheld daemon that allows TDP control on AMD powered handhelds
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.