🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.maint.kde
Article #15

Re: Firefox wakelocks

#15
From: Rainer Dorsch
Date: Fri, 27 Nov 2026 22:30
107 lines
5752 bytes
--nextPart6329329.lOV4Wx5bFT
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Rainer Dorsch <ml@bokomoko.de>
To: debian-kde@lists.debian.org
Subject: Re: Firefox wakelocks
Date: Fri, 27 Nov 2026 23:27:49 +0100
Message-ID: <6052551.DvuYhMxLoT@h370>
Organization: @home
In-Reply-To: <87o6bsyvgf.fsf@navis.mail-host-address-is-not-set>
MIME-Version: 1.0

Hi Nicholas,

Am Samstag, 14. November 2026, 03:53:52 Mitteleurop=C3=A4ische Normalzeit s=
chrieb=20
Nicholas D Steeves:
> Hi Rainer,
>=20
> Rainer Dorsch <ml@bokomoko.de> writes:
> > Am Donnerstag, 12. November 2026, 22:44:02 Mitteleurop=C3=A4ische Norma=
lzeit
> >=20
> > schrieb Nicholas D Steeves:
> >> > since a while I see from time to time firefox wakelocks which inhibit
> >> > the
> >> > plasma session to suspend, even if I kill the firefox process
> >> > completely:
> >> >=20
> >> > rd@h370:~/git/emanager$ busctl --user call
> >> > org.freedesktop.PowerManagement
> >> > / org/kde/Solid/PowerManagement/PolicyAgent
> >> > org.kde.Solid.PowerManagement.PolicyAgent ListInhibitions
> >> > a(ss) 1 "firefox-esr" "Playing video"
> >> > rd@h370:~/git/emanager$ ps uaxwww|grep firefox
> >> > rd        583476  0.0  0.0   6620  2420 pts/6    S+   07:28   0:00 g=
rep
> >> > firefox rd@h370:~/git/emanager$
>=20
> =E2=80=A6
>=20
> >> I very briefly looked into this and found an upstream bug that looks
> >> similar: https://bugzilla.mozilla.org/show_bug.cgi?id=3D2034009
> >=20
> > Thanks for sharing the link. For me this bug report  looks different: T=
he
> > user complains about the system not going to suspend, when the video is
> > playing.
> >=20
> > I see the system not going to suspend if the tab with the video is clos=
ed
> > or even the entire firefox is closed. Unfortunately, I can not reliably
> > repro it so far, it happens every now and then.
>=20
> From what I read at that bug, it's undefined whether the
> PowerManagement.*Inhibition deactivation signal is sent when the tab,
> window, or Firefox is closed.  This bug documents how
> videos_with_audio_unmuted, videos_with_audio_muted, and
> videos_without_audio are handled differently, and how this can make the
> issue difficult to reproduce <- that info could help you reproduce your
> bug.
>=20
> Also, that bug looks like it provides a workaround for you: disable the
> mechanism in Firefox that inhibits power management, and you disable the
> thing that triggers the bug.

Thanks again for following up. The bug did not trigger for a long time, but=
=20
today it did again. I discovered that

$ systemctl --user restart plasma-powerdevil.service=20

is sufficient to make suspend work again.

Since the bug did not show up for a long time, I suspect that restarting th=
e=20
plasma-powerdevil service even fixes the entire issue until the next power=
=20
cycle (or at least logout/login cycle). I will keep observing this...

Thanks
Rainer

=2D-=20
Rainer Dorsch
http://bokomoko.de/
--nextPart6329329.lOV4Wx5bFT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEvxDOxJgXzxfm1YjWzE1Dd9lwMVMFAmsKA+UACgkQzE1Dd9lw
MVMMZgv/UnCD+8rM654PrgtUBdD17Hyi30QtjLJJ2pq0+3CCFMmrSx7Wr83fXC+D
r5fnV50aTqZIM2w3QTQ3UcCuyrGuLkSmWNXX/YLahE/vDlMSKpyirMF8kpWEcPiC
o/mDOn3NXqVvQyXp6eThtXHNWlZPZKftg0WiLKNwGgIj0u6csk3muvwMkYa7mBPw
8slP0JFAgq0NDzlbjP29KM3qHcaYiJeBtlD8xvOaF1+4OKAUKqMWOeo1iFi6Pmpi
hE5rB7RKfdwtSFvYJjM4VYv9Hd6mxqm9Ky6oJCpJAoToMLfyuMtNZ2XByVBrdqnt
T2kFuKy0bVdsvzvAroVYMRWyPQ+6Kqs0L6baT/sFbCt/4sWeFS7WRgTRTz5aqqav
AvIXQ88QdNgL4JIP6Pj90ruJhdeSgCDljwKznhB13KTUKJztr8aTQtiAAkLOMXNu
7Zt0n2XUx4OgP0vvEvmnq0j+2ZdyXnpkvXG3kWcOiNWMj+athip2oP29eb9NKvIy
SzR/AZyR
=8Ycm
-----END PGP SIGNATURE-----

--nextPart6329329.lOV4Wx5bFT--
Technical Details
Message-ID: <O4cC5-eyqa-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <O4cC5-eyqa-7@gated-at.bofh.it> <NYwWR-bnCm-1@gated-at.bofh.it> <NZ6QF-bHJt-5@gated-at.bofh.it> <NZc9H-bKIu-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Rainer Dorsch <ml@bokomoko.de>
Newsgroups: linux.debian.maint.kde
Subject: Re: Firefox wakelocks
Date: Fri, 27 Nov 2026 23:30:01 +0100
Message-ID: <O4cC5-eyqa-5@gated-at.bofh.it>
References: <O4cC5-eyqa-7@gated-at.bofh.it> <NYwWR-bnCm-1@gated-at.bofh.it> <NZ6QF-bHJt-5@gated-at.bofh.it> <NZc9H-bKIu-3@gated-at.bofh.it>
X-Original-To: debian-kde@lists.debian.org
X-Mailbox-Line: From debian-kde-request@lists.debian.org  Fri Nov 27 22:28:07 2026
Old-Return-Path: <ml@bokomoko.de>
X-Amavis-Spam-Status: No, score=-14.5 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5,
 RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
Organization: @home
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart6329329.lOV4Wx5bFT";
 micalg="pgp-sha512"; protocol="application/pgp-signature"
X-Mailing-List: <debian-kde@lists.debian.org> archive/latest/42353
List-ID: <debian-kde.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kde/>
List-Archive: https://lists.debian.org/msgid-search/6052551.DvuYhMxLoT@h370
Approved: robomod@news.nic.it
Lines: 107
Sender: robomod@news.nic.it
X-Original-Date: Fri, 27 Nov 2026 23:27:49 +0100
X-Original-Message-ID: <6052551.DvuYhMxLoT@h370>
X-Original-References: 
 <3438747.mvXUDI8C0e@h370> <3014284.ElGaqSPkdT@h370>
 <87o6bsyvgf.fsf@navis.mail-host-address-is-not-set>