placeholder driver is being used on intel platform
I have recently became aware that my desktop environment supports switching power profiles, but the setting is hidden because PPD did not find real drivers that it could use.
After reading the README, I understand that this section says that at least the 2 basic profiles (balanced and power-saver) should be working on Intel systems, if /sys/devices/system/cpu/intel_pstate/status
says active
, which is also the case on my system.
My system does not support EPB (or at least the /sys/devices/system/cpu/cpu0/power/energy_perf_bias
does not exist).
I'm less confident about platform profile support, though. I don't have a file at /sys/firmware/acpi/platform_profile_choices
, but I have similarly named file at the same directory: /sys/firmware/acpi/pm_profile
. The content of this file is 2
.
The system I use:
Hardware: Lenovo 500e Gen 2 Chromebook (geminilake platform)
OS: openSUSE Leap 15.4
Linux kernel: 5.14.21
Power Profiles tool: 0.10.1
Output of possibly useful commands:
$ powerprofilesctl
* balanced:
Driver: placeholder
power-saver:
Driver: placeholder
$ sudo G_MESSAGES_DEBUG=all /usr/lib/power-profiles-daemon -r -v
** (power-profiles-daemon:30859): DEBUG: 21:43:00.411: Starting power-profiles-daemon version 0.10.1
** (power-profiles-daemon:30859): DEBUG: 21:43:00.416: Could not load configuration file '/var/lib/power-profiles-daemon/state.ini': No such file or directory
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Handling driver 'fake'
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: probe() failed for driver fake, skipping
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Handling driver 'platform_profile'
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: No platform_profile sysfs file
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: probe() failed for driver platform_profile, skipping
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Handling driver 'intel_pstate'
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Opening policy dir '/sys/devices/system/cpu/cpufreq/'
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Didn't find p-state settings
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: probe() failed for driver intel_pstate, skipping
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Handling driver 'placeholder'
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Handling action 'trickle_charge'
** (power-profiles-daemon:30859): DEBUG: 21:43:00.418: Setting active profile 'balanced' for reason 'reset' (current: 'balanced')
$ ls -hal /sys/devices/system/cpu/cpufreq/*
/sys/devices/system/cpu/cpufreq/policy0:
total 0
drwxr-xr-x 2 root root 0 jan 9 15.04 .
drwxr-xr-x 6 root root 0 jan 9 15.04 ..
-r--r--r-- 1 root root 4,0K jan 9 21.53 affected_cpus
-r--r--r-- 1 root root 4,0K jan 9 15.04 cpuinfo_max_freq
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_min_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 cpuinfo_transition_latency
-r--r--r-- 1 root root 4,0K jan 9 21.53 related_cpus
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_available_governors
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_cur_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_driver
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_governor
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_max_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_min_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_setspeed
/sys/devices/system/cpu/cpufreq/policy1:
total 0
drwxr-xr-x 2 root root 0 jan 9 16.56 .
drwxr-xr-x 6 root root 0 jan 9 15.04 ..
-r--r--r-- 1 root root 4,0K jan 9 21.53 affected_cpus
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_max_freq
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_min_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 cpuinfo_transition_latency
-r--r--r-- 1 root root 4,0K jan 9 21.53 related_cpus
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_available_governors
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_cur_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_driver
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_governor
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_max_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_min_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_setspeed
/sys/devices/system/cpu/cpufreq/policy2:
total 0
drwxr-xr-x 2 root root 0 jan 9 16.56 .
drwxr-xr-x 6 root root 0 jan 9 15.04 ..
-r--r--r-- 1 root root 4,0K jan 9 21.53 affected_cpus
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_max_freq
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_min_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 cpuinfo_transition_latency
-r--r--r-- 1 root root 4,0K jan 9 21.53 related_cpus
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_available_governors
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_cur_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_driver
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_governor
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_max_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_min_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_setspeed
/sys/devices/system/cpu/cpufreq/policy3:
total 0
drwxr-xr-x 2 root root 0 jan 9 16.56 .
drwxr-xr-x 6 root root 0 jan 9 15.04 ..
-r--r--r-- 1 root root 4,0K jan 9 21.53 affected_cpus
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_max_freq
-r--r--r-- 1 root root 4,0K jan 9 16.56 cpuinfo_min_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 cpuinfo_transition_latency
-r--r--r-- 1 root root 4,0K jan 9 21.53 related_cpus
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_available_governors
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_cur_freq
-r--r--r-- 1 root root 4,0K jan 9 21.53 scaling_driver
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_governor
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_max_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_min_freq
-rw-r--r-- 1 root root 4,0K jan 9 21.53 scaling_setspeed