[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787279: d-i screen blanking (more info)



Hi,

I bumped into this issue when doing install tests under jenkins, and can
confirm that the dpms=false setting does not disable the screen blanking
on e.g. debian-8.4.0-amd64-netinst.iso

It seems that Xorg now has a -s option:

  -s #                   screen-saver timeout (minutes)

setting this to 0 appears to have solved the problem, by disabling
screen-blanking for the graphical install.

It's possible to work around this problem (in a somewhat kludgy manner)
by NOT setting dpms, and instead adding this to the command
line/preseed:

  preseed/early_command="echo DPMS=-s\\\\ 0 > /lib/debian-installer.d/S61Xnoblank"

(the \\\\ is probably an artefact of the way that I'm specifying this in
a ruby script, inside single quotes, so you probably only need a couple
of backslashes -- whatever it takes to get '-s\ 0' into the file.  This
works because it sets the DPMS environment variable which then gets used
as is in the Xorg command line as long as dpms is not also set on the
kernel command line.

In order to make the dpms stuff work again in future versions I'd think
that screen-blanking is really not helpful during install, so would set
DPMS="-s 0" or perhaps DPMS="-s 0 -dpms", by default, and also make it
so that is what's set when dpms=false is specified.

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature


Reply to: