xset is required by the -c flag. Ex: # powertop -c modprobe cpufreq_stats failed Loaded 131 prior measurements RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask 5 RAPL device for cpu 0 RAPL Using PowerCap Sysfs : Domain Mask 5 Devfreq not enabled glob returned GLOB_ABORTED Starting PowerTOP power estimate calibration Calibrating idle sh: line 1: /usr/bin/xset: No such file or directory To show power estimates do 325 measurement(s) connected to battery only sh: line 1: /usr/bin/xset: No such file or directory Calibrating: disk usage Calibrating backlight .... device /sys/class/backlight/amdgpu_bl1/brightness ^C Reproducible: Always
Thanks, good catch.
FEDORA-2024-26233efc1b (powertop-2.15-7.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-26233efc1b
FEDORA-2024-ed3c021c8b (powertop-2.15-7.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ed3c021c8b
FEDORA-2024-26233efc1b (powertop-2.15-7.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-ed3c021c8b has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ed3c021c8b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ed3c021c8b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Could this be made a soft dependency, it pulls in most of the X stack which isn't great for systems that don't already have it installed.
FEDORA-2024-ed3c021c8b (powertop-2.15-7.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
(In reply to Peter Robinson from comment #6) > Could this be made a soft dependency, it pulls in most of the X stack which > isn't great for systems that don't already have it installed. Seconded. I was a bit annoyed to see xset and a 10 libX* packages in the dnf update report on my headless server.
Bug 2290742 filed.