Page 1 of 1

How to get Pale Moon to render when screen closed

Posted: 2024-04-29, 02:55
by VA1DER
I reported an issue some time ago that I was having with Pale Moon not working over my VNC connections. I finally was able to determine the source of my problem - I am using a laptop and in order to avoid putting wear on my backlight, I close my laptop lid when I go away. Interestingly, Pale Moon is coded to recognize when a laptop's lid is closed and will refuse to render anything in the window when this is the case.

For most people this isn't an issue, but for anyone who runs Pale Moon over VNC on a laptop this causes problems. No other browser seems to do this, so I'm wondering is there is a setting anywhere in Pale Moon that will make it render its window regardless of what it thinks the lid closure state is?

Re: How to get Pale Moon to render when screen closed

Posted: 2024-04-29, 11:06
by Moonchild
As far as I'm aware (without digging into the code), Pale Moon does not keep tabs on physical screen state, but it is possible, like I already hinted at in the other thread, that it's a DirectX/Direct2d problem over VNC; as it's very well possible the drivers in use try to be as efficient as possible and don't do accelerated screen updates when the screen is "off" to save power.
Since disabling hardware acceleration was marked as a solution, that would stroke with this observation.

As to why you aren't observing this with other browsers, that's probably because they aren't using direct2d for content. Both current Firefox (I just checked) and all Chromium-based browsers use Google Skia for it - while that does do acceleration, it doesn't directly use Direct2d.

Re: How to get Pale Moon to render when screen closed

Posted: 2024-06-10, 06:26
by noellarkin
See if you can get a dummy HDMI plug. I use TightVNC to access my laptop, and use a dummy plug that fakes a monitor so even if the laptop screen is closed, everything is rendered in the fake monitor.

Re: How to get Pale Moon to render when screen closed

Posted: 2024-06-10, 07:48
by Kris_88
Here's something you can try:
https://superuser.com/questions/1097780 ... -is-closed
https://superuser.com/questions/88548/p ... 038#380038

Have you tried the "LidAlwaysOpen" registry key?