Skip to content
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

[FEATURE] Support for TuneD 2.0 power settings #482

Closed
Hillard28 opened this issue Aug 12, 2024 · 6 comments
Closed

[FEATURE] Support for TuneD 2.0 power settings #482

Hillard28 opened this issue Aug 12, 2024 · 6 comments

Comments

@Hillard28
Copy link

TuneD is a power profiles tool similar to power-profiles-daemon, which will replace the latter starting with Fedora 41. At present, tuned-ppd is a translation API layer that translates the power-profiles-daemon API to TuneD. Gnome picks this up and if tuned-ppd is installed by running sudo dnf swap power-profiles-daemon tuned-ppd then the Gnome power settings work just as they did before. This is not the case for Cosmic, but it would seem (possibly ignorantly) that a fix may just require some additional checks?

@mmstick mmstick transferred this issue from pop-os/cosmic-epoch Aug 12, 2024
@WatchMkr WatchMkr removed this from COSMIC Epoch 2 Sep 3, 2024
@WatchMkr WatchMkr moved this to Alpha 2 Settings in COSMIC Epoch 1 Sep 3, 2024
@WatchMkr WatchMkr added this to the alpha 2 milestone Sep 3, 2024
@WatchMkr WatchMkr moved this from Alpha 2 Settings to Post-Current-Alpha ToDo in COSMIC Epoch 1 Sep 11, 2024
@WatchMkr WatchMkr modified the milestones: alpha 2, alpha 3 Sep 11, 2024
@ryanabx
Copy link
Contributor

ryanabx commented Sep 23, 2024

The issue here is that TuneD currently does not offer itself on the new DBus interface that Power Profiles Daemon advertises itself on: org.freedesktop.UPower.PowerProfiles. It still uses the old interface, which I forget the exact name is something like net.hadess.PowerProfiles.

See this upstream PR: redhat-performance/tuned#684

Question @WatchMkr , would it be helpful to have an upstream or other-project or similar tag that could be used when an issue is partially affected by another project?

Adding on to the idea, that could be helpful when, for example, someone has an issue that is caused by distro-specific packaging.

@Hillard28
Copy link
Author

Hillard28 commented Sep 23, 2024

Good point. Yeah, looks like the ppd policy still uses hadess. If I understand correctly (which is unlikely) if tuned switches to the new interface, will it "just work"? Don't see any point in adding support for hadess.

@mmstick
Copy link
Member

mmstick commented Sep 23, 2024

system76-power supports net.hadess.PowerProfiles and org.freedesktop.UPower.PowerProfiles, so that can be installed as a drop-in replacement. Not sure if it's worth supporting net.hadess.PowerProfiles here.

@Hillard28
Copy link
Author

I'll probably just switch to system76-power then. I just figured it was worth calling out since I believe tuned is now the standard on fedora 41. That said, I know pop! is the priority here!

@ryanabx
Copy link
Contributor

ryanabx commented Sep 23, 2024

I'll probably just switch to system76-power then. I just figured it was worth calling out since I believe tuned is now the standard on fedora 41. That said, I know pop! is the priority here!

No worries, we were just talking about it in the Fedora COSMIC sig group. I think tuned will end up supporting org.freedesktop.UPower.PowerProfiles before Fedora 41, so we will be all good. That said, upstream uses system76-power primarily, so nothing can go wrong from using what is supported in Pop!_OS

@WatchMkr WatchMkr removed this from COSMIC Epoch 1 Oct 2, 2024
@WatchMkr WatchMkr removed this from the alpha 3 milestone Oct 2, 2024
@Hillard28
Copy link
Author

Hillard28 commented Oct 21, 2024

Looks like Fedora 41 has migrated to TuneD proper and power settings appear to be working! Guess this can be closed unless there's a reason to leave it open.

@WatchMkr WatchMkr closed this as completed Dec 4, 2024
martinpitt pushed a commit to martinpitt/ostree-pitti-workstation that referenced this issue Dec 18, 2024
Make sure that at least one power profile manager daemon is included.

Use `power-profiles-daemon` for now until support is added in tuned-ppd
and cosmic-settings.

See: pop-os/cosmic-settings#482
See: redhat-performance/tuned#684
See: https://fedoraproject.org/wiki/Changes/TunedAsTheDefaultPowerProfileManagementDaemon
travier added a commit to travier/fedora-atomic-desktops-devel that referenced this issue Feb 5, 2025
Make sure that at least one power profile manager daemon is included.

Use `power-profiles-daemon` for now until support is added in tuned-ppd
and cosmic-settings.

See: pop-os/cosmic-settings#482
See: redhat-performance/tuned#684
See: https://fedoraproject.org/wiki/Changes/TunedAsTheDefaultPowerProfileManagementDaemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants