Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package powertop for openSUSE:Factory checked in at 2026-08-11 17:15:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powertop (Old) and /work/SRC/openSUSE:Factory/.powertop.new.17972 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powertop" Tue Aug 11 17:15:06 2026 rev:60 rq:1370597 version:2.16 Changes: -------- --- /work/SRC/openSUSE:Factory/powertop/powertop.changes 2026-01-08 15:27:21.780896898 +0100 +++ /work/SRC/openSUSE:Factory/.powertop.new.17972/powertop.changes 2026-08-11 17:16:23.052135274 +0200 @@ -1,0 +2,62 @@ +Mon Aug 10 17:52:05 UTC 2026 - Michael Vetter <[email protected]> + +- Update to 2.16: + * The following sysfs tunables have been added: + + VM dirty ratio /proc/sys/vm/dirty_ratio 50 + + Transparent hugepage scan sleep /sys/kernel/mm/transparent_hugepage/khugepaged/scan_sleep_millisecs 30000 + + Framebuffer cursor blink /sys/devices/virtual/graphics/fbcon/cursor_blink 0 + + KSM sleep interval /sys/kernel/mm/ksm/sleep_millisecs 4000 + + KSM batch size /sys/kernel/mm/ksm/pages_to_scan 1000 + + Autogroup scheduling /proc/sys/kernel/sched_autogroup_enabled 0 + + Intel P-state minimum performance /sys/devices/system/cpu/intel_pstate/min_perf_pct 50 + + Network default qdisc /proc/sys/net/core/default_qdisc fq + + Intel ITMT (Turbo Boost Max 3.0) /proc/sys/kernel/sched_itmt_enabled 1 + + Intel energy performance bias /sys/devices/system/cpu/cpu*/power/energy_perf_bias balance-performance + + Intel energy performance preference + /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference balance_performance + + Intel Xe GPU power profile /sys/class/drm/card*/device/tile*/gt*/freq0/power_profile power_saving + + Enable Audio codec power management /sys/module/snd_hda_intel/parameters/power_save 1 + + AMD GPU panel power savings /sys/class/drm/*/amdgpu/panel_power_savings 2 + * Wildcard sysfs paths (e.g. cpu*) are now handled natively + * GPU tab (Intel Xe): progress bar scale now always shows the true maximum + value right-aligned, suppressing any overlapping tick label + * GPU tab: frequency bars now start at 0 instead of the hardware minimum, + giving a correct visual baseline + * GPU tab: replaced > / < policy markers with a four-segment colour bar (bold + green = floor, green = active, yellow = headroom, dim = beyond policy) + * GPU tab: C0/C6 idle bars merged into a single two-colour bar (red = + busy/C0, bright green = idle/C6) since C0 is derived from C6 + * GPU tab: active xe power profile displayed on the Power Overview section + * GPU tab: only shown on systems with Intel Xe GPU and xe hwmon present + * CPU Frequency Stats tab: redesigned with progress bars, corrected bar width + and spacing, and fixed C0 active column misalignment in Idle stats + * CPU Frequency Stats tab: empty cores are skipped in display + * Show "Preparing to take measurements" message during the initial one-second + measurement so the screen is no longer blank at startup + * Vertical scrollbar added to tab content panes + * Scroll-down capped at content extent to prevent over-scrolling + * Terminal resize (KEY_RESIZE / SIGWINCH) now handled correctly while PowerTOP is running + * Notification system redesigned to use the status bar instead of overlaying content + * Tab bar and bottom line now correctly fill the full terminal width + * HTML and CSV output: fixed escaping and i18n issues + * Markdown report output format added (--output=file.md) + * --calibrate: display power control now uses sysfs DRM DPMS directly, + falling back to xset only if needed — works on X11, Wayland, and headless + * Fixed three memory leaks found by Valgrind (power meters, tuning window, wakeup tab window) + * Fixed double-free in devfreq cleanup + * Fixed sysfs residency overflow in Intel GPU reporting + * Fixed RAPL division-by-zero and improved error handling + * Fixed Bluetooth byte-counter logic and removed deprecated tooling + * Added near-zero division guards for AHCI, ALSA, and RAPL power calculations + * Fixed --batch mode numeric safety and i18n issues + * Fixed halfdelay timeout clamping to valid ncurses range + * Fixed null pointer dereference when accessing first CPU in some configs + * Fixed potential memory leak in GPU handler initialisation + * 17 previously missing source files added to translation coverage + * All .po files regenerated; format-specifier changes (%s → {}) applied + mechanically across all 11 languages + * --once: take a single measurement and exit + * --auto-tune-dump: run auto-tune and dump results without interactive display +- Add powertop-2.16-fix-missing-sources.patch: Add missing sources to fix the build + +------------------------------------------------------------------- Old: ---- v2.15.tar.gz New: ---- powertop-2.16-fix-missing-sources.patch v2.16.tar.gz ----------(New B)---------- New: * --auto-tune-dump: run auto-tune and dump results without interactive display - Add powertop-2.16-fix-missing-sources.patch: Add missing sources to fix the build ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powertop.spec ++++++ --- /var/tmp/diff_new_pack.HpxVQ0/_old 2026-08-11 17:16:23.616159175 +0200 +++ /var/tmp/diff_new_pack.HpxVQ0/_new 2026-08-11 17:16:23.620159345 +0200 @@ -17,7 +17,7 @@ Name: powertop -Version: 2.15 +Version: 2.16 Release: 0 Summary: A Linux Tool to Find out What is Using Power on a Laptop License: GPL-2.0-only @@ -26,6 +26,8 @@ Source0: https://github.com/fenrus75/powertop/archive/v%{version}.tar.gz Source1: powertop.service Source2: powertop.conf +# PATCH-FIX-UPSTREAM https://github.com/fenrus75/powertop/pull/212 +Patch0: powertop-2.16-fix-missing-sources.patch # they repeatedly forget to upload a release tarball and only have the one from # GitHub which doesnt contain configure thus adding: # autoconf, autoconf-archive, automake, libtool @@ -35,6 +37,7 @@ BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: libtool +BuildRequires: libtracefs-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: systemd-rpm-macros @@ -53,6 +56,7 @@ %prep %setup -q -n powertop-%{version} +%patch -P 0 -p1 # Delete objects files left in tarball find . -name '*.o' -delete @@ -62,6 +66,7 @@ # also see rhbz#1826935 autoreconf -fi || autoreconf -fi export CFLAGS="%{optflags} -D_GNU_SOURCE -pthread" +export CXXFLAGS="%{optflags} -std=c++20" %configure --disable-static %make_build ++++++ powertop-2.16-fix-missing-sources.patch ++++++ --- powertop-2.16/src/Makefile.am.orig 2026-08-11 04:41:07.839032697 +0000 +++ powertop-2.16/src/Makefile.am 2026-08-11 04:41:07.855437112 +0000 @@ -15,6 +15,8 @@ lib.h \ main.cpp \ powertop.css \ + gpu-tab.cpp \ + gpu-tab.h \ \ calibrate/calibrate.cpp \ calibrate/calibrate.h \ @@ -33,6 +35,9 @@ cpu/intel_cpus.cpp \ cpu/intel_cpus.h \ cpu/intel_gpu.cpp \ + cpu/frequency.cpp \ + cpu/frequency.h \ + cpu/xe_gpu.cpp \ cpu/rapl/rapl_interface.cpp \ cpu/rapl/rapl_interface.h \ devices/ahci.cpp \ @@ -61,6 +66,9 @@ devices/thinkpad-light.h \ devices/usb.cpp \ devices/usb.h \ + devices/device_manager.cpp \ + devices/xe-gpu.cpp \ + devices/xe-gpu.h \ measurement/acpi.cpp \ measurement/acpi.h \ measurement/extech.cpp \ @@ -69,6 +77,7 @@ measurement/measurement.h \ measurement/sysfs.cpp \ measurement/sysfs.h \ + measurement/measurement_manager.cpp \ measurement/opal-sensors.cpp \ measurement/opal-sensors.h \ parameters/learn.cpp \ @@ -101,6 +110,8 @@ report/report-formatter-csv.h \ report/report-formatter-html.cpp \ report/report-formatter-html.h \ + report/report-formatter-md.cpp \ + report/report-formatter-md.h \ report/report-formatter.h \ report/report-maker.cpp \ report/report-maker.h \ ++++++ v2.15.tar.gz -> v2.16.tar.gz ++++++ ++++ 70954 lines of diff (skipped)
