ArcticaProject / nx-libs

nx-libs
Other
120 stars 39 forks source link

screensaver file unused. #263

Open uli42 opened 7 years ago

uli42 commented 7 years ago

hw/nxagent/screensaver is unused

Sunweaver:

In Xnest (where nxagent got derived from), the screensaver file gets included via Display.c. This needs further investigation.

(BTW: screensaver seem to work in X, but my observation is it does not blank the screen. This might be related)

uli42 commented 6 years ago

The default for screensaving in 3.5.99.16 is this:

Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600

While this looks ok it does not blank the screen for me. I need to manually call xset s noblank. Then I get the screensaver after $timeout seconds (black screen with moving X logo). Maybe the "blank" parameter requires some internal (ddx specific) mechanism that we do no have in NX. DPMS is not available, BTW:

DPMS (Energy Star):
  Display is not capable of DPMS
uli42 commented 4 years ago

In Xnest this image is used for the screenblanker. In contrast to nxagent Xnest takes care of blanking the screen in xnestSaveScreen() while nxagent leaves that to the dix. As nxagent is doing nothing in nxagentSaveScreen() it is clear that the screen blanking is not working with "prefer blanking: yes".

I don't think we should use the (ugly) screensaving image from Xnest. So dropping that file is ok from my POV. We should, however, add code like in xnestSaveScreen to nxagentSaveScreen but with a bla[cn]k image instead.

BTW: the screensaver file is just an XPM bitmap that can be viewed with display after removing the comments. Xnest will fill the whole display with this as a tile

sunweaver commented 4 years ago

Hi,

Am Samstag, 18. Januar 2020 schrieb Ulrich Sibiller:

In Xnest this image is used for the screenblanker. In contrast to nxagent Xnest takes care of blanking the screen in xnestSaveScreen() while nxagent leaves that to the dix. As nxagent is doing nothing in nxagentSaveScreen() it is clear that the screen blanking is not working with "prefer blanking: yes".

I don't think we should use the (ugly) screensaving image from Xnest. So dropping that file is ok from my POV. We should, however, add code like in xnestSaveScreen to nxagentSaveScreen but with a bla[cn]k image instead.

+1 from me.

Mike

-- Gesendet von meinem Sailfish Gerät