From kwin Wed Aug 19 12:17:35 2009 From: Lubos Lunak Date: Wed, 19 Aug 2009 12:17:35 +0000 To: kwin Subject: Re: regarding bug #204211 and power saving (like #203985) Message-Id: <200908191417.35700.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kwin&m=125068441515308 On Tuesday 18 of August 2009, Thomas Lübking wrote: > I think it would indeed make sense to query DPMSInfo() once a second or so > while compositing, suspend compositing in case power_level != DPMSModeOn > (or maybe wait for DPMSModeSuspend) and poll DPMSInfo @ 0.5Hz (avoiding > useless CPU wakeups @ >= 60Hz) It should not be necessary anyway. See the handling of the VisibilityNotify, which IIRC is also generated by entering DPMS state. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org Lihovarska 1060/12 tel: +420 284 084 672 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin