为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Power management

  • 6 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 danu.tihonov

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?