Summary: | KDE Power Management System Closed Unexpectedly | ||
---|---|---|---|
Product: | [Unmaintained] Powerdevil | Reporter: | Johnny <zain.32> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | dankitymao, jpetso, kubawronski161, liusishun5, mail, me, megamindedmanik, natalie_clarius, nicolas.fella, zain.32 |
Priority: | NOR | ||
Version First Reported In: | 5.27.10 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The backtrace of powerdevil against ddcutil-2.1.0-1 |
Description
Johnny
2024-01-19 03:49:19 UTC
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. *** 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. *** |