Author Topic: Monitor Power Control in 4.8  (Read 719 times)

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Monitor Power Control in 4.8
« on: August 17, 2012, 02:17:57 AM »
I've done the 4.8 upgrade, and sorted out the missing apps and changed settings, apart from one thing - the monitor turns Off - fully off, power, not dimming - after about 10-mins without user input.

I have checked every setting in KDE CC - no screensaver or other monitor power setting is enabled. I can't locate a power setting / timer, etc, in System CC.

After a Search here, I found the noblank.sh script - got it from Synaptic - it is pathed, reading, and saying 'Enabled' in KDE CC, but doesn't fix the problem.

An internet search brought up the DPMS problems many distros are having in 4.8. I've tried the xset / dpms in a terminal -
.......................
[david@localhost ~]$ xset dpms
[david@localhost ~]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  250    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        dfffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  1/10    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  catalogue:/etc/X11/fontpath.d,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension

[david@localhost ~]$ xset -dpms
[david@localhost ~]$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  XKB indicators:
    00: Caps Lock:   off    01: Num Lock:    off    02: Scroll Lock: off
    03: Compose:     off    04: Kana:        off    05: Sleep:       off
    06: Suspend:     off    07: Mute:        off    08: Misc:        off
    09: Mail:        off    10: Charging:    off    11: Shift Lock:  off
    12: Group 2:     off    13: Mouse Keys:  off
  auto repeat delay:  250    repeat rate:  30
  auto repeating keys:  00ffffffdffffbbf
                        fadfffefffedffff
                        dfffffffffffffff
                        fff7ffffffffffff
  bell percent:  50    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  1/10    threshold:  4
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  0    cycle:  600
Colors:
  default colormap:  0x20    BlackPixel:  0x0    WhitePixel:  0xffffff
Font Path:
  catalogue:/etc/X11/fontpath.d,built-ins
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Disabled
Font cache:
  Server does not have the FontCache Extension
[david@localhost ~]$
......................................
That appears to indicate that DPMS is Off - but while it temporarily stops the monitor off at 10-mins - it reverts after about 40-45 minutes. (This happens whether the terminal change is done as User or Root.)

On checking with - xset q - the third line from end has changed back to "DPMS is Enabled".

In a comment from that Distro which must remain nameless here - somebody described another 4.8 DPMS function with a 40-minute delay...  Can that be reverting the 'Disabled' setting - or, not relevant to it...?

In another place - a command with DPMS "Force Off" / "Force On" is mentioned - but, appears to be related to Startups and Shutdowns.

It seems that the unwanted Monitor Off problem affects some installs / hardware, and not others.

Mainboard - Gigabyte GA-MA770
CPU - AMD Phenom II X6 1055T
HDD - Seagate Technology 1000524AS (1TB)
RAM - 8GB DDR3

I don't even know whether I'm on the right track with hunting-down this hassle - but for the moment I've run out of things to try next... So some help would indeed be greatly appreciated....

Regards, Dave.
Registered Linux User #412504          Trainee Linuxer, jg

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11035
  • MLUs Forever!
Re: Monitor Power Control in 4.8
« Reply #1 on: August 17, 2012, 03:11:51 AM »
Have you had a look in the menu of the monitor?

I wonder if there is a setting in the monitor which is overriding anything you set in the PC ... don't know ....  just wondering ...


Quote
DPMS (Energy Star):
  Standby: 600    Suspend: 600    Off: 600



You can set those to whatever value you wish ...  or  off

This command

xset dpms 0 0 0

will set all three off giving this result

Quote
DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0


or if you wish you can give a long time out to any or all

xset dpms 1500 0 0

Quote
DPMS (Energy Star):
  Standby: 1500    Suspend: 0    Off: 0


I haven't met the problem, but would be inclined to set dpms to on, as above, and then control what it does with those settings, by editing the noblank script.

Worth a try I reckon ......  ;)



MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: Monitor Power Control in 4.8
« Reply #2 on: August 17, 2012, 03:45:41 AM »
Just18 - Thanks for that.

DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

Seems to give that result. Did it as User - if it doesn't 'stick' - do I try it as Root...?

Will watch a vid for a while - see what this does.

Regards, Dave.
Registered Linux User #412504          Trainee Linuxer, jg

Offline stealth

  • Hero Member
  • *****
  • Posts: 655
Re: Monitor Power Control in 4.8
« Reply #3 on: August 18, 2012, 06:55:09 PM »
I saw the same problem with the monitor going dark at 10 minutes. I just open CC go to Hardware > Power Management > Energy Saving Settings and checked dim display and set to its max of 360 minutes. Click apply closed CC logged out and back in no more problem.

I find this whole power thing very strange because I am running a desktop but the OS thinks I am running a laptop.
« Last Edit: August 18, 2012, 07:09:11 PM by stealth »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11035
  • MLUs Forever!
Re: Monitor Power Control in 4.8
« Reply #4 on: August 19, 2012, 03:33:15 AM »
Just18 - Thanks for that.

DPMS (Energy Star):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

Seems to give that result. Did it as User - if it doesn't 'stick' - do I try it as Root...?

Will watch a vid for a while - see what this does.

Regards, Dave.

Add the command to the noblank script and keep the script in ~/kde4/Autostart so that it is applied at log in.

MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT