Mailinglist Archive: opensuse (1897 mails)

< Previous Next >
Re: [opensuse] Disabling display power management
  • From: "Carlos E. R." <carlos.e.r@xxxxxxxxxxxx>
  • Date: Sun, 18 Jul 2010 12:57:20 +0200
  • Message-id: <4C42DE10.8060403@xxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-07-18 12:10, pistazienfresser wrote:
On 17/07/10 22:55, Carlos E. R. wrote:

I know how to disable power-off of the monitor, ie, dpms. It is an option in
the xorg file.

I have not tried jet but I think you could try to de-install the
programs for power management (or install an other program for that).


That could be problematic.


If you have a look at xorg.conf(5, you can see interesting things:


Option "BlankTime" "time"
sets the inactivity timeout for the blank phase of the screen-
saver. time is in minutes. This is equivalent to the Xorg
server's -s flag, and the value can be changed at run-time with
xset(1). Default: 10 minutes.

Option "StandbyTime" "time"
sets the inactivity timeout for the standby phase of DPMS mode.
time is in minutes, and the value can be changed at run-time with
xset(1). Default: 20 minutes. This is only suitable for VESA
DPMS compatible monitors, and may not be supported by all video
drivers. It is only enabled for screens that have the "DPMS"
option set (see the MONITOR section below).

Option "SuspendTime" "time"
sets the inactivity timeout for the suspend phase of DPMS mode.
time is in minutes, and the value can be changed at run-time with
xset(1). Default: 30 minutes. This is only suitable for VESA
DPMS compatible monitors, and may not be supported by all video
drivers. It is only enabled for screens that have the "DPMS"
option set (see the MONITOR section below).

Option "OffTime" "time"
sets the inactivity timeout for the off phase of DPMS mode. time
is in minutes, and the value can be changed at run-time with
xset(1). Default: 40 minutes. This is only suitable for VESA
DPMS compatible monitors, and may not be supported by all video
drivers. It is only enabled for screens that have the "DPMS"
option set (see the MONITOR section below).



Option "DPMS" "bool"
This option controls whether the server should enable the DPMS
extension for power management for this screen. The default is
to enable the extension.



But then, the desktop (KDE) can override these settings, thus the trick
Tom Taylor mentions could work if that is the case (xset s noblank -dpms)


However, all that should not be necessary. I understand the problem is that the
blanking occurs when
the OP is watching a video in Kaffeine. It is the responsability of kaffeine to
avoid the blanking
to occur, nobody should have to disable powersaving features (which are a good
thing).

Kaffeine can use either the xinelib engine or gstreamer. I know that one of the
expert
configurations of xine is that it can emulate a keypress. In the standar
xine-ui, go to settings,
gui, "screensaver reset interval", which by default is 10 seconds.

So, if kaffeine is interrupted by the screensaver (in full screen mode), it is
a bug you have to
report in Bugzilla. Whatever is the cause, it has to be resolved. It could
happen that xine-ui
doesn't integrate perfectly with kde, but kaffeine is a kde program, so it has
to handle this perfectly.


- --
Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 "Emerald" GM (Elessar))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkxC3hAACgkQU92UU+smfQU+kACfaEurHVvC6rWiIJK2eovrK/iz
iUYAn2a4ID67h7+D47A0GAcDvzxM536W
=N/Hn
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >