this post was submitted on 30 Apr 2025
51 points (96.4% liked)

Linux

53840 readers
1305 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Currently running Nobara 41, and if Firefox is playing a video, or even just has a paused video on it, my computer will not go to sleep until I exit Firefox entirely. If I try to shut down instead, it will seemingly close all open apps, and the displays will go black but the mouse cursor remains on screen and does not respond.

If I start Firefox from the CLI, it shows nothing when I try to suspend.

This only happens with Firefox, and as far as I can tell, doesn't happen when playing a video elsewhere.

I don't have any power savings settings that I'm aware of that should be preventing anything, so I don't know what's going on. This is a recent issue, starting maybe 2 weeks ago. I haven't installed any new software besides updates in that time.

Does anybody have any idea what is going on here?

you are viewing a single comment's thread
view the rest of the comments
[–] ReversalHatchery@beehaw.org 1 points 4 days ago (1 children)

did you check it with VLC, or another player that uses hardware accelerated decoding?

[–] moody 1 points 4 days ago (1 children)

Yes, I tried with VLC as well. It works as intended there. Video pauses, and the PC suspends or shuts down normally.

Firefox seems to be the only thing that prevents it, and only if there's a video loaded. Doesn't have to be the active window, and it doesn't matter which display it's on. If there's a video playing or paused, it prevents suspend and shutdown.

[–] ReversalHatchery@beehaw.org 1 points 2 days ago

what happens exactly when you try to sleep it?

what does systemd-inhibit --list say when you can't sleep it?

also, recently I learned that the system can't sleep if a FUSE file system (like NTFS on linux) has file activity right when going down (e.g. a large file was being copied or written).
how did you install firefox, to where (which filesystem), and what ff version?