為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 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?