Open Bug 1746064 Opened 3 years ago Updated 3 years ago

powermanagement not disabled during video playback on Linux

Categories

(Core :: Audio/Video: Playback, enhancement)

Firefox 91
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: kurt, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

When playing a movie it seems that the screensaver is disabled, but power management is not. This results in screen being powered down while watching a movie.

I see those calls:
method call time=1639509350.753891 sender=:1.11914 -> destination=org.freedesktop.ScreenSaver serial=3 path=/ScreenSaver; interface=org.freedesktop.ScreenSaver; member=Inhibit
string "firefox-esr"
string "video-playing"
method call time=1639509351.439982 sender=:1.11914 -> destination=org.freedesktop.ScreenSaver serial=4 path=/ScreenSaver; interface=org.freedesktop.ScreenSaver; member=Inhibit
string "firefox-esr"
string "audio-playing"

It's my understanding that you should also call org.freedesktop.PowerManagement.Inhibit's Inhibit method.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

This might also be XFCE's problem. I've just filed this: https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/98

You need to log in before you can comment on or make changes to this bug.