Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
debugging DPMS
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Sat Aug 13, 2022 2:11 pm    Post subject: debugging DPMS Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Sat Aug 13, 2022 6:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sat Aug 13, 2022 7:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Mon Aug 15, 2022 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum