You are not logged in.
Hello,
I'm on gnome and I set screen turn off to 5 minutes. But sometimes screens are just black (not off). I figured out that this happen when a chromium web browser (I use Edge-dev) is open.
When I try xset dpms force off it shutdown then directly power on.
xset q output :
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: 500 repeat rate: 33
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: 0
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is OnI already read the wiki about xset and some thread but didn't find an answer...
Offline
Sanity check: is this an X11 session?
echo $XDG_SESSION_TYPEOffline
Yes it is
echo $XDG_SESSION_TYPE
x11Offline
It would seem that gnome controls the actual timeouts - if you pkill gnome-power-manager, can you then dpms force off?
Offline
Then the command work but the monitor wont sleep after X minutes (5 in my setting)
Offline
No, you would have to configure that
xset dpms 300 300 300(You can also use an xorg.conf.d configlet for this but gnome will likely nuke the value when it starts and you probably want to figure why gnome-power-manager doesn't sleep the screen)
Offline
So using the power settings from Gnome is cause this issues ? Why only with a Chromium browser ?
What could it be ? gnome-power-manager not updating xset ?
Last edited by KianoJajino (2021-08-05 04:46:20)
Offline
It would seem that gnome controls the actual timeouts - if you pkill gnome-power-manager, can you then dpms force off?
I just checked but gnome-power-manager isn't installed in my system
Also I've create a config file like the wiki said
ection "Monitor"
Identifier "LVDS0"
Option "DPMS" "true"
EndSection
Section "ServerFlags"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection
Section "ServerLayout"
Identifier "ServerLayout0"
EndSectionLast edited by KianoJajino (2021-08-05 04:44:32)
Offline
Then the command work
?
Though "pacman -F gnome-power-manager" is indeed void. I guess they moved the feature to mutter/systemd.
I hardly believe gnome uses xset and the config sets the DPMS timeouts to 0 (what means "never") - a state that existed before (likely because of gnome), which is why I assumed gnome would do its own little thing here.
If you explicitly configured this *before*, that assumption might have been wrong. In any event: remove that configlet.
So using the power settings from Gnome is cause this issues ? Why only with a Chromium browser ?
Chromium inhibiting the gnome power management w/ the wrong parameter or a bug on either side or …
The important part is that this is where you have to look for the bug, not the DPMS control in the X11 server.
Offline
I don't know why, sometimes everything work fine (screen sleep ans power off) with chromium open and sometimes no. I didn't change anything tho
Offline