Firefox stopped inhibiting screensaver on video playback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Confirmed
|
Unknown
|
|||
firefox (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Update (02/2024):
With Firefox 122 on Ubuntu-Mate 23.10, screensaver/
After a fresh start of firefox, screen saver is blocked properly when playing video but after opening/
I was unable to come up with reproducible scenario but after a few hours of browsing it usually stops working. Restarting firefox fixes the problem.
The bug first appeared around August and affects both .deb and snap packages.
Tested on Ubuntu-Mate 22.04.3, Xorg, both Pulseaudio and Pipewire (if that's relevant).
I don't see any relevant msgs in xsession-errors or system logs.
In Mozilla Bugzilla #1862159, Thedcoder (thedcoder) wrote : | #6 |
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #7 |
Can you run with MOZ_LOG=
In Mozilla Bugzilla #1862159, Thedcoder (thedcoder) wrote : | #8 |
Created attachment 9361606
output.log
Turns out it was actually very easy to reproduce:
1. Open Firefox
2. Open private window and load a video (I just opened YouTube)
4. Close the private window
5. Open a new private window and load another video
6. Confirm that power inhibition is broken
Here's the terminal output:
In Mozilla Bugzilla #1862159, Thedcoder (thedcoder) wrote : | #9 |
Turns out it was actually very easy to reproduce:
1. Open Firefox
2. Open private window and load a video (I just opened YouTube)
4. Close the private window
5. Open a new private window and load another video
6. Confirm that power inhibition is broken
Here's the terminal output:
```
$ MOZ_LOG=
[GFX1-]: vaapitest: ManageChildProcess failed
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockListener video-playing state locked-foreground
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock switched to WakeLockType FreeDesktopScre
[Parent 330129: Main Thread]: D/LinuxWakeLock shouldLock 1
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock InhibitFreeDesk
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock switched to WakeLockType FreeDesktopPower
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock InhibitFreeDesk
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockListener video-playing state locked-background
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock shouldLock 0
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock UninhibitFreeDe
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockListener video-playing state unlocked
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Thread]: D/LinuxWakeLock shouldLock 0
[Parent 330129: Main Thread]: D/LinuxWakeLock WakeLockTopic:
[Parent 330129: Main Th...
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #10 |
This testcase works for me, Thanks!
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #11 |
Created attachment 9361707
Bug 1862159 [Linux] Add IsCancelledGError() to detect DBus operation cancellation r?emilio
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #12 |
Created attachment 9361708
Bug 1862159 [Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r?emilio
- Update WAKE_LOCK_LOG to print 'this' which allows to sort operations by lock type
- GetOrInsertNew() call always creates a new WakeLockTopic object so in this patch call it only if we create a new object.
- Split mWaitingForDBus
opposite requests.
- Use g_cancellable to cancel pending DBus operation if we want different wake lock action.
Depends on D192621
In Mozilla Bugzilla #1862159, Pulsebot-d (pulsebot-d) wrote : | #13 |
Pushed by <email address hidden>:
https:/
[Linux] Add IsCancelledGError() to detect DBus operation cancellation r=emilio
In Mozilla Bugzilla #1862159, Smolnar (smolnar) wrote : | #14 |
In Mozilla Bugzilla #1862159, Thedcoder (thedcoder) wrote : | #15 |
(In reply to Sandor Molnar[:smolnar] from comment #8)
> https:/
Are you sure that this is fixed? Revision D192622 also seems to be required and it's still open for merge.
Also would these fixes be deployed in v121? Why not v120?
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #16 |
Sorry, my fault. Forget to mark as leave open.
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #17 |
I'm testing firefox-nightly installed from here https:/
This isn't fixed.
```
# busctl --user monitor org.freedesktop
‣ Type=method_call Endian=l Flags=0 Version=1 Cookie=172 Timestamp="Tue 2023-11-07 19:04:09.075478 UTC"
Sender=:1.110 Destination=:1.26 Path=/org/
UniqueName=:1.110
MESSAGE "u" {
UINT32 2;
};
‣ Type=error Endian=l Flags=1 Version=1 Cookie=383 ReplyCookie=172 Timestamp="Tue 2023-11-07 19:04:09.075756 UTC"
Sender=:1.26 Destination=:1.110
ErrorName=
UniqueName=:1.26
MESSAGE "s" {
STRING "Invalid cookie";
};
```
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #18 |
We're waiting to D192622.
In Mozilla Bugzilla #1862159, Pulsebot-d (pulsebot-d) wrote : | #19 |
Pushed by <email address hidden>:
https:/
[Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r=emilio
In Mozilla Bugzilla #1862159, Sstanca (sstanca) wrote : | #20 |
Backed out for causing WakeLock related failures.
* [Backout link]()
* [Push with failures wpt failures](https:/
* [Failure Log](https:/
* Failure line: PROCESS-CRASH | MOZ_DIAGNOSTIC_
-------
* [Push with failures - reftests failures](https:/
* [Failure Log](https:/
* Failure line: Assertion failure: g_cancellable_
-------
* [Push with failures - mochitests failures](https:/
* [Failure Log](https:/
* Failure line: Assertion failure: g_cancellable_
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #21 |
Updated, Thanks.
In Mozilla Bugzilla #1862159, Pulsebot-d (pulsebot-d) wrote : | #22 |
Pushed by <email address hidden>:
https:/
[Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r=emilio
In Mozilla Bugzilla #1862159, Sstanca (sstanca) wrote : | #23 |
Backed out for causing bp-nu bustages in WakeLockListener.h.
* [Backout link](https:/
* [Push with failures](https:/
* [Failure Log](https:/
* Failure line: /builds/
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #24 |
Updated, Thanks.
In Mozilla Bugzilla #1862159, Pulsebot-d (pulsebot-d) wrote : | #25 |
Pushed by <email address hidden>:
https:/
[Linux] Rework wake lock to better handle wake lock states and allow to cancel pending DBus operations r=emilio
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #26 |
Created attachment 9362793
Bug 1862159 [Linux] Fix WakeLockListener to build with disabled DBus r?emilio
In Mozilla Bugzilla #1862159, Pulsebot-d (pulsebot-d) wrote : | #27 |
Pushed by <email address hidden>:
https:/
[Linux] Fix WakeLockListener to build with disabled DBus r=emilio
In Mozilla Bugzilla #1862159, Thedcoder (thedcoder) wrote : | #29 |
Is this supposed to be fixed? I can still reproduce it in Nightly `121.0a1 (2023-11-10) (64-bit)`
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #30 |
(In reply to Damon from comment #23)
> Is this supposed to be fixed? I can still reproduce it in Nightly `121.0a1 (2023-11-10) (64-bit)`
Yes, it should be fixed. Please attach another log of MOZ_LOG=
Thanks.
In Mozilla Bugzilla #1862159, Thedcoder (thedcoder) wrote : | #31 |
The steps to reproduce have changed a bit:
1. Open Firefox
2. Open a private window and load a video
3. Close the window abruptly (without pausing/stopping the video, while it's still playing)
4. Repeat step 2
5. Confirm that power inhibition is broken
Output:
```
$ MOZ_LOG=
[GFX1-]: vaapitest: ManageChildProcess failed
[Parent 70035, Main Thread] WARNING: Failed to call GetIdletime(): GDBus.Error:
: 'glib warning', file /build/
** (firefoxnightly
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] switched to WakeLockType FreeDesktopScre
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f30c22fd8e0] WakeLockListener topic video-playing state locked-foreground request lock 1
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] InhibitFreeDesk
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] switched to WakeLockType FreeDesktopPower
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] InhibitFreeDesk
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f308ea77580] WakeLockTopic:
[Parent 70035: Main Thread]: D/LinuxWakeLock [7f30c22fd8e0]...
summary: |
- Firefox stops inhibiting screensaver after opening two or more tabs with - video playback + Firefox stops inhibiting screensaver after opening/un-suspending two or + more tabs with video playback |
description: | updated |
summary: |
- Firefox stops inhibiting screensaver after opening/un-suspending two or - more tabs with video playback + Firefox stopped inhibiting screensaver on video playback |
description: | updated |
In Mozilla Bugzilla #1862159, Intrlocutr (intrlocutr) wrote : | #32 |
Created attachment 9380085
firefox_no_inhibit
This bug is still present on Firefox 122.0.1, Arch Linux. Relevant package versions:
linux 6.7.4.arch1-1
dbus 1.14.10-2
firefox 122.0.1-1
In Mozilla Bugzilla #1862159, Intrlocutr (intrlocutr) wrote : | #33 |
Comment on attachment 9380085
firefox_no_inhibit
I am using i3wm 4.23, no desktop environment.
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #34 |
Can confirm, this bug is still happening.
Archlinux up-to-date. XFCE.
In Mozilla Bugzilla #1862159, Eugene San (eugenesan) wrote : | #35 |
Around 6 months ago, I was experiencing similar issues when Firefox would randomly stop inhibiting screensaver after some time, closing/opening tabs or just starting/stopping playback in more than two tabs (concurrently or sequentially).
Recently, with versions ~120 screensaver/lock inhibition stopped working completely.
I tested on Ubuntu-Mate 22.04, 23.10, 24.04 and vanilla Ubuntu 24.04 and the problem persists.
Firefox packages from Mozilla, Canonical PPA and Snap are all broken.
Here is the log of setting the lock to 1 minute, starting playback, waiting till screensaver actiavtes, cancel the the screensaver and stop playback:
```
MOZ_LOG=
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_18
libva info: va_openDriver() returns 0
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] switched to WakeLockType FreeDesktopScre
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c333831aa30] WakeLockListener topic video-playing state locked-foreground request lock 1
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] InhibitFreeDesk
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] switched to WakeLockType FreeDesktopPower
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] InhibitFreeDesk
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
[Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
In Mozilla Bugzilla #1862159, Eugene San (eugenesan) wrote : | #36 |
(In reply to Eugene San from comment #29)
> Around 6 months ago, I was experiencing similar issues when Firefox would randomly stop inhibiting screensaver after some time, closing/opening tabs or just starting/stopping playback in more than two tabs (concurrently or sequentially).
>
> Recently, with versions ~120 screensaver/lock inhibition stopped working completely.
>
> I tested on Ubuntu-Mate 22.04, 23.10, 24.04 and vanilla Ubuntu 24.04 and the problem persists.
> Firefox packages from Mozilla, Canonical PPA and Snap are all broken.
>
> Here is the log of setting the lock to 1 minute, starting playback, waiting till screensaver actiavtes, cancel the the screensaver and stop playback:
> ```
> MOZ_LOG=
> libva info: VA-API version 1.19.0
> libva info: Trying to open /usr/lib/
> libva info: Found init function __vaDriverInit_1_18
> libva info: va_openDriver() returns 0
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] switched to WakeLockType FreeDesktopScre
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c333831aa30] WakeLockListener topic video-playing state locked-foreground request lock 1
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] InhibitFreeDesk
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] switched to WakeLockType FreeDesktopPower
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] InhibitFreeDesk
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
> [Parent 7830: Main Thread]: D/LinuxWakeLock [7c3313712b00] WakeLockTopic:
In Mozilla Bugzilla #1862159, Plurtu (plurtu) wrote : | #37 |
(In reply to Eugene San from comment #29)
> Recently, with versions ~120 screensaver/lock inhibition stopped working completely.
It works for me on vanilla Ubuntu 23.10.
The `video-playing` inhibitor is only set when the video is visible (ie window is not minimized or fully covered by another window). Wayland is able to detect covered windows unlike X11 and was recently enabled in version 121. You can disable Wayland to see the difference:
MOZ_
In Mozilla Bugzilla #1862159, O-me-d (o-me-d) wrote : | #38 |
I have the same issue on latest Gentoo, with Firefox 123.0
In Mozilla Bugzilla #1862159, Eugene San (eugenesan) wrote : | #39 |
(In reply to Kestrel from comment #31)
> (In reply to Eugene San from comment #29)
> > Recently, with versions ~120 screensaver/lock inhibition stopped working completely.
>
> It works for me on vanilla Ubuntu 23.10.
>
> The `video-playing` inhibitor is only set when the video is visible (ie window is not minimized or fully covered by another window). Wayland is able to detect covered windows unlike X11 and was recently enabled in version 121. You can disable Wayland to see the difference:
>
> MOZ_ENABLE_
I have not tried Vanilla 23.10 and since other browsers do not have this issue I see no reason to blame/exclude any specific distro. Numerous reports support.
Now when I think about it, I tested both X and Wayland variants of Ubuntu so we can't blame X or Wayland either.
Maybe your routine/
Also, why would you assume anyone taking their time to report the issue here, would test with the video in background or partially covered? It's a possibility, but common we are mostly gown-ups here.
In Mozilla Bugzilla #1862159, Eugene San (eugenesan) wrote : | #40 |
Update.
Seems like the issue is not affecting KDE Plasma sessions.
I installed Plasma session on the same machine (Ubuntu Mate 23.10) and it works with the same Firefox instance without an issue.
Maybe "Media Playback" detection (indicated by the relevant Tray Icon) helps or maybe Plasma handling DBUS msgs differently.
I also tried freshly installed Kubuntu 24.04 and OpenSuSe Thumbleweed with plasma and they both work.
Here is the log:
```
MOZ_ENABLE_
libva info: VA-API version 1.19.0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_18
libva info: va_openDriver() returns 0
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] switched to WakeLockType FreeDesktopScre
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca8721f670] WakeLockListener topic video-playing state locked-foreground request lock 1
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] InhibitFreeDesk
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca8721f670] WakeLockListener topic video-playing state unlocked request lock 0
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] UninhibitFreeDe
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
[Parent 17406: Main Thread]: D/LinuxWakeLock [78ca7343e650] WakeLockTopic:
```
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #41 |
This is still happening
Firefox 125.0.3 (64-bit)
XFCE xfwm4 4.18.0
```
dbus-send --dest=
```
```
array [
]
```
This returns nothing when firefox is opened for a while. If I restart firefox, then the inhibit is ok.
In Mozilla Bugzilla #1862159, Gunerius (gunerius) wrote : | #42 |
Sorry if this is irrelevant, but I have the same problem on Firefox 126.0 for Windows 10. Not expecting any replies, just wanted to mention it in case it's useful to anyone.
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #43 |
(In reply to Øystein Guneriussen from comment #36)
> Sorry if this is irrelevant, but I have the same problem on Firefox 126.0 for Windows 10. Not expecting any replies, just wanted to mention it in case it's useful to anyone.
Please file another bug against Windows - it's different issue there.
Amin Bandali (bandali) wrote : | #1 |
Hello,
Are you able to reproduce this on Ubuntu Noble (24.04), and with the latest version of Firefox? If so, would you please also open a bug report upstream on Mozilla's tracker at https:/
Also, would you please double-check the system logs and also dmesg for any potentially relevant errors, such as AppArmor DENIED lines?
Changed in firefox (Ubuntu): | |
status: | New → Incomplete |
Eugene San (eugenesan) wrote (last edit ): | #2 |
To fix the issue, I was forced to switch to KDE Plasma (on the same system).
KDE Plasma had no issues with Firefox on both 23.10 and 24.04.
I opened a bug with Mate and there is already a bug report on bugzilla.
Unfortunately, no solution was provided so for now Mate + Firefox is not a practical combination.
Regarding error msgs and relevant log entries, there are none.
The problem seems to be related to DBUS communication between Mate and Firefox.
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #44 |
This bug is never gonna get fixed right?
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #45 |
(In reply to Manu Barrio Linares [:Manu] from comment #38)
> This bug is never gonna get fixed right?
Who knows. There's too many bugs and few developers who works on them. Feel free to join and try to solve it. There's a mini-howto:
https:/
Amin Bandali (bandali) wrote : | #3 |
I see, thanks for the update. Would you please provide the bug number on Bugzilla so we could potentially link it to this one Launchpad for future reference?
Eugene San (eugenesan) wrote : | #4 |
@bandali
I believe this bug report on bugzilla is related: https:/
Amin Bandali (bandali) wrote : | #5 |
Thanks, I'll amend this bug's metadata accordingly.
Changed in firefox (Ubuntu): | |
status: | Incomplete → Confirmed |
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #46 |
Manu, please run Firefox on terminal and attach a log with MOZ_LOG=
Run as:
```
MOZ_LOG=
```
and attach the log here.
Thanks.
Changed in firefox: | |
status: | Unknown → Confirmed |
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #47 |
Created attachment 9418891
LinuxWakeLock.log
(In reply to Martin Stránský [:stransky] (ni? me) from comment #40)
> Manu, please run Firefox on terminal and attach a log with MOZ_LOG=
> Run as:
> ```
> MOZ_LOG=
> ```
> and attach the log here.
> Thanks.
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #48 |
Before closing firefox in the log I attached above, video was playing and there was NO inhibitor in dbus:
```
# dbus-send --dest=
array [
]
```
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #49 |
It may be a dupe of Bug 1896235. Will try to look at it when Bug 1896235 lands.
In Mozilla Bugzilla #1862159, SharkCZ (dan-danny) wrote : | #50 |
I suspect I am affected by this as well, after updating from FF 115 ESR to FF 128 ESR in F-40 with XFCE.
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #51 |
Can you test latest nightly please?
https:/
Thanks.
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #52 |
(In reply to Martin Stránský [:stransky] (ni? me) from comment #45)
> Can you test latest nightly please?
> https:/
> Thanks.
Been testing Nightly for the last 2 days, and the problem seems to be gone.
I'll continue to test for a few more days.
In Mozilla Bugzilla #1862159, Mbarriolinares (mbarriolinares) wrote : | #53 |
1 day later, happened again. Three big is still present in nightly.
In Mozilla Bugzilla #1862159, Plurtu (plurtu) wrote : | #54 |
When it happens in latest Nightly, try opening the video in a new window and see if playing creates a new inhibitor (as per Comment 42).
In Mozilla Bugzilla #1862159, Stransky (stransky) wrote : | #55 |
Please attach fresh MOZ_LOG=
Thanks.
Firefox fails to properly call the `org.freedeskto p.PowerManageme nt` D-Bus interface. The issue was originally posted on [Xfce's bug-tracker](https:/ /gitlab. xfce.org/ xfce/xfce4- power-manager/ -/issues/ 210):
> I've been doing some debugging and found that Firefox isn't calling the D-Bus interface method at `org.freedeskto p.PowerManageme nt.Inhibit -> Inhibit`. .PowerManagemen t` p.PowerManageme nt.Inhibit -> UnInhibit` with the wrong cookie value every-time I pause the video, but it won't call `Inhibit` after I resume playback: .PowerManagemen t freedesktop/ PowerManagement /Inhibit Interface= org.freedesktop .PowerManagemen t.Inhibit Member=UnInhibit org.xfce. PowerManager. Error.CookieNot Found ErrorMessage= "Invalid cookie" freedesktop/ PowerManagement /Inhibit Interface= org.freedesktop .PowerManagemen t.Inhibit Member=UnInhibit org.xfce. PowerManager. Error.CookieNot Found ErrorMessage= "Invalid cookie" freedesktop/ PowerManagement /Inhibit Interface= org.freedesktop .PowerManagemen t.Inhibit Member=UnInhibit org.xfce. PowerManager. Error.CookieNot Found ErrorMessage= "Invalid cookie"
>
> I used this command to monitor the calls and didn't see anything while I was playing media in Firefox: `busctl --user monitor org.freedesktop
>
> The interesting thing is that it does call `org.freedeskto
>
> ```
> $ busctl --user monitor org.freedesktop
> Monitoring bus message stream.
> ‣ Type=method_call Endian=l Flags=0 Version=1 Cookie=2768 Timestamp="Tue 2023-10-31 06:41:08.423673 UTC"
> Sender=:1.43 Destination=:1.35 Path=/org/
> UniqueName=:1.43
> MESSAGE "u" {
> UINT32 21;
> };
>
> ‣ Type=error Endian=l Flags=1 Version=1 Cookie=273 ReplyCookie=2768 Timestamp="Tue 2023-10-31 06:41:08.423829 UTC"
> Sender=:1.35 Destination=:1.43
> ErrorName=
> UniqueName=:1.35
> MESSAGE "s" {
> STRING "Invalid cookie";
> };
>
> ‣ Type=method_call Endian=l Flags=0 Version=1 Cookie=2777 Timestamp="Tue 2023-10-31 06:41:15.928327 UTC"
> Sender=:1.43 Destination=:1.35 Path=/org/
> UniqueName=:1.43
> MESSAGE "u" {
> UINT32 21;
> };
>
> ‣ Type=error Endian=l Flags=1 Version=1 Cookie=274 ReplyCookie=2777 Timestamp="Tue 2023-10-31 06:41:15.928471 UTC"
> Sender=:1.35 Destination=:1.43
> ErrorName=
> UniqueName=:1.35
> MESSAGE "s" {
> STRING "Invalid cookie";
> };
>
> ‣ Type=method_call Endian=l Flags=0 Version=1 Cookie=2786 Timestamp="Tue 2023-10-31 06:41:25.629256 UTC"
> Sender=:1.43 Destination=:1.35 Path=/org/
> UniqueName=:1.43
> MESSAGE "u" {
> UINT32 21;
> };
>
> ‣ Type=error Endian=l Flags=1 Version=1 Cookie=275 ReplyCookie=2786 Timestamp="Tue 2023-10-31 06:41:25.629365 UTC"
> Sender=:1.35 Destination=:1.43
> ErrorName=
> UniqueName=:1.35
> MESSAGE "s" {
> STRING "Invalid cookie";
> };
> ```
>
> I also found that this issue is not easily reproducible. I restarted Firefox to test it again and it worked perfectly and called both functions normally with the correct values!
>
> I normally keep Firefox open 24/7, so at some point it glitches out and stops calling `Inhibit` and keeps calling `UnInhibit` with a cached cookie value every time the p...