Need help suppressing automatic monitor standby while playing online videos

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
matogoro

Need help suppressing automatic monitor standby while playing online videos

Unread post by matogoro » 2020-06-15, 15:20

Hi all, I've been using Pale Moon on Linux for some time now and I really like it. I have a quick question regarding functionality while watching online videos (YouTube, etc.)

There seems to be some built-in feature in Firefox and Chromium that actively prevents my monitors from going on standby while watching videos online, full-screen or otherwise. This is handy since otherwise I'd have to be pressing keys or moving my mouse to keep the screen awake if I want the monitor to stay on longer than 10 minutes. For whatever reason, Pale Moon doesn't seem to trigger this and the screen falls asleep every time.

I can brute-force this by manually disabling my computer's DPMS (i.e. "xset s off -dpms"), but I feel that there must be a way to do this within Pale Moon as well. Is there some sort of internal setting or add-on that can replicate this functionality?

Thanks in advance!

New Tobin Paradigm

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by New Tobin Paradigm » 2020-06-15, 15:53

We have this capability. I wonder why it isn't working for you.

I don't normally do this but I need to establish a timeline. Could you please test Firefox 52 and see if it works as expected.

matogoro

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by matogoro » 2020-06-15, 16:36

Thanks for the quick reply! I think you're on to something. I downloaded Firefox 52 and tested a random YouTube video, as you suggested. Screen blanks out on the 10-minute mark as well.

I should provide some additional details: I'm running Void Linux, with bspwm/polybar, proprietary Nvidia drivers, triple-monitor setup (using xrandr). Newest version of Pale Moon 28.10.0 (64-bit).

Also, not sure how relevant this is, but when the screen goes on standby with Firefox 52, the audio keeps playing. When it goes on standby with Pale Moon 28.10.0, the audio cuts out (it resumes when I move the mouse and the screens turn back on).

Definitely would appreciate any further insight you may have into this. Thanks!

New Tobin Paradigm

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by New Tobin Paradigm » 2020-06-15, 18:03

Is the video full screen when you expect it to block the display going off?

matogoro

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by matogoro » 2020-06-15, 20:43

Yes, the screen blanks when the video is full screen.

User avatar
EMH_Mark_I
Moonbather
Moonbather
Posts: 72
Joined: 2017-06-09, 22:23
Location: Texas
Contact:

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by EMH_Mark_I » 2020-06-15, 21:18

I've tested this from a few of my systems and the SessionManager inhibitor is working as intended with Pale Moon.

Ubuntu 20.04 GNOME desktop
Image

MX Linux 19 XFCE desktop
Image

Debian Bullseye XFCE desktop
Image

I don't have an install of Void Linux to test with however.
Devuan Ceres | XFCE4
"Be strong and of a good courage, fear not, nor be afraid of them: for the Lord thy God, he it is that doth go with thee; he will not fail thee, nor forsake thee."

matogoro

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by matogoro » 2020-06-15, 21:51

Hm, yeah, I think you may be getting to the core of the issue. I don't see any SessionManager inhibitors running when playing a full-screen video:

Image

I think Void Linux (or at least my particular installation of Void Linux) may have some sort of specialized or stripped down version of dbus, which is weird since I honestly just installed it from the main repository. Ironically enough, it was dbus-like errors that drove me to leave the newer versions of Firefox and come to Pale Moon in the first place.

That all being said, do you all have any insight on how to send this sort of inhibitory signal to dbus? If the problem is on my end, maybe some sort of external script is the answer.

User avatar
EMH_Mark_I
Moonbather
Moonbather
Posts: 72
Joined: 2017-06-09, 22:23
Location: Texas
Contact:

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by EMH_Mark_I » 2020-06-16, 00:51

I should probably have clarified that the previous images are demonstrating the inhibitor being set then unset by playing and stopping a video from YouTube. Playing a video should be enough to set the inhibitor, pausing a video should also unset.

I did test to make sure that the display didn't blank during the viewing, by setting the display blanking / power settings to idle out at 1 minute and then letting a 10 minute video play out. The video wasn't interrupted at any point.
Devuan Ceres | XFCE4
"Be strong and of a good courage, fear not, nor be afraid of them: for the Lord thy God, he it is that doth go with thee; he will not fail thee, nor forsake thee."

New Tobin Paradigm

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by New Tobin Paradigm » 2020-06-16, 01:09

So it does seem distro specific. Cause I know it also works on Fedora-based distros from the last time I tried to switch but that was some months ago and I doubt it has busted. Especially seeing as ESR52 for you displays the same behavior. But I wanted to see if our resident hologram could figure out the nature of this screen blanking emergency.

The Squash

Re: Need help suppressing automatic monitor standby while playing online videos

Unread post by The Squash » 2020-06-18, 01:26

matogoro: Do you even have a screensaver application installed? If so, what is it?

Also I'd like to point out that if the monitor is going into standby, the screensaver doesn't deal with that. It's the power manager that deals with that.

Locked