Bug 392032

Summary: Lot of logging noise during video playback
Product: [Unmaintained] Powerdevil Reporter: Christian Muehlhaeuser <muesli>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christian Muehlhaeuser 2018-03-19 00:48:25 UTC
While playing a YouTube video in Firefox, powerdevil keeps excessively logging the following output. Note that I've cut it down to just a fraction of a second of log messages, but this keeps going on as long as the video is playing.

The power inhibition seems to work fine, but the logging alone seems to slow down the system.

===

Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Releasing inhibition with cookie  1695
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Scheduling inhibition from ":1.16" "firefox" with cookie 1696 and reason "audio-playing"
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Releasing inhibition with cookie  1696
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Scheduling inhibition from ":1.16" "firefox" with cookie 1697 and reason "audio-playing"
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Releasing inhibition with cookie  1697
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: It was only scheduled for inhibition but not enforced yet, just discarding it
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Scheduling inhibition from ":1.16" "firefox" with cookie 1698 and reason "audio-playing"
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Enforcing inhibition from ":1.16" "firefox" with cookie 1685 and reason "audio-playing"
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Enforcing inhibition from ":1.16" "firefox" with cookie 1686 and reason "audio-playing"
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: Enforcing inhibition from ":1.16" "firefox" with cookie 1687 and reason "audio-playing"
Mar 19 00:44:40 bender org_kde_powerdevil[725]: powerdevil: By the time we wanted to enforce the inhibition it was already gone; discarding it
Comment 1 Kai Uwe Broulik 2018-03-19 07:06:07 UTC
This looks like a Firefox bug to me, it shouldn't constantly request an inhibition but only when the video starts and then when it stops/pauses. Please report this issue to them.
Comment 2 Christian Muehlhaeuser 2018-03-19 11:39:03 UTC
Will do, out of curiosity: what does "can't contact ck" mean?