Bug 2278086 - powertop should require xset
Summary: powertop should require xset
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: powertop
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-01 04:23 UTC by Jonathan Wright
Modified: 2024-06-06 16:53 UTC (History)
4 users (show)

Fixed In Version: powertop-2.15-7.fc41 powertop-2.15-7.fc40
Clone Of:
Environment:
Last Closed: 2024-05-02 20:42:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wright 2024-05-01 04:23:37 UTC
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

Comment 1 Jaroslav Škarvada 2024-05-02 09:32:28 UTC
Thanks, good catch.

Comment 2 Fedora Update System 2024-05-02 09:40:51 UTC
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

Comment 3 Fedora Update System 2024-05-02 10:09:22 UTC
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

Comment 4 Fedora Update System 2024-05-02 20:42:03 UTC
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.

Comment 5 Fedora Update System 2024-05-03 03:11:28 UTC
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.

Comment 6 Peter Robinson 2024-05-03 09:13:36 UTC
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.

Comment 7 Fedora Update System 2024-05-11 01:29:41 UTC
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.

Comment 8 Dominik 'Rathann' Mierzejewski 2024-06-06 16:26:00 UTC
(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.

Comment 9 Dominik 'Rathann' Mierzejewski 2024-06-06 16:53:42 UTC
Bug 2290742 filed.


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