SUMMARY *** After Kernel update to latest version, a warning notification will appear on the taskbar. The notification lasts a few seconds, then disappears for a few seconds, then re-appears. This happens forever. The power management section in the system-settings is greyed out because it says the process is not running. Clicking the warning brings up a pop-up window. Which also disappears rather quickly. Meaning the bug report button in there doesn't work either. This appears to be the same issue as https://bugs.kde.org/show_bug.cgi?id=466181 However, 466181 is listed as fixed. This appears to be cropping up again. *** STEPS TO REPRODUCE 1. Log into a KDE wayland session OBSERVED RESULT Power management in system settings isn't working. Error icon flashes every few seconds on bottom right of screen EXPECTED RESULT Power management in system settings functional and no error indicator SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) KDE Plasma Version: 5.27.10 KDE Frameworks Version: I'm honestly not sure. It's whatever the latest is in the arch repos Qt Version: I'm honestly not sure. It's whatever the latest is in the arch repos ADDITIONAL INFORMATION
Created attachment 165035 [details] The backtrace of powerdevil against ddcutil-2.1.0-1
I encountered this issue after updating ddcutil to 2.1.0. Downgrading it to 2.0.0 fixes this issue. Backtrace uploaded. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12
*** Bug 480046 has been marked as a duplicate of this bug. ***
*** Bug 480031 has been marked as a duplicate of this bug. ***
See https://github.com/rockowitz/ddcutil/issues/365
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/309
Git commit 46609206d5ccb821427791a2603fd1eb2477b8c3 by Nicolas Fella. Committed on 19/01/2024 at 18:00. Pushed by nicolasfella into branch 'master'. Allow disabling DDC brightness via env variable Interacting with ddcutils has shown to be troublesome on occasion, so it might be interesting to disable it, if only for debugging When starting powerdevil with POWERDEVIL_NO_DDCUTIL=1 it will skip initializing/using ddcutil M +5 -0 daemon/controllers/ddcutilbrightness.cpp https://invent.kde.org/plasma/powerdevil/-/commit/46609206d5ccb821427791a2603fd1eb2477b8c3
Git commit 77b115ee73f8f2eb4c7148b0f8c1f884ae779ca3 by Nicolas Fella. Committed on 19/01/2024 at 22:00. Pushed by nicolasfella into branch 'Plasma/6.0'. Allow disabling DDC brightness via env variable Interacting with ddcutils has shown to be troublesome on occasion, so it might be interesting to disable it, if only for debugging When starting powerdevil with POWERDEVIL_NO_DDCUTIL=1 it will skip initializing/using ddcutil (cherry picked from commit 46609206d5ccb821427791a2603fd1eb2477b8c3) M +5 -0 daemon/backends/upower/ddcutilbrightness.cpp https://invent.kde.org/plasma/powerdevil/-/commit/77b115ee73f8f2eb4c7148b0f8c1f884ae779ca3
Resolved in the yet unreleased libddcutil 2.1.1 as per https://github.com/rockowitz/ddcutil/issues/365#issuecomment-1902139509. The explanation that the maintainer gives would also mean that starting from Plasma 6.0 RC1, it should be safe to use libddcutil 2.1.0 because ddca_init() is called before making any other API calls. This bug was reported for Plasma 5.27, which is in bugfix-only mode and has not been targeting the new 2.0 API explicitly. We may want to consider backporting the ddca_init() call (https://invent.kde.org/plasma/powerdevil/-/commit/334e0c041a34fbcd09b90b4481878f71a7aac0ec) to the 5.27 branch as well to provide a second layer of fixing.
*** Bug 480753 has been marked as a duplicate of this bug. ***