Can't change Brightness. No such object path '/org/kde/Solid/PowerManagement/Actions/BrightnessControl'

My nixos config has been working fine for the last couple of days, but today i got this error and im unable to change my brightness im unsure why. Here’s the log from startup:

Jan 15 02:58:35 unwary org_kde_powerdevil[2649]: org.kde.powerdevil: org.kde.powerdevil.backlighthelperbrightness failed
Jan 15 02:58:40 unwary plasmashell[2613]: error getting max keyboard brightness via dbus QDBusError(“org.freedesktop.DBus.Error.UnknownObject”, “No such object path ‘/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl’”)
Jan 15 03:03:45 unwary sudo[61081]: unwary : TTY=pts/0 ; PWD=/sys/class/backlight ; USER=root ; COMMAND=/run/current-system/sw/bin/find /sys/ -type f -iname brightness
Jan 15 03:05:31 unwary sudo[61301]: unwary : TTY=pts/0 ; PWD=/sys/class/backlight ; USER=root ; COMMAND=/home/unwary/.config/emacs/bin/doom run – amdgpu_bl1/actual_brightness
Jan 15 03:20:37 unwary org_kde_powerdevil[180418]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed
Jan 15 03:20:37 unwary plasmashell[2613]: error getting max keyboard brightness via dbus QDBusError(“org.freedesktop.DBus.Error.UnknownObject”, “No such object path ‘/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl’”)

Did you make update of some packages? How you call changing brightness? Keyboard shortcut?
Maybe solution from this post can help:

1 Like

Yes I think an update of my packages caused it to break, i have done numerous rebuilds of my config and updates of my flake.

How you call changing brightness?
I have tried both the brightness up/down button and the qdbus command, which gives me the same errors as the logs shown:

qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement/Actions/BrightnessControl org.kde.Solid.PowerManagement.Actions.BrightnessControl.brightness

Error: org.freedesktop.DBus.Error.UnknownObject
No such object path ‘/org/kde/Solid/PowerManagement/Actions/BrightnessControl’

Is powerdevil missing or not running?

It is running and all other functions like battery warning work.

Some of updated packages is in beta version? Some part of KDE?

No nothing is in beta, all are part of one Package group.

Would it be more suitable to make an issue?

Try to install:
qdbusviewer
and use it.
Check if in your system is installed dbus.

Ah.
Clicking on DBush shows: Cannot introspect object / at org.freedesktop.DBus ()

Maybe you missing some packages? Do you have dbus?

It is also connected