搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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.

由 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?