[KDE] power-profiles-daemon does not start correctly?

For a while now I’ve seen the following after booting my system:

image

ppd is of course installed. Because of this message, I think that none of my power profiles are applied.

If I restart the service, that message disappears and I get the fully functional widget again:

systemctl --user restart plasma-powerdevil.service

Any ideas? Thank you in advance

Operating System: openSUSE Tumbleweed 20241028
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7
journalctl -b | grep powerdevil                   
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
Oct 31 00:11:02 andromeda org_kde_powerdevil[2221]: Initializing libddcutil.  ddcutil version: 2.1.4, shared library: /usr/lib64/libddcutil.so.5.1.2
Oct 31 00:11:02 andromeda org_kde_powerdevil[2221]: Options passed from client:
Oct 31 00:11:02 andromeda org_kde_powerdevil[2221]: Applying combined options:
Oct 31 00:11:03 andromeda org_kde_powerdevil[2221]: Library initialization complete.
Oct 31 00:11:03 andromeda org_kde_powerdevil[2221]: org.kde.powerdevil: [DDCutilDetector]: Failed to initialize callback
Oct 31 00:11:03 andromeda org_kde_powerdevil[2221]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Oct 31 00:11:03 andromeda org_kde_powerdevil[2221]: org.kde.powerdevil: Handle button events action could not check for screen configuration
Oct 31 00:11:03 andromeda org_kde_powerdevil[2221]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Oct 31 00:12:02 andromeda drkonqi-coredump-processor[2217]: "/usr/libexec/org_kde_powerdevil" 8785 "/var/lib/systemd/coredump/core.org_kde_powerde.1000.8cf9ab7b2a0a46b19ab566dd9da634f9.8785.1729444205000000.zst"
Oct 31 00:12:02 andromeda drkonqi-coredump-processor[2217]: "/usr/libexec/org_kde_powerdevil" 8994 "/var/lib/systemd/coredump/core.org_kde_powerde.1000.8cf9ab7b2a0a46b19ab566dd9da634f9.8994.1729444206000000.zst"
Oct 31 00:12:02 andromeda drkonqi-coredump-processor[2217]: "/usr/libexec/org_kde_powerdevil" 9165 "/var/lib/systemd/coredump/core.org_kde_powerde.1000.8cf9ab7b2a0a46b19ab566dd9da634f9.9165.1729444206000000.zst"
Oct 31 00:12:02 andromeda drkonqi-coredump-processor[2217]: "/usr/libexec/org_kde_powerdevil" 9341 "/var/lib/systemd/coredump/core.org_kde_powerde.1000.8cf9ab7b2a0a46b19ab566dd9da634f9.9341.1729444207000000.zst"
Oct 31 00:12:02 andromeda drkonqi-coredump-processor[2217]: "/usr/libexec/org_kde_powerdevil" 9466 "/var/lib/systemd/coredump/core.org_kde_powerde.1000.8cf9ab7b2a0a46b19ab566dd9da634f9.9466.1729444207000000.zst"
Oct 31 00:13:38 andromeda org_kde_powerdevil[4629]: Initializing libddcutil.  ddcutil version: 2.1.4, shared library: /usr/lib64/libddcutil.so.5.1.2
Oct 31 00:13:38 andromeda org_kde_powerdevil[4629]: Options passed from client:
Oct 31 00:13:38 andromeda org_kde_powerdevil[4629]: Applying combined options:
Oct 31 00:13:39 andromeda org_kde_powerdevil[4629]: Library initialization complete.
Oct 31 00:13:39 andromeda org_kde_powerdevil[4629]: org.kde.powerdevil: [DDCutilDetector]: Failed to initialize callback
Oct 31 00:13:39 andromeda org_kde_powerdevil[4629]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"
Oct 31 00:13:39 andromeda org_kde_powerdevil[4629]: org.kde.powerdevil: Handle button events action could not check for screen configuration
Oct 31 00:13:39 andromeda org_kde_powerdevil[4629]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware"

I think I have a better understanding now.

The service itself is running, as confirmed by running a systemctl ... status

The UI for System Settings/Power Profiles also confirms this (this would just display an error about the service not being started otherwise):

So the problem seems rather to be that the widget doesn’t properly establish a connection to the service and doesn’t “see” that it’s running. Restarting the powerdevil service must send some signal that makes the widget aware the service is running.

I was able to confirm this by running:

systemctl --user restart plasma-plasmashell.service

which restarts the whole shell including widgets, and now magically the widget works fine again, even without a restart of the powerdevil service.

Got it:

https://bugs.kde.org/show_bug.cgi?id=492859

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.