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?

    • moodyOP
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      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.

  • Amphy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    13 hours ago

    I had this issue on my desktop in Windows. Haven’t tested to see if it’s an issue on Linux (I just recently set up dual-booting with Kubuntu). I know your request is for Nobara but this may be helpful for troubleshooting.

    The fix for me on Windows was always to power off my audio interface. Using powercfg /requests would show Firefox kept the audio device active once a YouTube video started playing. The software fix was arbitrary… sometimes closing the YouTube tab would work, sometimes I had to close the window, and sometimes none of those would work. What *always" worked was physically powering off my interface, waiting about 2 seconds, and turning it back on.

    • moodyOP
      link
      fedilink
      arrow-up
      1
      ·
      4 hours ago

      That’s not a fix though, it’s a hoop to jump through every time. Regardless of OS, it’s incorrect behavior.