Bug 2323558 - power profile change on charge state not working
Summary: power profile change on charge state not working
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: power-profiles-daemon
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Arthur Bols
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-04 02:38 UTC by Tim Bosse
Modified: 2024-11-04 13:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-04 13:54:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Bosse 2024-11-04 02:38:55 UTC
After removing tuned and installing power-profiles-daemon-0.23-2.fc41.x86_64 on Fedora 41, the profiles listed in gnome are the same as when tuned was managing (Performance, Balanced, and Power Saver).  I can select and see them update when manually setting, however the previous behaviors where there was only two profiles (Performanced, and Power Saver), and when changing charger state, appropriate profiles were automatically selected (Performance on charger, Power Save on battery only) no longer work.

~ ❯ sudo /usr/libexec/power-profiles-daemon -r -vv                                                                                                                                                21:32:15
GLib-GIO       Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
Core           Starting power-profiles-daemon version 0.23
Core           Name 'net.hadess.PowerProfiles' acquired
Core           Name 'org.freedesktop.UPower.PowerProfiles' acquired
Core           Handling driver 'fake'
Core           probe () failed for driver fake, skipping
Core           Handling driver 'platform_profile'
GLib-GIO       Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
GLib-GIO       _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
PlatformDriver ACPI performance_profile is now p, so profile is detected as performance
PlatformDriver Didn't find a dytc_lapmode sysfs attribute to thinkpad_acpi
Core           Driver 'platform_profile' loaded
Core           Handling driver 'intel_pstate'
CpuDriver      Didn't find Intel p-state settings
Core           probe () failed for driver intel_pstate, skipping
Core           Handling driver 'amd_pstate'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/energy_performance_preference'
CpuDriver      Found p-state settings
Core           Driver 'amd_pstate' loaded
Core           Handling driver 'placeholder'
Core           Platform driver 'platform_profile' already probed, skipping driver 'placeholder'
Core           Handling action 'trickle_charge'
Core           Action 'trickle_charge' loaded
Core           Handling action 'amdgpu_panel_power'
Core           Action 'amdgpu_panel_power' loaded
Core           Handling action 'amdgpu_dpm'
Core           Action 'amdgpu_dpm' loaded
Core           Applying profile 'performance' from configuration file
Core           Setting active profile 'performance' for reason 'reset' (current: 'performance')
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy11/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy8/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy6/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy4/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy2/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy14/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy0/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy12/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy9/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy10/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy7/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy5/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy3/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy15/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy1/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy13/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_min_freq'
PlatformDriver Can't switch to performance mode, already there
AmdgpuPanel    upower not available; battery data might be stale
AmdgpuDpm      Device /sys/devices/pci0000:00/0000:00:08.1/0000:c1:00.0/drm/card1 already set to auto
AmdgpuDpm      Device /sys/devices/pci0000:00/0000:00:08.1/0000:c1:00.0/drm/renderD128 already set to auto
Core           Battery state monitor required, connecting to upower...
Core           Battery change monitor required, connecting to upower...
Core           No suspension monitor required by any driver, let's skip it
Core           Power Changed because of reason ac
AmdgpuPanel    Updating panel to 0 due to 🔋 0 (0.000000)
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy11/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy8/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy6/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy4/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy2/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy14/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy0/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy12/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy9/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy10/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy7/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy5/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy3/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy15/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy1/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy13/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_min_freq'
Core           Battery level changed to 52.000000
AmdgpuPanel    Updating panel to 0 due to 🔋 0 (52.000000)
Core           Battery level changed to 53.000000
AmdgpuPanel    Updating panel to 0 due to 🔋 0 (53.000000)
Core           Power Changed because of reason battery
AmdgpuPanel    Updating panel to 0 due to 🔋 1 (53.000000)
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy11/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy8/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy6/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy4/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy2/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy14/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy0/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy12/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy9/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy10/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy7/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy5/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy3/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy15/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy1/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy13/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_min_freq'
^CCore           Power Changed because of reason unknown
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy11/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy11/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy11/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy8/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy8/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy8/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy6/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy4/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy4/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy2/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy2/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy14/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy14/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy14/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy0/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy12/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy12/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy12/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy9/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy9/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy9/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy10/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy10/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy10/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy7/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy7/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy5/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy5/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy3/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy3/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy15/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy15/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy15/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy1/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_governor'
Utils          Writing 'performance' to '/sys/devices/system/cpu/cpufreq/policy13/energy_performance_preference'
Utils          Writing '1' to '/sys/devices/system/cpu/cpufreq/policy13/boost'
Utils          Writing '1099000' to '/sys/devices/system/cpu/cpufreq/policy13/scaling_min_freq'

Reproducible: Always

Steps to Reproduce:
1. remove tuned, install power-profiles-daemon-0.23-2.fc41.x86_64 on fedora 41 and restart system to verify everything is updated to use ppd.
2. Plug in charger.
3. Unplug charger.
4. Observe profiles do not change in gnome or from ppd debug logs (`sudo /usr/libexec/power-profiles-daemon -r -vv` while changing charger state) 
Actual Results:  
Plugged in charger is using Performance profile.
Battery only is using Performance profile.

Expected Results:  
Plugged in charger is using Performance profile.
Battery only is using Power Saver profile.

This is after testing https://bodhi.fedoraproject.org/updates/FEDORA-2024-a54b5427a8 in relation to https://bugzilla.redhat.com/show_bug.cgi?id=2323331.

Comment 1 Mario Limonciello 2024-11-04 02:58:45 UTC
To me it looks like it's actually changing based on power events.

Core           Battery level changed to 52.000000
AmdgpuPanel    Updating panel to 0 due to 🔋 0 (52.000000)
Core           Battery level changed to 53.000000
AmdgpuPanel    Updating panel to 0 due to 🔋 0 (53.000000)
Core           Power Changed because of reason battery
AmdgpuPanel    Updating panel to 0 due to 🔋 1 (53.000000)

What change were you expecting that isn't happening now?

Comment 2 Tim Bosse 2024-11-04 03:06:04 UTC
Notice that it is writing `Performance` to scaling governor always despite catching the charger remove event.  Previous behavior on F40 with earlier build of 0.23-1 and 0.22 was that the governor would switch to "powersave" on removing charger.

Comment 3 Mario Limonciello 2024-11-04 03:10:27 UTC
I don't believe that behavior has ever been present when in the 'performance' profile of PPD.
https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/blob/main/src/ppd-driver-amd-pstate.c#L157

Maybe you're thinking about changes that happen while in "balanced"?

Comment 4 Tim Bosse 2024-11-04 03:23:22 UTC
Part of the problem is that I don't have the behavior I'm expecting from F40 in detail anymore (now that I am on F41).  In gnome (for me) when selecting profiles with ppd, you were given two options for F40 with ppd: performance and powersaver.  There wasn't a balanced profile ever.  On Fedora 40, when I plugged in the power supply, gnome would show the performance profile was selected.  When on battery gnome would show power saver profile selected.  I could override that selection to be either power saver or performance, until I plugged or unplugged the charger.

Comment 5 Arthur Bols 2024-11-04 09:13:46 UTC
So iirc, ppd can't change power profiles, this has to be configured by Gnome or KDE. In Fedora 41 the systemd service `power-profiles-daemon.service` is not enabled by default (this is fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2024-a54b5427a8 ). I'm speculating here, but maybe the service is not enabled on boot so Gnome doesn't detect it correctly.

Can you try to enable power-profiles-daemon.service and reboot? Also make sure that tuned and tuned-ppd is removed completely.

Comment 6 Tim Bosse 2024-11-04 13:53:41 UTC
I did some testing on the balanced profile and I see where it adjusts depending on power supply.  I don't know why that wasn't my behavior on F40, but I accept this as the correct behavior moving forward.  Thanks for bearing with me.


Note You need to log in before you can comment on or make changes to this bug.