ferdium-app icon indicating copy to clipboard operation
ferdium-app copied to clipboard

Hibernation disabled while playing media?

Open RJVB opened this issue 1 year ago • 4 comments

Preflight Checklist

  • [X] I agree to follow the Code of Conduct that Ferdium Recipes adheres to.
  • [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.

Ferdium Version

6.7.2-3

Recipe Name

Instagram

Recipe Version

2.5.3

Last Known working version of the recipe

No response

Steps to reproduce

  1. Open Instagram service, with hibernation enabled
  2. Go to the homepage
  3. If necessary, scroll down to one of the auto-playing videos
  4. Switch to another service

Expected Behavior

With hibernation enabled, I expect the service to hibernate eventually. I also expect to be able to trigger hibernation myself via the service context-menu.

Actual Behavior

Neither expectations hold true; the hibernate service action is disabled.

Screenshots

No response

Additional Information

I noticed this because my fans kept blowing, and top showed Ferdium to be the culprit.

I never noticed this before (but I have always been pretty systematic in switching back to the less resource-hungry DM page before switching to a different service).

RJVB avatar May 19 '24 11:05 RJVB

This is definitely a problem. It's an issue for me, because instagram may not be on screen, so i'm not aware that its playing video in the background. It prevents windows from sleeping the monitors indefinitely as the instagram videos play over and over.

chicaneau avatar Jul 29 '24 05:07 chicaneau

On Sunday July 28 2024 22:26:56 chicaneau wrote:

It prevents windows from sleeping the monitors indefinitely as the instagram videos play over and over.

Even if you have another service active/visible, or if the Ferdium window is closed to the systray?

On my Linux rig the screensaver will kick in even when watching a fullscreen video so the main problem is simply that Ferdium burns too much CPU when expensive services do not hibernate as configured.

RJVB avatar Jul 29 '24 12:07 RJVB

Even if you have another service active/visible, or if the Ferdium window is closed to the systray? On my Linux rig the screensaver will kick in even when watching a fullscreen video so the main problem is simply that Ferdium burns too much CPU when expensive services do not hibernate as configured.

It's ok if you have Ferdium completely minimised, but I never close my chat apps. Having another service active/visible doesnt help, it appears the videos play in the background behind the other services

chicaneau avatar Jul 29 '24 21:07 chicaneau

On Monday July 29 2024 14:28:47 chicaneau wrote:

it appears the videos play in the background behind the other services

Yes, that's also how I became aware of the issue.

RJVB avatar Jul 29 '24 21:07 RJVB