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?
How to get Pale Moon to render when screen closed
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- Hobby Astronomer
- Posts: 21
- Joined: 2023-07-08, 03:32
-
- Pale Moon guru
- Posts: 37639
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: How to get Pale Moon to render when screen closed
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.
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.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Fanatic
- Posts: 120
- Joined: 2021-07-27, 04:20
Re: How to get Pale Moon to render when screen closed
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.
-
- Board Warrior
- Posts: 1101
- Joined: 2021-01-26, 11:18
Re: How to get Pale Moon to render when screen closed
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?
https://superuser.com/questions/1097780 ... -is-closed
https://superuser.com/questions/88548/p ... 038#380038
Have you tried the "LidAlwaysOpen" registry key?