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

            Bug ID: 510938
           Summary: Powerdevil Crashes and Persistent libddcutil
                    Initialization on Fedora 42
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 186028
  --> https://bugs.kde.org/attachment.cgi?id=186028&action=edit
crash

Powerdevil (6.4.5) on Fedora 42 with Plasma 6 is unstable, crashing or exiting
unexpectedly. Despite setting POWERDEVIL_NO_DDCUTIL=1 and DdcUtilBackend
Enabled=false in powermanagementprofilesrc, libddcutil (2.2.1) continues to
initialize, causing issues. Logs show errors like
"org.kde.powerdevil.chargethresholdhelper.getthreshold failed" and
"org.kde.powerdevil.backlighthelper.brightness failed". Previously, a crash
occurred with "ddc_packet_io.c:332: Assertion 'bus_info' failed".
System:
    • OS: Fedora 42 
    • Desktop: KDE Plasma 6 
    • Powerdevil: 6.4.5-1.fc42 
    • ddcutil: 2.2.1-1.fc42 
    • Hardware: 
        ◦ CPU: AMD Ryzen 7 7800X3D 8-Core Processor (8 cores, 1 thread/core,
max 5053.377 MHz) 
        ◦ GPU: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] (rev
c8), AMD Raphael (rev cb) 
        ◦ Monitors: 3 monitors Sceptre Tech Inc Sceptre F24, ASUSTek Computer
INC VG27A, Dell Inc. AW2725DF
Steps Tried:
    1. Set POWERDEVIL_NO_DDCUTIL=1 in systemd override and DdcUtilBackend
Enabled=false. 
    2. Reinstalled powerdevil and ddcutil. 
    3. Renamed libddcutil.so.5 (caused Powerdevil to fail with status=127). 
    4. Reset powermanagementprofilesrc. 
    5. Added StandardOutput=journal and StandardError=journal to systemd
service. 
Attachments:
    • powerdevil.log (journalctl output)
      nothing got printed to powerdevil_debug.log
Steps to Reproduce:
    1. Start plasma-powerdevil: systemctl --user start plasma-powerdevil 
    2. Check status: systemctl --user status plasma-powerdevil 
    3. Monitor logs: journalctl --user -u plasma-powerdevil --since "10 minutes
ago" 
Current State:
Powerdevil runs but logs show libddcutil initialization and errors
(chargethresholdhelper, backlighthelper). Manual brightness control via xrandr
works as a workaround.
Please advise on resolving libddcutil dependency and persistent errors.

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

Reply via email to