Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Power management

more options

Firefox doesn't work with power management. It essentially turns the screen off and then sends the laptop to sleep when watching videos (in full screen). I have tried to disable hardware acceleration, but it didn't fix my problem. I am on 124.0.1 version - flatpack version on fedora, as the actual fedora version from "discover" app center cannot play videos at all. I am running on fedora 39, kde plasma, wayland.

Firefox doesn't work with power management. It essentially turns the screen off and then sends the laptop to sleep when watching videos (in full screen). I have tried to disable hardware acceleration, but it didn't fix my problem. I am on 124.0.1 version - flatpack version on fedora, as the actual fedora version from "discover" app center cannot play videos at all. I am running on fedora 39, kde plasma, wayland.

All Replies (6)

more options

Perhaps it's due to Screen Wake Lock API. Enter about:config in the address bar and switch dom.screenwakelock.enabled to true.

more options

Video content should create inhibitors automatically without requiring the Screen Wake Lock API. Flatpak fullscreen video playback creates the necessary inhibitors for me on Ubuntu GNOME.

danu.tihonov said

fedora version from "discover" app center cannot play videos at all

Fedora requires installing codecs, add the RPM Fusion repo then:

sudo dnf install ffmpeg


Flatpak also requires codecs for best results:

flatpak install org.freedesktop.Platform.ffmpeg-full//23.08
more options

zeroknight said

Video content should create inhibitors automatically without requiring the Screen Wake Lock API. Flatpak fullscreen video playback creates the necessary inhibitors for me on Ubuntu GNOME.

danu.tihonov said

fedora version from "discover" app center cannot play videos at all

Fedora requires installing codecs, add the RPM Fusion repo then:

sudo dnf install ffmpeg


Flatpak also requires codecs for best results:

flatpak install org.freedesktop.Platform.ffmpeg-full//23.08

the flatpack you mentioned was already installed and the fedora version still turns my screen off.

Modified by danu.tihonov

more options

TyDraniu said

Perhaps it's due to Screen Wake Lock API. Enter about:config in the address bar and switch dom.screenwakelock.enabled to true.

I have turned that on, but it didn't fix my issue.

more options

Does it still happen with the Mozilla build?

more options

zeroknight said

Does it still happen with the Mozilla build?

No, it doesn't happen with the Mozilla build. It isn't installable, isn't it? Is it just the executable?