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

Stefan Walter <k...@stefanw.anonaddy.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@stefanw.anonaddy.com

--- Comment #15 from Stefan Walter <k...@stefanw.anonaddy.com> ---
I have a similar problem and had "fixed" it by restarting powerdevil, but it
came back after resuming from sleep.

This time I attached a debugger to powerdevil. Its main thread was hanging in
an infinite loop in ddcutil, which is at least partially caused by this bug:
https://github.com/rockowitz/ddcutil/issues/511

I also found these errors in the log from, as I believe, just before when
powerdevil entered the infinite loop.

org_kde_powerdevil[53700]: Error queiscing libdducitl API. 1 active API calls
outstanding.
org_kde_powerdevil[53700]: [ 53700] Error queiscing libdducitl API. 1 active
API calls outstanding.
org_kde_powerdevil[53700]: org.kde.powerdevil: [DDCutilDisplay]:
ddca_close_display -3032
org_kde_powerdevil[53700]: [ 53700] Display redetection starting.
org_kde_powerdevil[53700]: library quiesced, ddca_close_display temporarily
unavailable
org_kde_powerdevil[53700]: [148754] recheck thread terminating because watch
thread terminated
org_kde_powerdevil[53700]: [ 53700] Watch thread terminated.
org_kde_powerdevil[53700]: [ 53700] Attempting to unlock display lock owned by
different thread
org_kde_powerdevil[53700]: [ 53700] Unexpected error DDCRC_LOCKED from
unlock_display_by_dpath(Display_Path[/dev/i2c-1])

Maybe some of you also have this in your log?

I also can see at the time of the freeze (triggered by hitting play on a
Youtube video), the browser tries to talk to powerdevil, but gets no answer:

vivaldi-stable[141460]:
[141456:141481:0317/211350.243515:ERROR:object_proxy.cc(576)] Failed to call
method: org.freedesktop.PowerManagement.Inhibit.Inhibit: object_path=
/org/freedesktop/PowerManagement/Inhibit: org.freedesktop.DBus.Error.NoReply:
Did not receive a reply (...)

I don't understand why this should delay the pageflip, but it doesn't seem to
be a coincidence either.

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

Reply via email to