Summary: | Display Brightness slider is missing on plasma 6 due to "org.kde.powerdevil.backlighthelper.brightness failed" error on launch | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | luciros601084 |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jpetso, me, natalie_clarius, nate |
Priority: | NOR | Keywords: | regression |
Version: | 6.0.4 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
screenshot
Changing SDDM background |
Description
luciros601084
2024-05-04 22:12:17 UTC
Is it also missing from the Energy Saving page in System Settings? Does it come back if you run `systemctl restart --user plasma-powerdevil.service` in a terminal window? (In reply to Nate Graham from comment #1) > Is it also missing from the Energy Saving page in System Settings? Yes, it is missing Screenshot: https://0x0.st/XXk2.png > Does it come back if you run `systemctl restart --user > plasma-powerdevil.service` in a terminal window? Void Linux uses runit instead of system. I killed /usr/libexec/org_kde_powerdevil then started from terminal, but still not appeared ``` % /usr/libexec/org_kde_powerdevil org.kde.powerdevil: org.kde.powerdevil.discretegpuhelper.hasdualgpu failed org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "The backend does not specify how to authorize" org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed org.kde.powerdevil: Handle button events action could not check for screen configuration org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "The backend does not specify how to authorize" ``` > org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Well that certainly seems related!
(In reply to luciros601084 from comment #2) > (...) "The backend does not specify how to authorize" So KAuth/PolKit fails to run its helpers. I still don't quite grasp the internals, the only thing I can say is that PowerDevil is using the same setup as other KAuth-powered things in KDE. Do other KAuth actions such as setting date & time (from System Settings / Date & Time) or setting SDDM backgrounds (from System Settings / Colors & Themes / Login Screen (SDDM)) work for you? Created attachment 169325 [details]
Changing SDDM background
Comment on attachment 169325 [details]
Changing SDDM background
Yes, changing background of sddm does not work
error: The backend does not specify how to authorize
Ok, then it seems like KAuth is broken on your system. This might be a local configuration issue, or it might be a distro setup issue. I'd recommend bringing it up with the Void Linux folks as they'll be in the best position to figure out what's going wrong. Thanks! @Nate Graham Thanks for helping, issue was that kauth package had missing optional building dependencies. Now it is resolved Out of curiosity, what were the missing dependencies? It sounds like they weren't actually very optional after all! So this would be either an error in our CMake files, or else in Void Linux's packaging. (In reply to Nate Graham from comment #9) > Out of curiosity, what were the missing dependencies? It sounds like they > weren't actually very optional after all! So this would be either an error > in our CMake files, or else in Void Linux's packaging. kf6-kwindowsystem-devel polkit-qt6-devel were missing without these package was building with warning -- No backend for KAuth was explicitly specified: probing system to find the best one available CMake Warning at src/ConfigureChecks.cmake:22 (find_package): By not providing "FindPolkitQt6-1.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "PolkitQt6-1", but CMake did not find one. Thanks, that's helpful. I've opened https://invent.kde.org/frameworks/kauth/-/issues/4 to discuss whether there's anything we can do about this on our side. In the meantime, please contact the packagers of your distro and ask them to always include Polkit as a dependency of KAuth. Thanks again! |