https://bugs.kde.org/show_bug.cgi?id=500835
Bug ID: 500835 Summary: powerdevil high CPU usage with ddcutil 2.2.0 Classification: Plasma Product: plasmashell Version: 6.3.2 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Power management & brightness Assignee: plasma-b...@kde.org Reporter: anhollander...@gmail.com Target Milestone: 1.0 *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Please remove this comment after reading and before submitting - thanks! *** SUMMARY Powerdevil's CPU usage spikes every second or so with ddcutil 2.2.0. Downgrading to ddcutil 2.1.4 and restarting the service solved the problem. STEPS TO REPRODUCE 1. Upgrade to ddcutil 2.2.0 2. Restart powerdevil OBSERVED RESULT Powerdevil has relatively high CPU usage EXPECTED RESULT Powerdevil works as expected SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.17 KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.13.5-tkg-sched-ext-latency (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics Memory: 15.4 GiB of RAM Graphics Processor: AMD Radeon RX 6600 ADDITIONAL INFORMATION Log with ddcutil 2.1.4: Feb 26 19:25:22 buildbox systemd[752]: Starting Powerdevil... Feb 26 19:25:22 buildbox org_kde_powerdevil[1046]: Initializing libddcutil. ddcutil version: 2.1.4, shared library: /usr/lib64/libddcutil.so.5.1.2 Feb 26 19:25:22 buildbox org_kde_powerdevil[1046]: Options passed from client: Feb 26 19:25:22 buildbox org_kde_powerdevil[1046]: Applying combined options: Feb 26 19:25:22 buildbox org_kde_powerdevil[1046]: Library initialization complete. Log with ddcutil 2.2.0: Feb 27 15:01:47 buildbox systemd[750]: Starting Powerdevil... Feb 27 15:01:47 buildbox org_kde_powerdevil[1043]: Starting libddcutil. library built Feb 27 2025 at 10:54:40. stdout_stderr_redirected=true Feb 27 15:01:47 buildbox org_kde_powerdevil[1043]: Initializing libddcutil. ddcutil version: 2.2.0, shared library: /usr/lib64/libddcutil.so.5.2.0 Feb 27 15:01:47 buildbox org_kde_powerdevil[1043]: [ 1043] Options passed from client: Feb 27 15:01:47 buildbox org_kde_powerdevil[1043]: [ 1043] Applying combined libddcutil options: Feb 27 15:01:48 buildbox org_kde_powerdevil[1043]: Library initialization complete. Feb 27 15:01:48 buildbox org_kde_powerdevil[1043]: [ 1043] Watching for display connection changes, resolved watch mode = Watch_Mode_Poll, poll loop interval = 2000 millisec Feb 27 15:01:48 buildbox org_kde_powerdevil[1043]: [ 1043] extra_stabilization_millisec: 0, stabilization_poll_millisec: 100 Feb 27 15:01:48 buildbox org_kde_powerdevil[1043]: [ 1043] libddcutil recheck thread (nil) started Feb 27 15:01:48 buildbox org_kde_powerdevil[1043]: [ 1043] libddcutil watch thread 0x5e7452737fe0 started Feb 27 15:01:48 buildbox org_kde_powerdevil[1043]: [ 1173] (dw_recheck_displays_func) Recheck interval: Slept for 200 millisec -- You are receiving this mail because: You are watching all bug changes.