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

            Bug ID: 504861
           Summary: powerdevil crash from libddcutil, no restart happens
    Classification: Plasma
           Product: plasmashell
      Version First 6.3.90
       Reported In:
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Power management & brightness
          Assignee: plasma-b...@kde.org
          Reporter: martin+...@serafean.cz
  Target Milestone: 1.0

Powerdevil sometimes crashes, and doesn't restart, leaving the laptop with no
power management.

This happens most often during resume from suspend. But I also have seen it
happen after GPU hangs.

I realize this is probably more a ddcutil bug, and am open to help coordinate
with upstream, but one thing that KDE could do is updating the systemd service
file to try restarting, because systemctl --user restart
plasma-powerdevil.service brings power management back.

kscreen.kwayland: removing output "DP-2"
[ 26306] Removing connected display on bus 14
[ 26306] Emitting DDCA_Display_Status_Event[52910.779: 
DDCA_EVENT_DISPLAY_DISCONNECTED, card0-DP-2, dref: DDCA_Display_Ref[20],
io_path:/dev/i2c-14, ddc working: false]
[ 26306] libddcutil callback thread 0x7ffa300130e0 started
[ 26306] Started 1 event callback thread(s)
[ 26307] (ddc_open_display) Delay before rechecking attribute status: Slept for
1000 millisec
[ 26307] Assertion failed: "bus_info" in file ddc_packet_io.c at line 266
QtDBus: cannot relay signals from parent QObject(0x55d070f60740 "") unless they
are emitted in the object's thread QThread(0x55d070efffd0 "Qt mainThread").
Current thread is QThread(0x55d0710bb2b>
[ 26307] Watch thread terminated.
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another
thread
QMutex: destroying locked mutex
libddcutil terminating.
g_source_unref_internal: assertion 'source != NULL' failed
systemd[3420] plasma-powerdevil.service: Consumed 18.713s CPU time, 47.3M
memory peak.


SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.17
KDE Plasma Version: 6.3.90
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.14.7-gentoo-dist-hardened (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 64 GiB of RAM (62.1 GiB usable)
Graphics Processor: AMD Radeon Graphics

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to