View previous topic :: View next topic |
Author |
Message |
curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1744
|
Posted: Sat Aug 13, 2022 2:11 pm Post subject: debugging DPMS |
|
|
I have two (very different) systems that recently have begun giving me the same problem - the screen won't blonk (or go to a lower power state) in X.
I have (I believe) DPMS set correctly:
Code: |
$ xset -q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000002
XKB indicators:
00: Caps Lock: off 01: Num Lock: on 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: 600 repeat rate: 50
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
built-ins,/home/user/.fonts
DPMS (Energy Star):
Standby: 600 Suspend: 900 Off: 1200
DPMS is Enabled
Monitor is On
|
I don't have any video players or (anything that should keep the screen active) running. Sometimes (as in now on one of the machines) the monitor will stay on forever. It might start working properly in a few days (or it might not). Does some way exist to look at the internals of DPMS "events" to determine the cause of this failure? Thank you in advance. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6144 Location: Dallas area
|
Posted: Sat Aug 13, 2022 6:10 pm Post subject: |
|
|
does the Xorg.log show anything when you set it and it doesn't go to sleep. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sat Aug 13, 2022 7:44 pm Post subject: |
|
|
DPMS is enabled by default by Xorg and this is verified by the output of xset q. Otherwise it would be Disabled. One thing I have remark with DPMS is that sometime it say that the screen is of when in fact it is on. So, if, for the DPMS extension of Xorg, the screen is off it will not try to blank the screen after the time configured resulting that the screen stay always on.
Can you blank the screen by
Code: | sleep 2 ; xset s activate |
_________________ Paul |
|
Back to top |
|
|
curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1744
|
Posted: Mon Aug 15, 2022 2:19 am Post subject: |
|
|
Anon-E-moose wrote: | does the Xorg.log show anything when you set it and it doesn't go to sleep. |
Absolutely nothing.
Logicien wrote: | Can you blank the screen by
Code: | sleep 2 ; xset s activate |
|
Yes, and I also tried:
Code: |
sleep 2 ; xset dpms force standby
|
which works as well. |
|
Back to top |
|
|
|