Disabling display power management

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Disabling display power management

Dylan-13
Hi All,

I'm trying to disable the display power management, with absolutely no success
at all. I'm running 11.3, but have had this problem in various earlier
releases on various machines.

None of the settings in the power management module of System Settings seems
to have any effect. I have tried setting the kernel boot parameters apm=off
and acpi=off (which used to be necessary some years ago on some machines ...)

Basically, it's very annoying to have the screen blanking every 10 minutes,
especially when streaming TV or watching a DVD. So, does anyone know where I
might find the necessary setting(s) to disable the display power management
entirely?

I'm running 11.3 x86_64 with a Radeon HD 4350 graphics card.

Thanks

Dylan
--
“ ‘... but there is so much else behind what I say. It makes itself known to
me so slowly, so incompletely! ...’ ”
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-07-17 20:51, Dylan wrote:
> Hi All,

...


> Basically, it's very annoying to have the screen blanking every 10 minutes,
> especially when streaming TV or watching a DVD.

These tools should disable the blanking while they run. If they don't, and it is not configurable,
report the bug.

> So, does anyone know where I
> might find the necessary setting(s) to disable the display power management
> entirely?

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

- --
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/

iEYEARECAAYFAkxCGKsACgkQU92UU+smfQWSdACfZ8yjhcPOu4PUVLw3msH4zwPH
8+AAoIqG2RKVQ4mLZ5oIqrsTKS1+U2DW
=yH3a
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re[2]: Disabling display power management

Ansus

I have already reported long ago: https://bugzilla.novell.com/show_bug.cgi?id=581035

but seems nobody is interested to fix. This was the main reason i migrated from Ubuntu to SUSE and now the same problem of SUSE.

> > Basically, it's very annoying to have the screen blanking every 10 minutes,
> > especially when streaming TV or watching a DVD.
>
> These tools should disable the blanking while they run. If they don't, and it is not configurable,
> report the bug.
>
> > So, does anyone know where I
> > might find the necessary setting(s) to disable the display power management
> > entirely?
>
> I know how to disable power-off of the monitor, ie, dpms. It is an option in the xorg file.
>

--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-07-18 00:22, Илья Черных wrote:
>
> I have already reported long ago: https://bugzilla.novell.com/show_bug.cgi?id=581035
>
> but seems nobody is interested to fix. This was the main reason i migrated from Ubuntu to SUSE and now the same problem of SUSE.

Well, that bug report doesn't have sufficient info. You have to specify where and how exactly you
disable that feature, what desktop, etc. You will have to demonstrate that it is not user error,
because for other people apparently it works.

Bug solvers are busy people, so you have to facilitate their work. And fight for your bug.


But I was referring to another report. If, for example, you use "kaffeine" or "totem" to watch a
video, and it gets interrupted by the screensaver or display blanking, then report an specific bug
against totem or kaffeine. One by one. After you have searched that it is not a configuration of
that particular program.

- --
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/

iEYEARECAAYFAkxCM8AACgkQU92UU+smfQV3OQCaAyUrBbXRJehtSRymRI9qaBE3
S6AAn0GogewI3QRZxM7KxaN4viylZUzX
=iNvK
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Sebastian Gibb-3
In reply to this post by Dylan-13
Hello,

I have the same problem.
If you are using KDE 4.4 you can use the following script to simulate user
activity. IMHO it's a good workaround.

----
#!/bin/bash
# start applications
$* &

# simulate user activity every 30s while applications running
while jobs | grep -q Running
do
qdbus org.kde.krunner /ScreenSaver SimulateUserActivity
sleep 30
done
----
save it as "simulateUserActivity.sh"
call it:
./simulateUserActivity.sh kaffeine

kind regards,

Sebastian

Am Samstag, 17. Juli 2010, 20:51:42 schrieb Dylan:

> Hi All,
>
> I'm trying to disable the display power management, with absolutely no
> success at all. I'm running 11.3, but have had this problem in various
> earlier releases on various machines.
>
> None of the settings in the power management module of System Settings
> seems to have any effect. I have tried setting the kernel boot parameters
> apm=off and acpi=off (which used to be necessary some years ago on some
> machines ...)
>
> Basically, it's very annoying to have the screen blanking every 10 minutes,
> especially when streaming TV or watching a DVD. So, does anyone know where
> I might find the necessary setting(s) to disable the display power
> management entirely?
>
> I'm running 11.3 x86_64 with a Radeon HD 4350 graphics card.
>
> Thanks
>
> Dylan

--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Thomas Taylor
On Sun, 18 Jul 2010 00:55:40 +0200
Sebastian Gibb <[hidden email]> wrote:

> Hello,
>
> I have the same problem.
> If you are using KDE 4.4 you can use the following script to simulate user
> activity. IMHO it's a good workaround.
>
> ----
> #!/bin/bash
> # start applications
> $* &
>
> # simulate user activity every 30s while applications running
> while jobs | grep -q Running
> do
> qdbus org.kde.krunner /ScreenSaver SimulateUserActivity
> sleep 30
> done
> ----
> save it as "simulateUserActivity.sh"
> call it:
> ./simulateUserActivity.sh kaffeine
>
> kind regards,
>
> Sebastian
>
> Am Samstag, 17. Juli 2010, 20:51:42 schrieb Dylan:
> > Hi All,
> >
> > I'm trying to disable the display power management, with absolutely no
> > success at all. I'm running 11.3, but have had this problem in various
> > earlier releases on various machines.
> >
> > None of the settings in the power management module of System Settings
> > seems to have any effect. I have tried setting the kernel boot parameters
> > apm=off and acpi=off (which used to be necessary some years ago on some
> > machines ...)
> >
> > Basically, it's very annoying to have the screen blanking every 10 minutes,
> > especially when streaming TV or watching a DVD. So, does anyone know where
> > I might find the necessary setting(s) to disable the display power
> > management entirely?
> >
> > I'm running 11.3 x86_64 with a Radeon HD 4350 graphics card.
> >
> > Thanks
> >
> > Dylan
>

A slightly more elegant way is to add the following script into Start >
Configure Desktop > Advanced > Autostart:  /home/user/bin/Xscreen.sh

#! /bin/bash
# Xscreen.sh

xset s noblank -dpms

exit 0
# end Xscreen.sh

That's a dash (-) before the dpms.

Tom

--
Tom Taylor - retired penguin
openSuSE 11.3 x86_64
Fedora 13
KDE 4.4.4 rel 2, FF 3.6.6
claws-mail 3.7.6
registered linux user 263467
linxt-At-comcast-DoT-net
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Martin Seidler-2
In reply to this post by Carlos E. R.-2
On 17/07/10 22:55, Carlos E. R. wrote:
> On 2010-07-17 20:51, Dylan wrote:
>> Hi All,
>
> ...
>
>
>> Basically, it's very annoying to have the screen blanking every 10 minutes,
>> especially when streaming TV or watching a DVD.
Could you not use an other user (-profile) for watching TV and set in
the powermanagement the time higher (2-24 h) ?

>
> These tools should disable the blanking while they run. If they don't, and it is not configurable,
> report the bug.
>
>> So, does anyone know where I
>> might find the necessary setting(s) to disable the display power management
>> entirely?
>
> 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).

Good luck
pistazienfresser
--

- openSUSE 11.2 with GNOME 2.28.2 (or KDE 4.3.5) and Kernel Linux
2.6.31.12-0.2-default (or pae, Ubuntu 10.4 LTS 'lucid'
2.6.33-22-genetic, MS Win XP)
- Samsung X20 (SX20S) with Pentium M 740 (1730 MHz), Intel graphic
915GM, 1400x1050
- openSUSE profile: https://users.opensuse.org/show/pistazienfresser
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Carlos E. R.-3
-----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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re[2]: Disabling display power management

Ansus
> 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).

Please tell me how to disable power-off completely. I am fed up with it. Note for example of browser pluging which play video and do not prevent screen blanking. I wonder why I disabled all power saving features in Gnome and KDE and still the screen goes black after 10 minutes.

It is a hell when I watch a film with my girlfriend and have to move mouse periodically.
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: Disabling display power management

ne...-2
2010/7/18 Илья Черных <[hidden email]>:
>> 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).
>
> Please tell me how to disable power-off completely. I am fed up with it. Note for example of browser pluging which play video and do not prevent screen blanking. I wonder why I disabled all power saving features in Gnome and KDE and still the screen goes black after 10 minutes.
man xset if you haven't already been told this.

ne...
--
Registered Linux User # 125653 (http://counter.li.org)
Now accepting personal mail for GMail invites.
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

Carlos E. R.-2
In reply to this post by Ansus
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-07-18 13:20, Илья Черных wrote:
>> 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).
>
> Please tell me how to disable power-off completely.

I already wrote how to do it, or all I know about it. Please re-read my previous post.

> I am fed up with it. Note for example of browser pluging which play video and do not prevent screen blanking. I wonder why I disabled all power saving features in Gnome and KDE and still the screen goes black after 10 minutes.


I think that if the application is not full screen it will not disable the screen saver. Again,
report that as a bug in Bugzilla if you want it solved.

As it is a problem for you and I don't have that problem, it is you who has to report it.

- --
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/

iEYEARECAAYFAkxC6EcACgkQU92UU+smfQVm5wCeITOlruizZAo1/LFTEtHwsg10
qV8An1F/1JCA3Z0b6zLWrp3PNIoWQg3i
=DSv0
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Disabling display power management

David Haller-4
In reply to this post by Thomas Taylor
Hello,

On Sun, 18 Jul 2010, Thomas Taylor wrote:
[..]
>Configure Desktop > Advanced > Autostart:  /home/user/bin/Xscreen.sh
>
>#! /bin/bash
># Xscreen.sh
>
>xset s noblank -dpms
>
>exit 0
># end Xscreen.sh

Just the 'xset ..' in your ~/.xinitrc does the same trick (at the end,
with "Add your own lines" comment.

-dnh

--
        "And all those exclamation marks, you notice? Five? A sure
         sign of someone who wears his underpants on his head."
                        Terry Pratchett -- "Maskerade"
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]